Dragging a record from one list page to another?
13 posts by 2 authors in: Forums > CMS Builder
Last Post: July 14, 2008 (RSS)
By gkornbluth - July 12, 2008
The new record should be somewhere in the first page (of 100) records but I can't get it to go from position 115, which is on the second page, to position 10, which is on the first page.
Any ideas would be helpful.
Thanks
jery Kornbluth
Take advantage of a free 3 month trial subscription, only for CMSB users, at: http://www.thecmsbcookbook.com/trial.php
Re: [gkornbluth] Dragging a record from one list page to another?
By Dave - July 13, 2008
I see what you mean. We'll have to figure out a solution for that. How many records do you anticipate having in that section? Is it possible to sort by any other field?
Let me know some more details and we'll see what we can do to help!
interactivetools.com
Re: [Dave] Dragging a record from one list page to another?
By gkornbluth - July 13, 2008 - edited: July 13, 2008
There could be thousands of records for any given application. In my case, which is a membership directory, logic dictates sorting by last name. In the case of a product list, logic might dictate sorting by product number.
It's also a bit of a pain when after a record is modified, the list resets itself back to the top, forcing you to go through a number of steps just to modify the the next record on the list.
It would be nice if the list did not reset each time and also if the number of records displayed on a page did not reset to the default of 25 after each record modification.
Thanks,
Jerry
Take advantage of a free 3 month trial subscription, only for CMSB users, at: http://www.thecmsbcookbook.com/trial.php
Re: [gkornbluth] Dragging a record from one list page to another?
By Dave - July 14, 2008
If looks like the code that saves the last search, perpage, and page number value got broken in a recent release. What version are you on? I can send you an update to fix that - or we'll have it fixed in v1.20.
Hope that helps!
interactivetools.com
Re: [Dave] Dragging a record from one list page to another?
By gkornbluth - July 14, 2008
Thanks
Take advantage of a free 3 month trial subscription, only for CMSB users, at: http://www.thecmsbcookbook.com/trial.php
Re: [gkornbluth] Dragging a record from one list page to another?
By Dave - July 14, 2008
Try backing up, and then replacing, this file with the attached version:
/lib/menus/default/actionHandler.php
This should fix it so the last settings (perpage, keyword, page num) will be saved between viewings.
Next, if you edit (backup first) this file:
/lib/menus/default/list.php
You can add a new value to the perpage list. Just search for "100" and then add the code in red:
<option <?php selectedIf($listDetails['perPage'], '99')?>>99</option>
<option <?php selectedIf($listDetails['perPage'], '100')?>>100</option>
And that will allow you to get the record on a page where you can drag it past 100.
Hope that helps!
interactivetools.com
Re: [Dave] Dragging a record from one list page to another?
By gkornbluth - July 14, 2008
When I went to modify a record I got the following error message...
Fatal error: Call to undefined function __() in /hsphere/local/home/apbcweb/artistsofpalmbeachcounty.org/cmsAdmin/lib/menus/default/actionHandler.php on line 40
J
Take advantage of a free 3 month trial subscription, only for CMSB users, at: http://www.thecmsbcookbook.com/trial.php
Re: [gkornbluth] Dragging a record from one list page to another?
By Dave - July 14, 2008
Upgrade to 1.19 and then try again and it should work fine.
interactivetools.com
Re: [Dave] Dragging a record from one list page to another?
By gkornbluth - July 14, 2008
http://www.interactivetools.com/docs/cmsbuilder/upgrade.html
The Devil is in the Details...
Thanks,
Jerry
Take advantage of a free 3 month trial subscription, only for CMSB users, at: http://www.thecmsbcookbook.com/trial.php
Re: [gkornbluth] Dragging a record from one list page to another?
By gkornbluth - July 14, 2008
Take advantage of a free 3 month trial subscription, only for CMSB users, at: http://www.thecmsbcookbook.com/trial.php