templates.add

/ Core / templates.add

Add a Template to the Active Module

Syntax :

[templates.add template_name]
/**
*
**** code ****
*
**/

[templates.add /]

Example:

[templates.add save_details]  
  [session_ticket.create nonce=yes set=module.ticket_id /]  
  [arr.create set="module.collection"] 
    [post_type]m_psuedo_poetry[/post_type]
  [/arr.create]
  [session_ticket.set_activity {module.ticket_id} collection='{module.collection}' module='{module.slug}.save_form' /] 
[/templates.add]
Categories
Most Popular

Leave a Reply

Your email address will not be published. Required fields are marked *