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, biapar, Willr, Ingo, swaiba, simon_w

gallery-v0.2.3 navigation bug


Reply

488 Views

Avatar
VMARK

6 August 2010 at 2:41pm (Last edited: 6 August 2010 2:49pm), Community Member, 5 Posts

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>
<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>
<div id="Next">
<a rel="nextPage" href="/silverstripe/property-0/?stage=Live&amp;start=32" title="View the next page">Next &gt;</a>
                  
</div>
<div class="clear"><!-- --></div>

-----------
cheers

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