Not Solved PHP in Templates and Template Conditionals
#33
Not Solved
It would be great, and for security, if you could use just one function, to include short snippets (or whatever they are called) form a certain folder.

So if you want to have this script inside:

if($var1=$var2)
     {
     blub
     }
else
     {
      bläh
     }

you can't write it in your Template, but in a certain folder, and include it at a position of your coice via special tag (like {%filename})

So you have to have access to the webspace to include this php-snippets, and not just access to the ACP
Reply


Messages In This Thread
RE: PHP in Templates and Template Conditionals - by Antagonist - 2009-06-03, 10:43 AM
RE: Template conditionals - by expat - 2015-01-31, 05:28 AM

Forum Jump:


Users browsing this thread: 69 Guest(s)