just put this at the very bottom os user_center.tpl:
{php}
Global $page_size, $rows;
do_pages($rows, $page_size, getmyurl("user2", $user_login, $view));
{/php}
![]() |
| | LinkBack | Thread Tools | Display Modes |
| |||
| [bug fix] add pagination to user profile |
| ||||
|
NICE! Any way that this can be tweaked to work with topstories_center.tpl too?
|
| ||||
|
Right, I borrowed this line from the bottom of shakeit_center.tpl Code: do_pages($rows, $page_size, getmyurl("shakeit")); // show the "page" buttons at the bottom
Code: do_pages($rows, $page_size, getmyurl("topstories")); // show the "page" buttons at the bottom
I don't think the problem came with my tweaking here. I tried deleting this line again, and the same stories get mentioned on the first/only top stories page, page buttons or not. Also, I see that eg. 3d has the same problem (or feature?) on his site http://www.inboxnews.com/topstories. Last edited by jackdaw; 07-08-2006 at 09:51 AM.. |
| ||||
|
Hmm, the last three pages are totally blank, when I use my page button 'solution' above. Are those the discarded stories, or something like that ? (and by the way... I now stumbled upon this post where ngrad does the exact same tweaking as me. So I guess it is in the right direction) Last edited by jackdaw; 07-08-2006 at 09:50 AM.. |
![]() |
« Previous Thread
|
Next Thread »
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| User Profile & Community | jacksparrow | Module Requests | 3 | 03-16-2008 11:56 PM |
| After successful registration user cannot directed toward profile page | aryan3 | General Help | 0 | 11-14-2007 12:58 PM |
| No pagination for stories in profile | kbeeveer46 | Bug Report | 0 | 08-07-2006 01:22 AM |
| How can I add new fields to user profile | gragland | General Help | 0 | 07-18-2006 12:03 AM |
| [bug fix] discarded stories are dipalyed in user profile | gragland | Bug Report | 0 | 07-04-2006 05:18 PM |




Linear Mode

