 |

gkornbluth
User
Jul 12, 2008, 6:25 PM
Post #1 of 13
(670 views)
Shortcut
|
|
Dragging a record from one list page to another?
|
Can't Post
|
|
Maybe it's just late, but I'm having trouble dragging a record from one list page to another. 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
|
|
|  |
 |

Dave
Staff
/ Moderator

Jul 13, 2008, 1:16 PM
Post #2 of 13
(631 views)
Shortcut
|
|
Re: [gkornbluth] Dragging a record from one list page to another?
[In reply to]
|
Can't Post
|
|
Hi Jery, 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! Dave Edis - Senior Developer interactivetools.com
|
|
|  |
 |

gkornbluth
User
Jul 13, 2008, 3:16 PM
Post #3 of 13
(622 views)
Shortcut
|
|
Re: [Dave] Dragging a record from one list page to another?
[In reply to]
|
Can't Post
|
|
Thanks for addressing this issue. 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
(This post was edited by gkornbluth on Jul 13, 2008, 3:19 PM)
|
|
|  |
 |

Dave
Staff
/ Moderator

Jul 14, 2008, 10:18 AM
Post #4 of 13
(418 views)
Shortcut
|
|
Re: [gkornbluth] Dragging a record from one list page to another?
[In reply to]
|
Can't Post
|
|
You might want to hard code searching based on one of the fields rather than have drag sorting. What I can do for drag sorting is add another larger value or value such as 33 to let you drag between multiples of 100. 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! Dave Edis - Senior Developer interactivetools.com
|
|
|  |
 |

gkornbluth
User
Jul 14, 2008, 10:58 AM
Post #5 of 13
(415 views)
Shortcut
|
|
Re: [Dave] Dragging a record from one list page to another?
[In reply to]
|
Can't Post
|
|
I'm on 1.18 but I'm due to go live this week and this is a sore point with my client. Thanks
|
|
|  |
 |

Dave
Staff
/ Moderator

Jul 14, 2008, 11:06 AM
Post #6 of 13
(412 views)
Shortcut
|
|
Re: [gkornbluth] Dragging a record from one list page to another?
[In reply to]
|
Can't Post
|
|
Hi Jerry, 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! Dave Edis - Senior Developer interactivetools.com
|
|
Attachments:
|
actionHandler.php
(4.26 KB)
|
|
|  |
 |

gkornbluth
User
Jul 14, 2008, 12:04 PM
Post #7 of 13
(407 views)
Shortcut
|
|
Re: [Dave] Dragging a record from one list page to another?
[In reply to]
|
Can't Post
|
|
I backed up the file actionHandler.php and replaced it with the new one that you sent. 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
|
|
|  |
 |

Dave
Staff
/ Moderator

Jul 14, 2008, 12:09 PM
Post #8 of 13
(405 views)
Shortcut
|
|
Re: [gkornbluth] Dragging a record from one list page to another?
[In reply to]
|
Can't Post
|
|
Hmm, you'll need to upgrade to v1.19 then before applying the patched file. Sorry, I thought you were on 1.19 already. Upgrade to 1.19 and then try again and it should work fine. Dave Edis - Senior Developer interactivetools.com
|
|
|  |
 |

gkornbluth
User
Jul 14, 2008, 12:20 PM
Post #9 of 13
(403 views)
Shortcut
|
|
Re: [Dave] Dragging a record from one list page to another?
[In reply to]
|
Can't Post
|
|
I hate to be picky, but with all the updates and upgrades going onare these instructions still valid? http://www.interactivetools.com/docs/cmsbuilder/upgrade.html The Devil is in the Details... Thanks, Jerry
|
|
|  |
 |

gkornbluth
User
Jul 14, 2008, 12:28 PM
Post #10 of 13
(400 views)
Shortcut
|
|
Re: [gkornbluth] Dragging a record from one list page to another?
[In reply to]
|
Can't Post
|
|
never mind... I found the upgrade file in the Zip file
|
|
|  |
 |

gkornbluth
User
Jul 14, 2008, 1:29 PM
Post #11 of 13
(393 views)
Shortcut
|
|
Re: [gkornbluth] Dragging a record from one list page to another?
[In reply to]
|
Can't Post
|
|
Thanks, Dave The upgrade was flawless and your fix worked as well. I ended up commenting out all the options in the list.php file and the entire list of records displays all the time. I guess that one could use any particular list size as their default size and use any other choices as options for their particular application, Yes? Is there any limit imposed by CMSB on the size of the list? Jerry
|
|
|  |
 |

Dave
Staff
/ Moderator

Jul 14, 2008, 2:06 PM
Post #12 of 13
(389 views)
Shortcut
|
|
Re: [gkornbluth] Dragging a record from one list page to another?
[In reply to]
|
Can't Post
|
|
There's no limit imposed by CMS Builder on the size of the list but if it gets big enough you may notice lag issues with the browser and javascript drag sorting due to the size of the page. Dave Edis - Senior Developer interactivetools.com
|
|
|  |
 |

gkornbluth
User
Jul 14, 2008, 2:47 PM
Post #13 of 13
(387 views)
Shortcut
|
|
Re: [Dave] Dragging a record from one list page to another?
[In reply to]
|
Can't Post
|
|
thanks
|
|
|  |
|