At the moment we are displaying news with paginations switched on,
which correctly shows the page numbers at the bottom. When a user
clicks a link (for example page 4), it takes them to that page
correctly.

If the user then navigates away and returns to the default homepage
for the news (without a pageruleNews= URL parameter), then the user
still ends up back on page 4, (or whatever page they last looked at
when they were browsing the news).

The problem is we want clicking the home news link to take them back
to page 1.

There appears to be a "bStickyPages" variable in the farPagination.cfc
code for farcry cms, however this is by default 'False' and even
setting it to 'false' when calling doesn't seem to work.  Is this a
bug?  Is bStickyPages accidentally being considered true even when it
isn't?

Any ideas on how we can reset back to page 1 when no pageruleNews=
parameter is in the URL?  We're using 5.2.3 of FarCry core.  This is
the code calling our pagination block:

        <ftlocal:pagination
                paginationID="ruleNews"
                qRecordSet="#q#"
                typename="dmNews"
                pageLinks="10"
                recordsPerPage="#stobj.numitems#"
                Top="false"
                Bottom="true"
                renderType="">

                <ft:paginateLoop r_stObject="stNews" >
                        <cfoutput>
                                <li class="hentry">
                        </cfoutput>
                        <skin:view objectid="#stNews.objectid#" 
typename="dmNews"
webskin="#stObj.displaymethod#" />
                        <cfoutput>
                                </li>
                        </cfoutput>
                </ft:paginateLoop>
        <cfoutput>
                </ol>
        </div>
        </cfoutput>
        </ftlocal:pagination>

--~--~---------~--~----~------------~-------~--~----~
You received this message cos you are subscribed to "farcry-dev" Google group.
To post, email: [email protected]
To unsubscribe, email: [email protected]
For more options: http://groups.google.com/group/farcry-dev
--------------------------------
Follow us on Twitter: http://twitter.com/farcry
-~----------~----~----~----~------~----~------~--~---

Reply via email to