Welcome, Guest
Username: Password: Remember me

TOPIC: Conditions inside the templates or php code execution

Conditions inside the templates or php code execution 3 years 3 months ago #61929

  • lgos
  • lgos's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 2
  • Karma: 0
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
The administrator has disabled public write access.

Re: Conditions inside the templates or php code execution 3 years 3 months ago #61951

  • lgos
  • lgos's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 2
  • Karma: 0
anyone know how to run php inside the theme file? Or is there a way to print dynamic content somehow?
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.082 seconds
Donation Image