Category name and description are information that are more or less 2 expressions of the same information: short vs long description.
In order for the webmaster to be able to include either one or the other in his template, the category description should be made available every time the category name is.
Additional information: As for now, I have found one case (I'll report others if I find any) in the get_categories_menu() function of functions_category.inc.php and amended the code as follows:
**Reported by tosca on 16 Aug 2011 17:52**
**Version:** 2.2.4
Category name and description are information that are more or less 2 expressions of the same information: short vs long description.
In order for the webmaster to be able to include either one or the other in his template, the category description should be made available every time the category name is.
**Additional information:** As for now, I have found one case (I'll report others if I find any) in the get_categories_menu() function of functions_category.inc.php and amended the code as follows:
SELECT ';
// From CATEGORIES_TABLE
$query.= '
id, name, permalink, nb_images, global_rank, comment, ';
// From USER_CACHE_CATEGORIES_TABLE
$query.= '
date_last, max_date_last, count_images, count_categories';
(Just added `comment` in $query)
[Piwigo Bugtracker #2404](http://piwigo.org/bugs/view.php?id=2404)
<!-- github-sync-id:97226311 -->
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Reported by tosca on 16 Aug 2011 17:52
Version: 2.2.4
Category name and description are information that are more or less 2 expressions of the same information: short vs long description.
In order for the webmaster to be able to include either one or the other in his template, the category description should be made available every time the category name is.
Additional information: As for now, I have found one case (I'll report others if I find any) in the get_categories_menu() function of functions_category.inc.php and amended the code as follows:
SELECT ';
// From CATEGORIES_TABLE
$query.= '
id, name, permalink, nb_images, global_rank, comment, ';
// From USER_CACHE_CATEGORIES_TABLE
$query.= '
date_last, max_date_last, count_images, count_categories';
(Just added
commentin $query)Piwigo Bugtracker #2404