Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Change position of the route shown.  (Read 3553 times)

0 Members and 1 Guest are viewing this topic.

Tano*87

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 38
Change position of the route shown.
« on: January 18, 2011, 03:31:04 pm »

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

(http://i51.tinypic.com/5w9qfo.jpg)
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Change position of the route shown.
« Reply #1 on: January 18, 2011, 03:35:00 pm »

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

I think what you try to change is the breadcrumb?
Logged

Tano*87

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 38
Re: Change position of the route shown.
« Reply #2 on: January 18, 2011, 03:43:21 pm »

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.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Change position of the route shown.
« Reply #3 on: January 18, 2011, 03:47:31 pm »

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

Tano*87

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 38
Re: Change position of the route shown.
« Reply #4 on: January 18, 2011, 03:52:51 pm »

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.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Change position of the route shown.
« Reply #5 on: January 19, 2011, 09:41:36 am »

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:
Code: [Select]
theme_display_breadcrumb($breadcrumb, $cat_data);
and the album title row including the thumbnails by that function:
Code: [Select]
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:
Code: [Select]
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.
Logged

Tano*87

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 38
Re: Change position of the route shown.
« Reply #6 on: January 19, 2011, 11:31:53 pm »

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

Thanks so much :D
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 20 queries.