News:

CPG Release 1.6.29
During HTML5 upload, keep pseudo blank code 200 messages from triggering error condition
added Russian language
correct failure to use theme menu icons in album manager
minor vulnerabilities mitigation

Main Menu

Breadcrumb less recrusive than the thumb link?

Started by Sebastian Bach, June 23, 2005, 06:00:55 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Sebastian Bach

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

Nibbler

For anyone else who wants this:

(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


TheOhmster

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

Thanks.

Tranz

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.

TheOhmster

Ohhh, a breadcrumb trail. I get it, thanks.  :D