ajaxian theme and mis-alignment of next/last on page 2 onwards

krunk
krunk's picture

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:
http://gallery.krunk4ever.com/v/misc/?g2_page=1
http://gallery.krunk4ever.com/v/misc/?g2_page=2

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!

AttachmentSize
ajaxian_page1.png210.49 KB
ajaxian_page2.png473.96 KB
 
krunk
krunk's picture

Joined: 2006-08-19
Posts: 26
Posted: Sun, 2007-04-22 22:56

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.

 
krunk
krunk's picture

Joined: 2006-08-19
Posts: 26
Posted: Sun, 2007-04-22 23:09

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.

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Mon, 2007-04-23 01:55

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