TemplatePages_Instructions()
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. This function is called with the parameters:

·l.module   set to OPENUI_TOKENS  

The return value should be a '1' if l.module is OPENUI_TOKENS, or '0' if it's anything else.

<MvFUNCTION NAME="TemplatePages_Instructions" PARAMETERS="module" STANDARDOUTPUTLEVEL="text,html,compresswhitespace">  
   <MvIF EXPR="{l.module EQ 'OPENUI_TOKENS'}">  
      <FONT SIZE="-1" FACE="Arial, Helvetica">  
      Use the token <b>%module|cim_vol|1|%</b> where you want the price table to be displayed.  Do not use the add form in Volume Pricing if   
      you are using the Category Template feature to add multiple products at once.  
      </FONT>  
      <MvFUNCTIONRETURN VALUE = "1">  
   </MvIF>  
 
   <MvFUNCTIONRETURN VALUE = "0">  
</MvFUNCTION>  

 


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