[14.0.0RC1] impossible to use <!--hidden--> in album name #1776

Closed
opened 2026-10-05 00:56:24 +02:00 by adam · 0 comments
Owner

Plugin Extended Description uses <!--hidden--> and <!--mb-hidden--> in album name to hide an album from the list of album thumbnails and from the menubar (independantly). It's really not great and a database column categories.show_in_thumbnails and categories.show_in_menubar would have been much better, but that's another story...

In Piwigo 14 and the new album editor, we now uses the API method pwg.categories.setInfo to update album name/description and since 23fa4c1a73 Piwigo applies a strip_tags on provided name.

Meaning it's impossible in Piwigo 14.0.0RC1 to use the "set as hidden" system provided by Extended Description.

Plugin Extended Description uses `<!--hidden-->` and `<!--mb-hidden-->` in album name to hide an album from the list of album thumbnails and from the menubar (independantly). It's really not great and a database column `categories.show_in_thumbnails` and `categories.show_in_menubar` would have been much better, but that's another story... In Piwigo 14 and the new album editor, we now uses the API method `pwg.categories.setInfo` to update album name/description and since 23fa4c1a736cfa6e87e06edf243d5441b886d429 Piwigo applies a `strip_tags` on provided name. Meaning it's impossible in Piwigo 14.0.0RC1 to use the "set as hidden" system provided by Extended Description. <!-- github-sync-id:2006481724 -->
adam closed this issue 2026-10-05 00:56:24 +02:00
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/Piwigo#1776