Superpatterns

Pat Patterson on Identity Management, Federation and Single Malt Scotch
         

accessmanager adoption authentication bloggers burtongroup catalyst community extensions federation google identity libertyalliance lightbulb links opends openid opensource opensso php saml sdn security sso sun webservices
 
Roller Tip: #showNextPreviousControl()
[ ]

I noticed that, although there is a set of links at the top of my blog page to navigate by pages of content (that thing that says "<< Prev | Main | Next >>", or something similar), there isn't one at the bottom. It seems logical that, when you get to the bottom of a page of content, you'd want to go to the next without scrolling all the way up to the top of the page.

There used to be a macro, #showNextPreviousLinks(), that did this, but it now outputs just

   <!-- 
   showNextPreviousLinks() is no longer needed as next/prev links are 
   built-into the  macro.
   -->

I guess #showWeblogEntries() is supposed to go in that double-space gap between 'the' and 'macro'. BTW - thanks to the Roller team for doing this and not just silencing the macro - quality code!

A bit of googling searching using the Google search engine, tells me that there is a shiny new macro, called by #showWeblogEntries() that does exactly what I want - #showNextPreviousControl(). Slip it in after #showWeblogEntries() and there they are - navigation links at the bottom of the page. Cool!

@ 09:55 AM PST
 
 
 
Comments:

Post a Comment:

Comments are closed for this entry.
 

    OpenSSO - Get It Now

    Identity Management Buzz Podcast
    Stay connected to news, show notes and leave your feedback.
    Listening To
    Listen to Radio Pat
    www.flickr.com
    superpat7's photos More of superpat7's photos
    Technorati
Valid XHTML or CSS?
[This is a Roller site]
Original theme by Rowell Sotto. Heavily modified by Pat Patterson.