photo.tpl how to get the item number for use on a php script
|
alan_bourne
Joined: 2008-02-28
Posts: 1 |
Posted: Thu, 2008-02-28 22:26
|
|
Hi i was just wondering if anyone could help. The problem i am having is that i have created my own php script to use within gallery 2 to create a custom next, back, and random image. Is there a way, in the 'matrix' theme 'photo.tpl' to get/set a variable in php that is from the current image? So if im on photo id 250 .... i can say (in php) $thecurrentpagenumber = ????????? If anyone can help it would be much apreciated. Regards Alan |
|
| Login or register to post comments |

Posts: 28
{$theme.item.id}
is this you are luking 4 ?