help: showing parent category on album list page help: showing parent category on album list page
 

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]

Main Menu

help: showing parent category on album list page

Started by fennell, April 23, 2004, 08:12:01 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

fennell

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


Joachim Müller

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

fennell

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