Jump to:

10994 Posts in 2728 Topics by 1819 members

All other Modules

SilverStripe Forums » All other Modules » gallery-v0.2.3 navigation bug

Discuss all other Modules here.

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

Page: 1
Go to End
Author Topic: 481 Views
    Community Member
    5 Posts

    gallery-v0.2.3 navigation bug Link to this post

    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
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.