Advanced search  

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

Pages: [1]   Go Down

Author Topic: Changing the Breadcrumb  (Read 6233 times)

0 Members and 1 Guest are viewing this topic.

Walkinman

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 380
    • Skolai Images - Nature, Travel and Adventure stock photos
Changing the Breadcrumb
« on: April 08, 2006, 11:21:29 pm »

hello,

I'm trying to tweak my newly installed cpg, and all I wnt it to function as is a slide show for maybe 10 galleries. I don't want the galleries to link to each other, or to a main index.php. you can see the first of these pages here:

http://www.alaskanalpinetreks.com/slideshows/displayimage.php?album=1&pos=0

In the breadcrumb I want to remove the word "Home", as well as the ">" symbols, and make the remaining 2 items "Alaskan Alpine Treks trips Slide Show" and "Skolai Pass Trip" not act as links .. just be text phrases. Possibly with a little more space between them.

I also want to remove all the menu items at the to of the page . if the moderators want me to start a new thread for that request, just let me know and I'll do that.

Thank you.

Cheers

Carl
« Last Edit: April 09, 2006, 10:26:57 pm by Nibbler »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Changing the Breadcrumb
« Reply #1 on: April 09, 2006, 10:31:26 am »

if the moderators want me to start a new thread for that request, just let me know and I'll do that.
Exactly - one issue per thread!
Logged

Walkinman

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 380
    • Skolai Images - Nature, Travel and Adventure stock photos
Re: Changing the Breadcrumb
« Reply #2 on: April 09, 2006, 05:32:31 pm »

Hey GauGau,

Done, sorry.

What I want with the breadcrumb, is for it to display the album name, an dthe categories, but I don't want for those to link back to anything. Just be plain text. Is that possible?

I appreciate your help, thank you.

Cheers

Carl
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Changing the Breadcrumb
« Reply #3 on: April 09, 2006, 08:48:52 pm »

to remove "Home" you can comment line 1560 of functions.inc.php under include directory of gallery
Code: [Select]
        $breadcrumb_links[0] = '<a href="index.php">'.$lang_list_categories['home'].'</a>';
or you can put this insted , to make it text (Unlink)
Code: [Select]
$breadcrumb_links[0] = $lang_list_categories['home'];
also you can do this to line 1566 to make "categories" Unlink
change this
Code: [Select]
  $breadcrumb_links[$cat_order] = "<a href=\"index.php?cat={$category[0]}\">{$category[1]}</a>";
to
Code: [Select]
$breadcrumb_links[$cat_order] = "{$category[1]}";
have fun with your gallery ;)
« Last Edit: April 09, 2006, 08:59:34 pm by bmossavari »
Logged
‍I don't answer to PM with support question
Please post your issue to related board

Walkinman

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 380
    • Skolai Images - Nature, Travel and Adventure stock photos
Re: Changing the Breadcrumb
« Reply #4 on: April 09, 2006, 10:10:16 pm »

Hey Bmossavari,

Thanks - I managed to do that, and it works fine. Do you know how I can remove the '>' and replace it with ' - '?

I'll post another thread to get the next and prev buttons in the same bar, if that's possible.

Thanks again.

Cheers

Carl
Logged

Nibbler

  • Guest
Re: Changing the Breadcrumb
« Reply #5 on: April 09, 2006, 10:19:15 pm »

Look in the function breadcrumb in include/functions.inc.php, towards the end. There seems to be a way to change it through the theme system too, but I'm not exactly sure how that works.
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Changing the Breadcrumb
« Reply #6 on: April 09, 2006, 10:20:29 pm »

change line 1589 of functions.inc.php from
Code: [Select]
$breadcrumb .= ' > ' . $breadcrumb_link;
to
Code: [Select]
$breadcrumb .= ' - ' . $breadcrumb_link;
or any other Character that you want
Logged
‍I don't answer to PM with support question
Please post your issue to related board

Walkinman

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 380
    • Skolai Images - Nature, Travel and Adventure stock photos
Re: Changing the Breadcrumb
« Reply #7 on: April 09, 2006, 10:25:32 pm »

Hey guys,

That worked perfectly, thank you for your help. This thread can be marked solved.

Cheers

Carl
Logged

gregy

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: Changing the Breadcrumb
« Reply #8 on: July 09, 2006, 02:16:48 pm »

Hi!

Another one who needs help :)

I would like to remove Hits Rates, Comments, Favourites .. from breadcrumb

Where can i remove them?

thanx
Logged

Nibbler

  • Guest
Re: Changing the Breadcrumb
« Reply #9 on: July 09, 2006, 02:18:22 pm »

Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Changing the Breadcrumb
« Reply #10 on: July 09, 2006, 11:48:41 pm »

Locking
Logged
Pages: [1]   Go Up
 

Page created in 0.031 seconds with 19 queries.