I am using the portlet plugin from jQuery UI
my question is:
is it possible to save the order of the portlets in the database so when the user e back he can see his portlets sorted in the same order?How?
Thanks
I am using the portlet plugin from jQuery UI
my question is:
is it possible to save the order of the portlets in the database so when the user e back he can see his portlets sorted in the same order?How?
Thanks
Share Improve this question asked May 26, 2009 at 8:46 ahmedahmed 14.7k32 gold badges98 silver badges127 bronze badges3 Answers
Reset to default 4I found the solution here
Well, I can't really answer your question but I would suggest this:
If the order of portlets is not mission-critical, then use cookies to store the order instead of using a database. This will save you valuable space and performance.
Plus, you get to support users that have not logged in.
I have done this the cookie saving method and my saving to the database.
The database way is really the best method
When I saved box positions with a cookie, the page would load and the boxes would be in there default position, then when the page finished reading the cookie it would re-arrange the boxes from the cookie data which made the page look really slow
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745105228a4611517.html
评论列表(0条)