Add to the Breadcrumb Bar Add to the Breadcrumb Bar
 

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

Main Menu

Add to the Breadcrumb Bar

Started by Walkinman, April 09, 2006, 10:13:06 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Walkinman

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

Sami

send your theme to this thread i will do the change for you ...you need to change theme.php of your theme
‍I don't answer to PM with support question
Please post your issue to related board

Walkinman

Hello Bmossavari,

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

Thanks again.

Cheers

Carl

Sami

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

        <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

<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

<td colspan="3" align="left" class="tableh1"><span class="statlink"><b>{BREADCRUMB}</b></span></td>

3. go to line 2252

'{NEXT_TGT}' => $next_tgt,

and put this BEFORE it

'{BREADCRUMB}' => $breadcrumb,

4.and for the final task you should find line 2169

    global $album, $cat, $pos, $pic_count, $lang_img_nav_bar, $lang_text_dir, $template_img_navbar;

and change it to

    global $album, $cat, $pos, $pic_count, $lang_img_nav_bar, $lang_text_dir, $template_img_navbar,$breadcrumb;

hope this work fine :)
‍I don't answer to PM with support question
Please post your issue to related board

Walkinman

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

Nibbler

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

Walkinman

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

Sami

#7
Quote from: Walkinman 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
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 .
‍I don't answer to PM with support question
Please post your issue to related board

Walkinman

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

Sami

#9
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

‍I don't answer to PM with support question
Please post your issue to related board

Walkinman

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