I havea number of news articles set to display 5 at the time...
At the top (org. template) the news module will then display a "Page x of xx > >>"
so far correct.... now I paged through to one of the following pages, click on a news
article to display the full article in the {content} and when that gets displayed, the
"Page x of xx" is back to "page 1 of xx", instead of remaining on "Page 3 of xx".
Q: where to fix this so it will stay on the n't page of xx's newspage summary listings.
SM... Thanks in advance
News module: "page x of xx line
Re: News module: "page x of xx line
...have the same problem... clicking "back" link on any page always give me 1 page in current category
Last edited by stainless on Thu Apr 24, 2008 3:50 am, edited 1 time in total.
Re: News module: "page x of xx line
The pagination functionality is not implemented in the 'detail' view of the News module. I am affraid there is no quick hack to implement this.
To make a patch:
- open /modules/News/action.default.php
- make the pagination code a generic function
- call the pagination function from the 'detail' + 'overview' action
- add the pager code from the summary template to the detail template
- support your changes back to the community
.
To make a patch:
- open /modules/News/action.default.php
- make the pagination code a generic function
- call the pagination function from the 'detail' + 'overview' action
- add the pager code from the summary template to the detail template
- support your changes back to the community
.