Change position of the route shown. Change position of the route shown.
 

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

Change position of the route shown.

Started by Tano*87, January 18, 2011, 03:31:04 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Tano*87

Hi guys I'm working on a new layout and I was trying to change position to the route table. As the example:

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fi51.tinypic.com%2F5w9qfo.jpg&hash=7d73c96aaf8b6974826ac66bf675c4a810d3e2de)

Αndré

Please don't hotlink pictures. I've attached your hotlinked picture to this reply.

I think what you try to change is the breadcrumb?

Tano*87

Yeah I would like to change the position of it.
I was trying to change it from the theme.php of the template...but no success.

Αndré

Please post a link to your gallery and describe what exactly you want to move to which place(s).

Tano*87

The template is not online...I'm working on it...and I'm previewing it with the "index.php?theme=theme_name" option.
I just want that table to be shown under the table of the album title in the thumbnails page...

My standard gallery is right here: http://www.breatheonbritney.it/gallery/ but I don't want the changes to be done in the current template.

Αndré

It seems to be a tricky task to move the breadcrumb below the album title row. As you can see the breadcrumb is created in thumbnails.php by that function:
theme_display_breadcrumb($breadcrumb, $cat_data);

and the album title row including the thumbnails by that function:
display_thumbnails($album, (isset($cat) ? $cat : 0), $page, $CONFIG['thumbcols'], $CONFIG['thumbrows'], true);

display_thumbnails (include/functions.inc.php) calls the function theme_display_thumbnails (include/themes.inc.php), which outputs the album title row by that function:
starttable('100%', $title, $thumbcols);

It should be possible to accomplish your goal by using the output buffer functions, but unfortunately you have to manually apply core code modifications after each Coppermine update.

Another option would be to create a plugin which moves the breadcrumb, but this will be a performance penalty.

Tano*87

I'll try it for my next theme.
I hope it'll work!

Thanks so much :D