Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Template  (Read 2660 times)

0 Members and 1 Guest are viewing this topic.

ambros

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Template
« on: October 29, 2005, 12:07:42 pm »

Hi. I would like to use another template for file 'displayimage.php' as for the rest of the files. How can I replace the template path in 'displayimage.php', or where is the template path configured?

Thanks for your help.

Ambros Peer
Logged

Abbas Ali

  • Administrator
  • Coppermine addict
  • *****
  • Country: in
  • Offline Offline
  • Gender: Male
  • Posts: 2165
  • Spread the PHP Web
    • Ranium Systems
Re: Template
« Reply #1 on: October 29, 2005, 12:26:04 pm »

Template is set in include/init.inc.php  To use a different template for displayimage.php modify init.inc.php to check whether the current script is displayimage.php and if yes then set the template accordingly.
Logged
Chief Geek at Ranium Systems
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 19 queries.