Best of joomla gives you news, joomla templates, tutorials and websites about Joomla , FireBoard and FireMessage official page.
| No account yet?   |
The FireBoard forum component development is still going on. In order to get better, FireBoard will be moved from the Best of Joomla website.
During this transition period, the forum in Best of Joomla will be closed to new posts.
Welcome, Guest
Please Login or Register.    Lost Password?
FireBoard Manual Latest release discussions Download FireBoard
(SOLVED) Problem with page nav in admin (1 viewing) (1) Guest
TOPIC: (SOLVED) Problem with page nav in admin
#44980
(SOLVED) Problem with page nav in admin 10 Months, 2 Weeks ago  
I posted this information in another thread, but figure that it might be of general interest to others.

Problem: the page nav buttons on the user list weren't working. They caused a js error message to the effect that document.adminform.limitstart had no properties.

Reason: limitstart wasn't defined as part of the form.

Cure: add after the definition of a form with the name = "adminForm".

The file is ../administrator/components/com_fireboard|admin.fireboard.html.php

The particular function that was bugging me was:

[code:1]function showProfiles($option, $mosConfig_lang, &$profileList, $countPL, $pageNavSP, $order, $search)
{

... php snipped ...



[/code:1]

Seems to me to working now.

Marty
moleski (User)
Fresh Boarder
Posts: 8
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
 
#47529
Re:(SOLVED) Problem with page nav in admin 9 Months, 3 Weeks ago  
A fix that worked for me is to modify the legacy plugin.

File: plugins/system/legacy/pagination.php

Find Original Line
[code:1]
function writeLimitBox($link = null) {
echo $this->getLimitBox();
}
[/code:1]

Change To
[code:1]
function writeLimitBox($link = null) {
echo $this->getLimitBox() . "<input type="hidden" name="limitstart" value="".$this->limitstart."" />";
}
[/code:1]

This fixed the pagination for all of my legacy plugins. Your results may vary, I guarantee nothing.
jsibanez (User)
Fresh Boarder
Posts: 1
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
Last Edit: 2008/03/21 20:46 By jsibanez.
 
 
#47531
Re:(SOLVED) Problem with page nav in admin 9 Months, 3 Weeks ago  
I like your solution better than mine.

We're doing the same thing--adding limitstart to the document in a hidden field--but I see that your approach is much more powerful.

Thanks.
moleski (User)
Fresh Boarder
Posts: 8
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
 
Go to top