coppermine-gallery.com/forum

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: fennell on April 23, 2004, 08:12:01 AM

Title: help: showing parent category on album list page
Post by: fennell on April 23, 2004, 08:12:01 AM
I have a page that displays the top level albums for a category, and I wish to show the category its in. See the attached picture, I want the bit where i have "want to show.." to have the category as displayed in the last part of the breadcrumb above it.

I editing the function theme_display_album_list in themes.php and want to extract it from there ideally.

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.slingfings.com%2Ftemp%2Fgallery.jpg&hash=c9293d0a0220724ef02fdebe38b1f5e05bde1a13)

Any help appreciated.
Cheers Mark
Title: Re: help: showing parent category on album list page
Post by: fennell on May 02, 2004, 11:32:10 AM
*bump*
?
Title: Re: help: showing parent category on album list page
Post by: Joachim Müller on May 02, 2004, 11:34:15 AM
sorry, I didn't understand what you actually want to do, please put it in other words (may be a language issue, my first language isn't English, sorry).

GauGau
Title: Re: help: showing parent category on album list page
Post by: fennell on May 02, 2004, 11:49:28 AM
Thanks gaugau.
Ok if you look at the picture above it is a category page that displays the albums with the thumbnails.
On that Image there is some text "Want to show the category here!" I want that text to be replaced with the name of the
category that this page is in.

That is, if you look at the breadcrumb, the last category there is "New South Wales"
this is the text I want to put into the space where I have written "Want to show the category here!"
Does that make more sense?

Thanks for your help. Its been quite fun hacking around with it and making it look cool