Wednesday 28 October 2009 4:46:53 am
Hello, My client, at different offices around the world is populating the site with products, lots of them, at the head office there is a need to know the list of codes of products that are already inserted in a folder-node (and its folder-childs) to be able to compare with the products that they have in their database, reasonable need indeed). Taking into consideration usability I built a tree of nodes (similar to the ez admin page) that has checkmarks (all nodes with its corresponding checkmark), So the head office admin clicks the checkmark and a button that makes a call to an url using jAVASCRIPT like this one http://www.thesite.com/index.php/esl/content/view/getdupcode/181
the 181 is added to the url based on the selection of the node in the tree, and the getupcode is a view mode that get's all the product nodes (within the node's tree) and displays them. Getting all the products takes too much time and memory, thousands of nodes (and still more to come) lies beneath different branches of the selected node. I tried to page the output as to display 200 products codes from page to page, by doing so http://www.thesite.com/index.php/esl/content/view/getdupcode/181/(offset)/50
by some reason the pages goes to it's previous state (before selecting and clicking the button) that is http://www.thesite.com/index.php/esl/content/view/full/181
And displays nothing (not even the information that should be there before the selection and click to the button) Thanks.
Diseño Web Cuba
Web Design Cuba
www.elfosdesign.com
|