Check out the LimeSurvey source code on GitHub!

Conditions inside the templates or php code execution

More
5 years 7 months ago #61929 by lgos
Is it possible to run php inside the templates or any conditional statements via templating language used by the system?
For example, I would like to display an information box if {QUESTIONHELP} is not empty. My <div> container is styled with CSS and even if {QUESTIONHELP} is empty it will show up.

Also, I would like to move the navigation above the help box, how can I do it?
Where is the main template including others so I could change an order without any change to the core?

Thanks for any help.
Lucas

Please Log in to join the conversation.

More
5 years 7 months ago #61951 by lgos
anyone know how to run php inside the theme file? Or is there a way to print dynamic content somehow?

Please Log in to join the conversation.

Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form