View Full Version : vertical navigation thumbs problem
-okapi-
02-20-2005, 09:04 AM
i'm currently working on a layout with vertically displayed navigation thumbs on the image_template page (instead of horizontally by default).
the problem is, that with a vertical display, the thumb of the newest image is displayed at the bottom, which is a logical result, but wouldn't be considered to be logical by visitors.
now i would like to reverse the display order of the thumbnails, so that the thumbnail of the newest image is displayed on top. (with a horizontal display this would be the left thumbnail, instead of the right by default).
but - this change should only affect the DISPLAY of the navigation thumbs, not the general sort order (which would also affect "previous", "next" and "archive")!
how can this be achieved?
raminia
02-20-2005, 06:06 PM
try this
use a table or div (what you use for verticalize it) wih right to left dierction dir='rtl'
it may correct it.
Ramin
update:
NOPE!:)
UPDATE2:
I think you may write your addon for that but I don't recommend;) I thinking about Connie's warnings about getting things out of hand with many new different codes. you can to it for youself though;)
you just need to change the while loop which produces horizontal thumbs to add new tags at the top of the last one not at the bottom.
-okapi-
02-20-2005, 06:19 PM
unfortunately this doesn't work.
i suppose, as the navigation thumbnails are actually one tag (one element), the sort order can't be changed by formatting.
:cry:
-okapi-
02-21-2005, 12:01 PM
UPDATE2:
I think you may write your addon for that but I don't recommend;) I thinking about Connie's warnings about getting things out of hand with many new different codes. you can to it for youself though;)
you just need to change the while loop which produces horizontal thumbs to add new tags at the top of the last one not at the bottom.
i wish i could...
:(
yes, i'm aware of the problem with too many hacks of the core code, but i can't see any problem with addons, the hard work of the coder apart.
:wink:
faraari
06-13-2005, 11:21 PM
but - this change should only affect the DISPLAY of the navigation thumbs, not the general sort order (which would also affect "previous", "next" and "archive")!
i dont mind if that happens, or let me say its at least better than having the oldest thumb at top.
do you know how to do that?
thanks by advance.
-okapi-
06-14-2005, 04:41 AM
it's already included in version 1.4.1:
the tag is: <IMAGE_THUMBNAIL_ROW_REV>
and it doesn't affect the sort order of the archives.
but actuallly only the descending sort order makes sense for the archives,
otherwise it would always start with the very first image uploaded!
faraari
06-14-2005, 06:34 AM
thanks! i didnt know that.
vBulletin® v3.7.3, Copyright ©2000-2013, Jelsoft Enterprises Ltd.