cotonti.com : variable inside {FILE construction https://www.cotonti.com Последние сообщения в теме Cotonti en Sun, 14 Dec 2025 11:32:35 -0000 Eugene the same...

So, does it work on other sites or it's a bug?

]]>
пн, 30 янв 2012 18:59:02 -0000
Trustmaster Quotes are mandatory in FILE path. Try

{FILE "{PHP.foo}"}
]]>
пн, 30 янв 2012 10:46:02 -0000
Eugene thanks, man!

I didn't check that double brackets will work...

...
but as checked, I see that text inside of {FILE become "static" - example

$foo = '"themes/nemesis/inc/agro.tpl"';

line in template: {FILE {PHP.foo} }

browser give me: {FILE "themes/nemesis/inc/agro.tpl" } - but not the content of agro.tpl - which is the function of {FILE ,,

]]>
пн, 30 янв 2012 08:54:05 -0000
Trustmaster {FILE "themes/nemesis/inc/{PHP.foo}.tpl"} ]]> пн, 30 янв 2012 08:16:52 -0000 Eugene Is there a way to include PHP variable (from module or plugin) inside construction {FILE "themes/nemesis/foo.tpl"}  ?

like if $foo changing value and i put {FILE "themes/nemesis/inc/$foo.tpl"}

]]>
пн, 30 янв 2012 07:45:44 -0000