Different "template" for different categories Different "template" for different categories
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

Different "template" for different categories

Started by trekcore, June 09, 2013, 11:59:47 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

trekcore

Hi all.
Is it possible to vary the template based on the category that is being displayed?

Simplifying my scenario - I have photos of 7 products, each with their own category. I want to add an image banner to the footer of each gallery linking to Amazon so the reader can buy the product they are looking at.

Is this possible?

ΑndrĂ©

Should be quite easy. Which theme do you use in your gallery? Do I understood correctly, that you just want display a different banner and link at the footer - the rest doesn't change (colors, styling, etc.)? I assume that banner has to be displayed at each product's album list, thumbnail and intermediate-sized pages. Please also post a link to your gallery.