classic theme, display pages-nav also on top classic theme, display pages-nav also on top
 

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]

Main Menu

classic theme, display pages-nav also on top

Started by Enc0der, March 03, 2006, 01:41:27 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Enc0der

hi...

I'm using the (pretty self-modified..) classic theme.
I want to have the pages navigation bar (on the albums-list page, and maybe even on the thumbnails-list page [inside the album]) also on the top of the page, just below the statistics/breadcrumb..

any help? :-\

thanks! :)

Joachim Müller

by default, the menu is displayed on each page, soI don't understand the question in the first place. Post a link to your page and attach a screenshot to your reply that explains what section you refer to.

Enc0der

hi

I'm talking about the pages navigation bar..
The one that goes:
Quote184 albums on 23 page(s) 1 2 3 4 5 6 7 8 9 10 11 ... 23

Now, it is displayed only on the bottom of the page, after the current page's thumbnails.
I want to display it also on the top of the page, so the user won't have to scroll the entire page just to get to that pages-bar. also, a lot of people simply don't notice it when it's not on the top..

The two areas that splits into pages and have this pages-navigation bar are the albums-thumbnails ("specific category view", or "no category"), and the pictures-thumbnails ("specific album view").

By "on top" I mean before the thumbnails view..
On the albums-thumbnails page it's just after the statistics bar: "2645 files in 184 albums with 1349 comments viewed 366 times".
On the pictures-thumbnails page it's just after the breadcrumb ("Main -> Category name -> Album name") and before the album title&sort options.


On the pictures-thumbnails page I'v already added some of my custom stuff to that top place, with the "theme_display_thumbnails()" function. just before:

    if ($mode == 'thumb') {
        starttable('100%', $title, $thumbcols);
    } else {
        starttable('100%');
    }

    echo $header;


but,
a. I didn't find out how to add it to the albums-thumbnails as well
b. I don't know how to call the pages-navigation bar ("184 albums on 23 page(s) 1 2 3 4 5 6 7 8 9 10 11 ... 23") function..


did I make myself clear now? ;D

thanks for your help! :)

Joachim Müller

Instead of presenting a list of 23 album pages I suggest ordering your gallery using categories and sub-categories (that's what they're for). As a user of a page with such a chaotic structure as yours, I wouldn't bother to look deeper into it and leave, no matter if it's at the top or bottom of the page.

Enc0der

irrelevant.
it's a modding-gallery, and there's not suppose to be any sub-categories in it.
I'm not into "making the user stay". They will stay. They won't leave because of a 20+ pages gallery, it's suppose to be one large archive.
Moreover, I believe they'll actually leave if the gallery will use an annoying/useless/pointless sub-categories structure.. as I said, it's irrelevant.  :)

can you please help me out with this anyway? ;)

Joachim Müller

can't see the point why a modding gallery isn't allowed to have categories, however it's your choice ::). What you're up to would take some time to look into, which I'm not ready to spend (this is my choice).