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: Add to the Breadcrumb Bar  (Read 9042 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
Add to the Breadcrumb Bar
« on: April 09, 2006, 10:13:06 pm »

Hey Folks,

I'm trying to make the nav stuff take up less room on these pages, and I want to place the 'prev' and 'next' buttons, along with the File Info, all in the breadcrumb bar, then I can remove the nav bar. Is that possible, and can someone offer to show me how to do that?

An example page is here:

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

Thank you.

Cheers

Carl
« Last Edit: April 10, 2006, 10:58:01 pm by Nibbler »
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Add to the Breadcrumb Bar
« Reply #1 on: April 09, 2006, 10:48:50 pm »

send your theme to this thread i will do the change for you ...you need to change theme.php of your theme
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: Add to the Breadcrumb Bar
« Reply #2 on: April 09, 2006, 11:03:04 pm »

Hello Bmossavari,

Thank you, that's very generous of you. Here's the text file for my theme (classic)).

Thanks again.

Cheers

Carl
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Add to the Breadcrumb Bar
« Reply #3 on: April 10, 2006, 12:10:26 am »

okey let see what can we do
we are going to modify theme.inc.php so please take backup from this file and ready to go
1.please remove line 256-257-258
Code: [Select]
        <tr>
                <td colspan="3" align="left" class="tableh1"><span class="statlink"><b>{BREADCRUMB}</b></span></td>
        </tr>
please remove don't comment.
2.now find line 659
Code: [Select]
<td align="center" valign="middle" class="navmenu" width="48">
                        <a href="{PREV_TGT}" class="navmenu_pic" title="{PREV_TITLE}"><img src="{LOCATION}images/prev.gif"  border="0" align="middle" alt="{PREV_TITLE}" /></a>
                </td>
and put these code BEFORE it
Code: [Select]
<td colspan="3" align="left" class="tableh1"><span class="statlink"><b>{BREADCRUMB}</b></span></td>
3. go to line 2252
Code: [Select]
'{NEXT_TGT}' => $next_tgt,
and put this BEFORE it
Code: [Select]
'{BREADCRUMB}' => $breadcrumb,
4.and for the final task you should find line 2169
Code: [Select]
    global $album, $cat, $pos, $pic_count, $lang_img_nav_bar, $lang_text_dir, $template_img_navbar;
and change it to
Code: [Select]
    global $album, $cat, $pos, $pic_count, $lang_img_nav_bar, $lang_text_dir, $template_img_navbar,$breadcrumb;
hope this work fine :)
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: Add to the Breadcrumb Bar
« Reply #4 on: April 10, 2006, 04:48:53 pm »

Hey Bmossavari,

Thanks for your help. I made all the adjustments you've recommended here, but I don't see any changes to the page. Is there something else that must be done for these to run?

The page still appears the same:

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

I appreciate your help.

Cheers

Carl
Logged

Nibbler

  • Guest
Re: Add to the Breadcrumb Bar
« Reply #5 on: April 10, 2006, 05:23:51 pm »

Don't edit themes.inc.php, edit your theme.php
Logged

Walkinman

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 380
    • Skolai Images - Nature, Travel and Adventure stock photos
Re: Add to the Breadcrumb Bar
« Reply #6 on: April 10, 2006, 06:43:41 pm »

Hey Nibbler,

Thanks. Should I reload the original themes.inc.php? If so, how do I then apply those changes to themes.php?

Thanks for your help.

Cheers

Carl
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Add to the Breadcrumb Bar
« Reply #7 on: April 10, 2006, 09:12:41 pm »

Hey Bmossavari,

Thanks for your help. I made all the adjustments you've recommended here, but I don't see any changes to the page. Is there something else that must be done for these to run?

The page still appears the same:

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

I appreciate your help.

Cheers

Carl
did you do exacly as i said , it's work for me!!!!
I see the problem you should also change your theme.php you should delete lines from 26 to 80 all of them....(if you still use the theme.php that you send to this thread) and also do the modification .
« Last Edit: April 10, 2006, 09:22:19 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: Add to the Breadcrumb Bar
« Reply #8 on: April 10, 2006, 09:24:43 pm »

Hey Bmossavari,

Thanks. I made the changes exactly as you said. Now I deleted the stuff intheme.php. It works, but not exactly. I still need to remove the thumbnails, the slideshow button, and the file Info button. What I want is the breadcrumb to display "Alaskan Alpine Treks Trip Slide Shows - Skolai Pass trip", the File 4/20, and the previous and next buttons. Preferably in that order.

I'm also concerned after Nibbler said NOT to edit the themes.inc.php file.

Thanks for your patience and help.

Cheers

Carl

PS: here's how it looks now:

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

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Add to the Breadcrumb Bar
« Reply #9 on: April 10, 2006, 09:48:33 pm »

Nibbler is right , i'm going to send you a new theme.php with all modification , so please after all put back your orginal theme.inc.php
wait for updating this post ....

Update:Now you can use this theme.php insted of yours also you should change your orginal function.inc.php as mentioned on http://forum.coppermine-gallery.net/index.php?topic=30180.0 to make Unlink the Home and change > to other character

« Last Edit: April 10, 2006, 10:22:53 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: Add to the Breadcrumb Bar
« Reply #10 on: April 10, 2006, 10:48:03 pm »

Hey Bmossavari,

Thank you, that worked perfectly. Thanks so much for your help, I really appreciate it.

Mods - This thread can be marked solved.

Cheers

Carl
Logged
Pages: [1]   Go Up
 

Page created in 0.028 seconds with 20 queries.