Order of Subcategories
insanetek 0
From: -
From: -
Notice
This topic is archived. New comments cannot be posted and votes cannot be cast.Responses to this topic
1 Re: Order of Subcategories
Philipp
From: Austria
Administrator
1342From: Austria
Order of Subcategories
Here a workaround. Open cadmin/mod_review.php and replace:
with:
This is not perfect solution, but makes it a bit easier.
Version 2.0 of Storyteller has already a complete rewritten category function that even allows sorting all categories by priority.
Here a workaround. Open cadmin/mod_review.php and replace:
$query = DBQuery("SELECT reviewcat_id, reviewcat_name, reviewcat_permissions FROM esselbach_st_reviewcat");
while (list($reviewcat_id, $reviewcat_name, $permissions) = mysql_fetch_row($query))
{
with:
$query = DBQuery("SELECT reviewcat_id, reviewcat_parent, reviewcat_name, reviewcat_permissions FROM esselbach_st_reviewcat");
while (list($reviewcat_id, $reviewcat_parent, $reviewcat_name, $permissions) = mysql_fetch_row($query))
{
if ($reviewcat_parent) $reviewcat_name = "-- ".$reviewcat_name;
This is not perfect solution, but makes it a bit easier.
Version 2.0 of Storyteller has already a complete rewritten category function that even allows sorting all categories by priority.
I have a review structure like this:
Articles
Reviews
Product Type
Manufacturer
Product
Some of the subcategories are the same because some manufacturers have products in different product types. My problem is when I add a review to a category I just get a really long list of categories and subcategories that isn't organized. It is very hard to find the right category to add the review to. Is there a way it can be displayed in a logical structure? Maybe clicking the category would bring up a new dropdown that listed the subcategories of the category you selected.