Layout of "Last updated albums" Layout of "Last updated albums"
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Layout of "Last updated albums"

Started by prokops, July 09, 2010, 04:09:34 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

prokops

Hi ..

Read up on the docs, the theme.php sample and the forum in order to resolve my issue, but no luck.

Basically I want to edit the theme in my theme.php in order to output "Last updated albums" as I see fit. From what I can gather, this particular part of my theme uses elements of "$template_thumbnail_view" among others, but there is no central html to edit that I can find. I wish to make cosmetic changes like among others things to remove the album count and move the upload date up by the title, change the way the font is displayed and so on. My question is where the HTML for this is being generated and how I would go by implementing the changes I mentioned in my "theme.php".

I would also like to thank the dev's for doing a great job on Coppermine, I am very impressed over the 1.5x version.

gallery: http://www.prokop.dk/gallery

Joachim Müller

What you appear to request is both a change in business logic as well as layout, so you probably won't get away with editing theme.php only - you will probably need to edit Coppermine's core. The term
Quote from: prokops on July 09, 2010, 04:09:34 PMBasically I want to edit [...] [the] output [of] "Last updated albums" as I see fit.
is a bit vague. Please specify what exactly you want to see changed: is it the "lastup" section that you have specified in "the content of the main page" or is it the actual meta album that display the last upload images in itself (http://www.prokop.dk/gallery/thumbnails.php?album=lastup)? What exactly do you want to see changed? Is wrapping it into a container and specifying different CSS not enough?
You have to understand that the different meta albums can't be given different layouts using elements of theme.php alone - the logic resides in other place.
You might want to zip your custom theme folder for a start and attach the zip to your next posting.