Catalogue vars

Define multiple catalogs, each with their own custom field types

Moderators: thyon, xtra

Catalogue vars

Postby Remi » Tue Mar 09, 2010 6:26 pm

Hi

How can I get a list of catalogue environment variables for exemple to output the name of a catalogue in the page template.

Thanks
Remi
User
 
Posts: 10
Joined: Thu Feb 25, 2010 10:33 pm

Re: Catalogue vars

Postby thyon » Wed Mar 31, 2010 6:47 am

enter this into your catalog_xxx.tpl template (which is in the manual as well)

Code: Select all
<!-- <?php print_r($this); ?> -->

This will output the $this variable between comments in your HTML source.
User avatar
thyon
Developer
 
Posts: 722
Joined: Wed Jun 10, 2009 10:02 pm
Location: Cape Town, South Africa


Return to catalog

Who is online

Users browsing this forum: No registered users

cron