Add a "Home" menu or button at the bottom of each page Add a "Home" menu or button at the bottom of each page
 

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 a "Home" menu or button at the bottom of each page

Started by Maxgallery, January 17, 2012, 09:53:14 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Maxgallery

At the top of each page their is a text menu that you can click on to navigate something like

Home > your album > Christmas pictures

So you go to the page "Christmas pictures"  look at the pictures get to the bottom of the page and their is a "Jump to page" thing so you go to the next page while your at the bottom of the page, when you get to the last page their is no link to get you back to "your album" or to "Home" you have to scroll all the way back up to the top of the page to find this link. Home > your album > Christmas pictures

So how can the links like found at the top of each page also be shown at the bottom of each page so users dont have to waste their time scrolling back up to the top just to navigate?

Follow me I am not sure if I am using the right wording or terminology to describe what I mean.

I think the link at the bottom would make things more fluid.

This would be a simple 'add some code' thing or does something like this open a big can of worms and create problems?

Thanks in advance.

ΑndrĂ©

Open index.php, find
                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);
                    }
                    break;

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



Then, open the Coppermine config, find "The content of the main page" and add
/breadcrumb
right after
alblist