TemplatePages_Token()
See also: TemplatePages Interface (old)
Return to Introduction  Previous page  Next page

*** This is an old interface that is currently retained for backward compatibility and will eventually be phased out in a future release of the OpenUI. It is in your best interest to convert any existing code over to the new OpenObjects interface.

This function gets called when the module token is included by the admin. It uses the format:

%VAR(oui_module|tokencode)% (preferred)  
 
%VAR(module|tokencode)%  

This function is called with the parameters:

·l.module   set to OPENUI_TOKENS  
·l.pos      set to the specified value of tokencode  

The return value is the output "value" (or HTML) of this token.

<MvFUNCTION NAME="TemplatePages_Token" PARAMETERS="module,pos" STANDARDOUTPUTLEVEL="">  
   <MvIF EXPR="{l.module EQ 'OPENUI_TOKENS'}">  
      <MvIF EXPR = "{ l.pos EQ 'xxx' }">  
         <MvASSIGN NAME = "l.showpricetable" VALUE = "{ShowPriceTable_Translate_Form_To_String()}">  
         <MvFUNCTIONRETURN VALUE = "{l.showpricetable}">  
      </MvIF>  
   </MvIF>  
 
   <MvFUNCTIONRETURN VALUE = "">  
</MvFUNCTION>  

 


Send feedback on this documentation.
© 2004 - 2000 Darren Ehlers & OpenUI Developer Consortium