how to edit {title} for displayimage?? how to edit {title} for displayimage??
 

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

how to edit {title} for displayimage??

Started by dk, June 01, 2006, 12:35:25 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

dk

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

dk

Hiya guys?
Anyone might be able to help me out with this please?

Paver

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.