theme control and categories
I have just started to implement theme control and all is going well on my primary system when allocating categories/themes.
I regularly backup and restore using PHPMySQL and/or MYSQLDump with the restore going to a Red Hat Linux 9 and LAMPP configuration.
When I do this I cannot view the categories in the theme control - category dropdown menu. All is blank.
I have been tinkering and have made a small change to the tiki-theme_control.php that has made it work but I have no real idea of what I have done or why this works.
Can anybody help explain this or, better still tell me how to do it properly...
The change is to comment out the original get_all_categories and replace it with a modified version as shown below.
//$categories = $categlib->get_all_categories();
$categories = $categlib->get_all_categories_respect_perms($user, 'tiki_p_view_categories');
Any advice would be appreciated.
Andy