Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Different "template" for different categories  (Read 2603 times)

0 Members and 1 Guest are viewing this topic.

trekcore

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Different "template" for different categories
« on: June 09, 2013, 11:59:47 am »

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?
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Different "template" for different categories
« Reply #1 on: August 21, 2013, 03:18:27 pm »

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.
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 21 queries.