Tiled Categories Tiled Categories
 

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

Tiled Categories

Started by MaidenFan, October 05, 2008, 10:10:13 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

MaidenFan

I'm running up a Coppermine install for a web design client (link) and they've asked that the categories be made to tile like the albums.

As far as I know this isn't possible with the default CPG theme (which is the one I'm using) but are there any code hacks I can play around with to get the second-level categories to tile?

Cheers in advance for any help!
MF

Nibbler

This has been discussed only recently. Search the board.

MaidenFan

Hi Nibbler,
Thanks for the help, I've read this thread and this thread and neither do what I'd like to achieve.

Gallery hierarchy is this:
First Level Category --> Second Level Category --> Album

No first level categories have albums inside them, only second level categories. Ideally I'd like the layout to be this:

-------------------------------------------------------
First Level Category
-------------------------------------------------------
Second Level Category  | Second Level Category
Second Level Category  | Second Level Category
-------------------------------------------------------
First Level Category
-------------------------------------------------------
Second Level Category  | Second Level Category
Second Level Category  | Second Level Category
[ ... ad infinitum ... ]


Basically it's exactly the same as the albumlist view, but with categories instead.

Apologies if I haven't explained it that well :)

MaidenFan

Just taken a more detailed look into the HTML output using Marius' code, to looks like the {CAT_THUMB} marker is still outputting a table cell which is screwing the layout up slightly.

I've tried searching a few files for where the {CAT_THUMB} code is defined, but I can't find it. Any help here is appreciated :)