How to get the template_dir from within format=""

Get help with installation and running PivotX 2.0.x here. Please do not post Extension or Theme related questions here.

How to get the template_dir from within format=""

Postby xzjia » Sat Aug 01, 2009 6:06 pm

I know that you can print the template directory using [[ $template_dir ]]

But how do you get the same value from within the [[ pagelist ]] tag, where I want to insert it into the format="" part, so that I can automatically grab images from the images directory to replace the menu text.

I'm doing this because I'm using images for menu items, and naming the images the same as the URI of the pages, so that I can use %uri% to dynamically reference those images, however now I'm left unable to find the corresponding %x% for the [[ $template_dir ]] tag.

Posts: 110
Joined: Tue Dec 11, 2007 6:26 pm

Return to 2.x Support Forum

Who is online

Users browsing this forum: No registered users and 10 guests