Breadcrumb on Main Page v.1.4.9 Breadcrumb on Main Page v.1.4.9
 

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

Breadcrumb on Main Page v.1.4.9

Started by ktdt00, September 22, 2006, 11:17:46 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ktdt00

Hello,

I've searched high and low...

I have "breadcrumb" listed on the Config | Album List View | The content of the Main Page section (eg. breadcrumb/catlist/alblist) but the breadcrumb does not actually show on the main page. I want it to because I am integrated with PHPBB and I have modified the breadcrumb array so that it always begins with a pointer back to the main board (per several other posts here).

There is an article explaining how to do this for v.1.3.x but it does not work for v.1.4.x. I've tried to extrapolate the solution from 1.3 to 1.4 without success. Per the manual it would appear as though this should just work - given that "breadcrumb" is a choice to have displayed on the main page. Still, I've read several posts from folks that indicate the breadcrumb is not supposed to appear on the main page regardless of what the instructions say.

I didn't know if this was a themes/skins/templates issue or an integration issue but the description of this topic seemed to fit better than the other so I chose it.

Any assistance would be appreciated.

My gallery is at www.campstockton.com/coppermine if you want to have a look.


Tranz

Why don't you have a link to the forum in the system links instead of the breadcrumb? I think having it as you want would be confusing, and add clutter as you drill down deep into the gallery.

ktdt00

Hello and thanks for your response.

If by "system links" you mean the links at the top of the page I have already done that.

The majority of navigation in PHPBB is breadcrumb driven so folks don't normally look up there.

Thanks again!!


Sami

open up  index.php and find these lines ( around 778~780) :

case 'breadcrumb':
                        // Added breadcrumb as a separate listable block from config
                        if (($breadcrumb != '' || count($cat_data) > 0) && $cat != 0) theme_display_breadcrumb($breadcrumb, $cat_data);


and remove && $cat != 0 from if statment  so those line should be look like these:


case 'breadcrumb':
                        // Added breadcrumb as a separate listable block from config
                        if ($breadcrumb != '' || count($cat_data) > 0) theme_display_breadcrumb($breadcrumb, $cat_data);


I don't have my test bed to test it
hope it will work for you ....
‍I don't answer to PM with support question
Please post your issue to related board

wkdwich

Just to help someone else out.. the code as posted was close.. missing {

                case 'breadcrumb':
                    // Added breadcrumb as a separate listable block from config
//                    if (($breadcrumb != '' || count($cat_data) > 0) && $cat != 0) {
//                        theme_display_breadcrumb($breadcrumb, $cat_data);
if ($breadcrumb != '' || count($cat_data) > 0) {
theme_display_breadcrumb($breadcrumb, $cat_data);
                    }
                    break;