Jump to:

10930 Posts in 2613 Topics by 1810 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: 471 Views
  • VMARK
    Avatar
    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>
    <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
    471 Views
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.