bug with the tabs bug with the tabs
 

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

bug with the tabs

Started by Konstantinos, July 21, 2005, 02:43:38 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

Konstantinos

i have set the tabs display to 12 . as u see i do have 12 tabs but it doesnt show the correct order the 12 is missing and the 13 is showing

Nibbler

This isn't a bug, the first and last tabs are always displayed.

Konstantinos

the last is supposed to be tab no 12 which is not displayed. instead tab 13 is displayed although is not supposed to since i have max tabs 12

Nibbler


Konstantinos

i have set the maximum number of tabs to be 12 as u can see from the screenshot the tab no12 is missing. it goes from the 11th to the 13th tab

umpqua5

I think what Nibbler is trying to say is that the first and last tab will ALWAYS be there. So if you had a total of 48 tabs, the ordere displayed would be
1,2,3,4,5,6,7,8,9,10,11,48, if you are at the beginning of your tabs. if you were somewhere in the middle it may show 1,32,33,34,35,36,37,38,39,40,41,48. so the last and first will always be there. if you cut your allowed number of tabs to 5, then you'll see 1,2,3,4,13 (since you have a total of 13 tabs).

On the other hand, I could be completely wrong at trying to figure out what Nibbler is trying to say;)

kegobeer

If we only displayed 12, and you had 100 pages, a visitor would have to click the 12th tab 7 times before the last tab was available.  That's why the first and last tabs are always visible (and are counted as two of the 12 tabs on the screen.)
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

Tranz

Maybe the last tab should be represented with a "last" text or an icon like >| or >> and vice versa for the first tab. Or there should be a visual separation. It does look confusing to a visitor to see the tabs like that.

This is what I did with the Viper guestbook skin.

Joachim Müller

1) umpqua5's explanation is correct, thank you for pointing this out to Konstantinos
2) I agree that there should be a better way of handling the last tab (as suggested by TranzNDance), but this would be a feature request then, as we have a feature freeze for cpg1.4.x. In fact, I was planning to add the "previous/next mod" to cpg1.4.x when there hasn't been a feature freeze yet, but I failed to make it bug free before the feature freeze started, so I decided to schedule this for cpg1.5.x