08-19-2012, 02:52 PM
10-04-2012, 03:31 AM
Hi all, sorry for my english, I speak spanish.. I want to do some like this in the menu of header template:
PHP Code:
|
I try to put the part of the conditional so, but it not work
PHP Code:
|
How should be placed?
Help me please
10-04-2012, 08:04 AM
Remove the "<?php" and "?>" parts in the second piece of code above.
10-07-2012, 03:18 AM
Is there a way to allow php scripts to be ran in only one template only?
..for this plugin, upon activation, how does it allow php to be run in all templates?
And can we use the same method to only allow php to be run in one template only?
..for this plugin, upon activation, how does it allow php to be run in all templates?
And can we use the same method to only allow php to be run in one template only?
10-07-2012, 11:47 AM
(10-07-2012 03:18 AM)Lilly Wrote: [ -> ]Is there a way to allow php scripts to be ran in only one template only?What's the point in doing that?
10-08-2012, 08:17 AM
If so, I fail to understand the "obvious reason".
I might guess that the person thinks it increases security or something? It most certainly doesn't.
I might guess that the person thinks it increases security or something? It most certainly doesn't.
12-15-2012, 09:38 PM
Hello,I am using 1.9 version of this plugin,as I can see there is a change here like <if , <elseif , </func> etc.
And on 1.9 I use simple PHP syntax,if I will upgrade will I have to manually find my php codes and change them?
And on 1.9 I use simple PHP syntax,if I will upgrade will I have to manually find my php codes and change them?
12-15-2012, 10:04 PM
I don't believe so.
01-06-2013, 09:26 AM
PHP in Templates randomly started throwing this error at me.
[attachment=917]
The most recent thing I did was add this code to my header_welcomeblock_moderator template:
[attachment=917]
The most recent thing I did was add this code to my header_welcomeblock_moderator template:
PHP Code:
|
Though I fail to see how that could cause this issue, especially since I deleted it afterwards. The issue vanishes when PHP in Templates is deactivated, however doing so causes my index page to be blank.