How to call ParentID of Item to build a URL.
|
darklikemysoul
Joined: 2009-08-14
Posts: 4 |
Posted: Wed, 2009-11-04 11:46
|
|
Hi there, i trying to mod the x_treme theme so that the slideshow icon link at photo level opens a simple viewer slide show. simple viewer is setup and working, and i can locatet where to update the url in the for the nav icons the only problem im having is calling the item ID as the item i need to call is the parent of the item i am viewing.... the link needs to go /main.php/show/*parentID however i can't find the right call to populate the item ID needed, e.g. the item i am viewings parent. any tips would be greatly recieved. many thanks James |
|
| Login or register to post comments |

Posts: 2669
{if $theme.pageType == 'album'} {$theme.item.id} {elseif $theme.pageType == 'photo'} {$theme.parent.id} {/if}-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2