I have changed the order of the categories in the category management page. However my category order does not match the order of categories in the category management page.
Is there a way to refresh the categories? or reset them?


![]() |
| | Thread Tools | Display Modes |
| |||
|
I have changed the order of the categories in the category management page. However my category order does not match the order of categories in the category management page. Is there a way to refresh the categories? or reset them? |
| ||||
|
Try clearing the template cache by deleting the contents of /templates_c. Sometimes you have to confirm that the categories shifted in the category manager by revisiting the page. You sometimes need to reset the order for it to catch. The Twitter Module for Pligg CMS! Register, Login, and Submit Stories with Twitter. An absolute MUST HAVE for all Pligg sites! |
| |||
|
Is there a way to do it directly from the database? without having to hassle with the management page? If I can order it manually that would be great. |
| ||||
|
You could open up phpmyadmin and navigate to your pligg_categories table then change the field numbers for "category_order" to reflect the order you want them to display in.
The Twitter Module for Pligg CMS! Register, Login, and Submit Stories with Twitter. An absolute MUST HAVE for all Pligg sites! |
| |||
|
After taking a look at the cat table. i'm seeing. i have 0 for the category parent. looking at the category order column i see that i have the entries in the right order. But the navigation isn't changing. Where is the query that controls the display of the navigation? it looks like it's not ordering by the category_order for some reason. I'd like to double check if that is the case. |
| ||||
|
Did you do as I suggested and clear the /templates_c directory? The sidebar content is cached a lot of the time and won't rebuild itself unless you delete the cache.
The Twitter Module for Pligg CMS! Register, Login, and Submit Stories with Twitter. An absolute MUST HAVE for all Pligg sites! |
| |||
|
Absolutely sure did. However that was not the issue. we are using a template called yournews. after looking at the mysql query that gets the categories. it seems that it was not ordering by the category order. it was just grabbing the categories with no ordering at all. after adding an order to the query it worked like a charm. thank you for helping. i appreciate it. If anyone else needs this fixed. Follow these steps. 1. In the yournews template folder open dropmenu.tpl 2. look for line 41 3. replace this PHP Code: PHP Code: 5. replace this PHP Code: PHP Code: Hope this helps others. |
| ||||
|
Glad it wasn't an issue with Pligg.
The Twitter Module for Pligg CMS! Register, Login, and Submit Stories with Twitter. An absolute MUST HAVE for all Pligg sites! |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Control of meta description - categories | Divisive Cotton | Questions and Comments | 71 | 03-29-2011 10:03 PM |
| Upgrade to Pligg 1.0.0, blank category management page | onlinebisnes | Questions and Comments | 4 | 07-03-2009 12:47 AM |
| Pligg Categories | Yankidank | Wiki Articles | 1 | 12-17-2008 11:10 AM |
| Changing Category from the News Management page? | XSP | Questions and Comments | 6 | 07-26-2007 05:58 PM |
| About page after login, Sort news by, Category order, and much Slower | bizdiggers | Questions and Comments | 4 | 02-22-2007 07:36 PM |