ajaxian theme and mis-alignment of next/last on page 2 onwards
krunk
Joined: 2006-08-19
Posts: 26 |
Posted: Sun, 2007-04-22 22:51 | |||||
I was wondering if anyone's experienced this with the ajaxian theme? I just upgraded to the latest Gallery (2.2.1) and noticed the ajaxian theme was rather cool. However, please take a look at the bottom next/last link one the following pages: From page 2 onwards, the next/last links are shifted a bit down. I wonder if it has to do with the first/previous link being introduced into that box. It feels like there should be simple fix. If anyone can help me out, I'd really appreciate it. You can also see attached screenshots to see What I'm seeing Thanks!
|
||||||
Posts: 26
looking at the code, it seems like the top and bottom have them in reverse order.
top:
<div class="next-and-last">
<a href="/v/misc/?g2_page=3" class="next">next</a><a href="/v/misc/?g2_page=99" class="last">last</a>
</div>
<div class="first-and-previous">
<a href="/v/misc/" class="first">first</a> <a href="/v/misc/" class="previous">previous</a>
</div>
bottom:
<div class="first-and-previous">
<a href="/v/misc/" class="first">first</a> <a href="/v/misc/" class="previous">previous</a>
</div>
<div class="next-and-last">
<a href="/v/misc/?g2_page=3" class="next">next</a><a href="/v/misc/?g2_page=99" class="last">last</a>
</div>
maybe I should just find out where these guys are written and swap them.
Posts: 26
fixed the bug.
in /themes/ajaxian/templates/album.tpl, the top shows:
{g->block type="core.Navigator" navigator=$theme.navigator reverseOrder=true}
but the bottom only shows:
{g->block type="core.Navigator" navigator=$theme.navigator}
I added the reverseOrder=true to the bottom, and that fixed it.
Posts: 27300
Please file a bug report so it does not get lost:
http://sourceforge.net/tracker/?group_id=7130&atid=107130
Thanks
_____________________________________________
Blog & G2 || floridave - Gallery Team