Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

All other Modules /

Discuss all other Modules here.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

gallery-v0.2.3 navigation bug

Go to End



Community Member, 5 Posts

6 August 2010 at 2:41pm

Edited: 06/08/2010 2:49pm

Hey all when I am using the gallery for images the navigation at the bottom goes funny and does not work. also, it seems to display photos that do not exist if i have fewer photos than are allowed on the page. what's going on? would appreciate any help.

the code that is generated for the nav is:

<div id="NavigationBar">
<div id="Previous">

<div id="PageNumbers">

<span class="currentPage">1</span>

<a href="/silverstripe/property-0/?stage=Live&amp;start=32" title="<% sprintf(_t('PAGENUMBER'),2) %>">2</a>

<a href="/silverstripe/property-0/?stage=Live&amp;start=64" title="<% sprintf(_t('PAGENUMBER'),3) %>">3</a>

<div id="Next">
<a rel="nextPage" href="/silverstripe/property-0/?stage=Live&amp;start=32" title="View the next page">Next &gt;</a>

<div class="clear"><!-- --></div>


oh and here is a picture of what's happening attached. notice the nav pages when there shouldn't be any pages and also the empty images.

Attached Files