coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: dk on June 01, 2006, 12:35:25 PM

Title: how to edit {title} for displayimage??
Post by: dk on June 01, 2006, 12:35:25 PM
Hi,
Please could anyone help me in editing the title for display image page. My current gallery setup is:

Category1 -> album1 -> images

I want the display image page title (<title>foo</title>) to read:
Image title - Album name - category name

Currently it reads:
Image title - Album name - site name

I dont mind if the title remains as per the default coppermine naming convention.

Anyone? I am using the water_drop theme. Thank you in advance

DK
Title: Re: how to edit {title} for displayimage??
Post by: dk on June 07, 2006, 03:42:03 PM
Hiya guys?
Anyone might be able to help me out with this please?
Title: Re: how to edit {title} for displayimage??
Post by: Paver on June 07, 2006, 04:32:37 PM
Take a look at the theme customization for the function pageheader().  (Copy it from themes/sample/theme.php if you don't have it in your current theme.  You should make a copy of the waterdrop theme, if you plan to customize it so you have the default one available.)

If you want the {TITLE} only to be changed for displayimage.php and not other pages, use such an if statement:
if (defined('DISPLAYIMAGE_PHP')) {

In the future, please give days - ideally, up to a week - for a response.  Bumping a thread is just rude to everyone else waiting for a response and it clutters support requests.

edit: Oh, sorry, never mind.  You did give 6 days for a response.  I was looking at another thread and got confused.