Creative elements code in popup pro module

 Hi there, I just bought the module because I saw that it gave the possibility to insert shortcodes as content. On my shop I use Creative elements to create page and section templates. What I would like to do is insert a shortcode in the popup (for example: {hook h='CETemplate' id=15}) that shows a section template created with Creative elements. But so far I have not had any luck. Where am I going wrong? Thanks for the support

The rich contents editor does not allow to paste the any server-side code like smarty, php.
Editor included to popup pro module works the same like product page editor works, category editor, cms page contents editor etc. YOu can use there only pure html, javascript and css - the languages that are executed in browser (not on server side like language like smarty / php etc.)
to achieve what you expect (run hook {hook h='CETemplate' id=15}) you need to use smarty templates editor. A tool that module has as a feature, it's available here: `

  1. click on "smarty templates editor" button to spawn the editor popup window
  2. create new template:  with name - let's say: CETemplate and hit save button
  3. go back to "edit templates" tab to see list of created templates - edit your new CETemplate\
  4. paste your code to run hook to contents of template and save it after save click "back" to see list of templates
  5. copy shortcode code:
  6. ans paste it to popup contents: 


that's all. From now popup will execute the smarty code you typed - so hook will be executed :) 

Share on Google Plus


This is a short description in the author block about the author. You edit it by entering text in the "Biographical Info" field in the user admin panel.
    Blogger Comment


Post a Comment