Issue with manual (or default) sorting in the Admin
#1
Posted 19 April 2012 - 10:04 AM
Maybe I'm missing something here cause I'm stuck!! I had some issues with this server provider (in my last two forum messages) so I am betting this can be the cause. I'm using PW 2.2.0 (should I try an upgrade?) Any clues?
#2
Posted 19 April 2012 - 01:52 PM
If you can, turn on your developer tools (Firebug in FF or Dev Inspector in Chrome). Watch what it does when you finish the sort. Do you see any JS errors? If you click on the network request, do you see any messages in the response that look like errors?
#3
Posted 19 April 2012 - 01:58 PM
- error: false
- message: "Updated sort for 12 pages"
#5
Posted 20 April 2012 - 08:03 AM
$children = $pages->get('/path/to/parent/')->children();
echo "<ul>";
foreach($children as $child) echo "<li>{$child->sort}: {$child->url}</li>";
echo "</ul>";
What you should see is a list of a child pages with the number on the left starting at 0 and incrementing by one for each. But let me know if you see something different.
Another thing to try would be to change your parent to have some specific sort, save it, then change it back to no sort. I can't say as though I've ever had to do that before, but it seems like one way to just reset things there, just in case.
#6
Posted 20 April 2012 - 01:27 PM
- 3: /pw/promos/promo.../
- 4: /pw/promos/promo.../
- 5: /pw/promos/promo.../
- 6: /pw/promos/promo.../
- 7: /pw/promos/promo.../
- 8: /pw/promos/promo.../
- 9: /pw/promos/promo.../
- 10: /pw/promos/promo.../
- 11: /pw/promos/promo.../
- 0: /pw/promos/renova.../
#7
Posted 20 April 2012 - 01:56 PM
Adit:
- or try opening a childpage and change something and save it.
- or sort the last page to first place
Also try trace 1 page (id) in the db table where the sort field is. Before and after you sort change one page in the admin, what happens in the db table? Does it change anything?
@somartist | modules created | support me, flattr my work flattr.com
#8
Posted 23 April 2012 - 11:21 AM
#9
Posted 24 April 2012 - 09:01 AM
I've repaired two tables (pages and images) that had overhead. The repair was successful, but no change. I followed this tutorialDo try a table repair...
(could be)
No change either.- or try opening a childpage and change something and save it.
- or sort the last page to first place
This was interesting. The table is getting the right values. I've traced a page via phpmyadmin and It gets the position I'm giving it. Also, the other pages change their positions as well. I went to the admin, but there, the order is still the same stuck order. Looking closer, I think it's stuck in a "created at" order. And that order is also showing in the front-end.Also try trace 1 page (id) in the db table where the sort field is. Before and after you sort change one page in the admin, what happens in the db table? Does it change anything?
I'm stuck
#10
Posted 24 April 2012 - 09:26 AM
Also, I think it would be worthwhile to grab the latest source code (2.2.0.1) to replace your /wire/ dir with the latest, just in case.
#13
Posted 25 April 2012 - 10:38 AM
#14
Posted 25 April 2012 - 10:45 AM
#15
Posted 25 April 2012 - 11:39 AM
#16
Posted 25 April 2012 - 08:22 PM
So, this could be a server issue? Are those errors any indication?
PD: Ryan, I can definitely give you access. Do you need a PW user? FTP access?
#19
Posted 26 April 2012 - 10:24 AM
@Ryan: I guess it would be a good idea to mention that on the aquirements section. http://bugs.mysql.com/bug.php?id=32202
Also tagged with one or more of these keywords: sorting, sort
Community Support →
API & Templates →
move and sort pages with the APIStarted by phlp, 18 Apr 2013 |
|
|
||
Community Support →
General Support →
sorting by page title, with some complexityStarted by evan, 09 Apr 2013 |
|
|
||
Community Support →
General Support →
Sort by date rangeStarted by tinacious, 08 Apr 2013 |
|
|
||
Community Support →
Getting Started →
Need guidance for UI modules, sortable dataStarted by bongomania, 22 Mar 2013 |
|
|
||
Community Support →
General Support →
Sort problemStarted by nikola, 16 Jul 2012 |
|
|
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users













