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: Breadcrumb less recrusive than the thumb link?  (Read 3141 times)

0 Members and 1 Guest are viewing this topic.

Sebastian Bach

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Breadcrumb less recrusive than the thumb link?
« on: June 23, 2005, 06:00:55 am »

Is it possible to make the breadcrumb link to the gallery the same as the thumbnail folder link (now the breadcrumb doesn't have the page number, but the little folder icon sends you back to the correct page).
« Last Edit: June 27, 2005, 12:25:40 am by TranzNDance »
Logged

Nibbler

  • Guest
Re: Breadcrumb less recrusive than the thumb link?
« Reply #1 on: June 24, 2005, 07:15:23 pm »

For anyone else who wants this:

Code: [Select]
(18:10:22) Tommy: ok, i got it
(18:10:47) Tommy: include/functions.inc.php
(18:10:49) Tommy: find
(18:10:50) Tommy: function breadcrumb
(18:11:28) Tommy: and add $pos to the list after global
(18:11:51) Tommy: and change
(18:11:52) Tommy: $link = "<a href=\"thumbnails.php?album=".$CURRENT_ALBUM_DATA['aid']."\">".$CURRENT_ALBUM_DATA['title']."</a>";
(18:11:54) Tommy: to
(18:12:00) Tommy: $link = "<a href=\"thumbnails.php?album=".$CURRENT_ALBUM_DATA['aid']."&page=$page\">".$CURRENT_ALBUM_DATA['title']."</a>";
(18:12:27) Tommy: and above that line, add
(18:12:28) Tommy: $page = ceil(($pos + 1) / ($CONFIG['thumbrows'] * $CONFIG['thumbcols']));
(18:12:32) Tommy: and that should do it
Logged

Sebastian Bach

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: Breadcrumb less recrusive than the thumb link?
« Reply #2 on: June 27, 2005, 12:19:40 am »

thanks again.
Logged

TheOhmster

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 16
Re: Breadcrumb less recrusive than the thumb link?
« Reply #3 on: June 27, 2005, 01:02:01 am »

'scuse me if this sounds dumb, but what exactly is "breadcrumb", other than that stuff you use to make meatloaf?  ???

Thanks.
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: Breadcrumb less recrusive than the thumb link?
« Reply #4 on: June 27, 2005, 01:07:46 am »

It looks like this:
Home > Category > Album

It tells you where you are as well as where you were... like breadcrumbs on a path in the forest.
Logged

TheOhmster

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 16
Re: Breadcrumb less recrusive than the thumb link?
« Reply #5 on: June 27, 2005, 05:00:06 am »

Ohhh, a breadcrumb trail. I get it, thanks.  :D
Logged
Pages: [1]   Go Up
 

Page created in 0.014 seconds with 15 queries.