custom PHP in template
|
stefansjs
Joined: 2009-07-01
Posts: 1 |
Posted: Wed, 2009-07-01 17:47
|
|
My question is not so much of a problem, but a request for explanation that I can't find elsewhere. I'm trying to include a php function (specifically the banner and navigation) into my gallery. I've found how to change my theme.tpl to include any html I'd like, but I'd like to put some php code that I use for the rest of my website. Gallery version = 2.2.4 core 1.2.0.6 |
|
| Login or register to post comments |

Posts: 9283
This should work:
{php}
PHP CODE HERE
{/php}
http://www.smarty.net/manual/en/language.function.php.php
http://smarty.net/
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here