Piwigo Bugtracker

Piwigo bug tracker has moved to Github

This bugtracker is kept to provide history on old issues.


View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002404Piwigotemplatepublic2011.08.16 19:522015.03.12 14:56
Reportertosca 
Assigned To 
PrioritynormalSeverityfeatureReproducibilityalways
StatusnewResolutionopen 
PlatformOSOS Version
Product Version2.2.4 
Target VersionFixed in Version 
Summary0002404: Make the category description available whenever the category name is
DescriptionCategory 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 InformationAs 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)
TagsNo tags attached.
browserany
Database engine and version
PHP version
Web serverApache 1.3.x
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2011.08.16 19:52 tosca New Issue
2011.08.16 19:52 tosca browser => any
2011.08.16 19:52 tosca Web server => Apache 1.3.x
2015.03.12 14:56 plg Category albums => template


Copyright © 2000 - 2017 MantisBT Team
Contact
Powered by Mantis Bugtracker