Hi,
The Smart Pocket theme is awesome for mobile. I've found that it displays hidden albums though. I hide an album by downloading the "Extended Description" plugin. Then I edit the album I want to hide. I add "<!--hidden--><!--mb-hidden-->" to the name\title of the album. Under the default theme and others, this album is now hidden. However, Smart Pocket still displays the album.
Is there any way I can make Smart Pocket read the "<!--hidden--><!--mb-hidden-->" text in an album title and hide it, or does the theme need to be patched? Thanks!
Piwigo version: 2.8.1
PHP version: 5.6
MySQL version: 5.5.42-37.1
Offline
Hi fahrenheit,
I would rather say that plugin Extended Description (which adds the <!--hidden--> feature) needs a fix.
Flop25, do you agree?
Offline
Indeed the plugin has to handle the [Github] Piwigo file themes/smartpocket/themeconf.inc.php@L83 from the theme
Offline
Cool, thank you for diagnosing. Do you need me to submit a bug fix somewhere?
Offline
Hi,
I'm facing the same issue.
Has there been an update on this? :)
thank you
Markus
Offline
Hi, facing the same problem :-)
Offline
Instead of hiding an album via the extended description, is there a reason why you can't use permissions to hide the folder? That's what I do and seems more secure than relying on an extended description attribute.
Offline
Hi, thank you
I use this album to store copies of pictures, to show randomly in the Wordpress Piwigo widget, so this album can't be private or the widget doesn't work.
But I configure it to Hidden, so regular visitors of my Piwigo gallery can't see this album.
Offline
Any idea ?
Thanks :-)
Offline
The plugin Extended Description is not the problem!
It has included in ../plugins/ExtendedDescription/main.inc.php@L61 the required:
add_event_handler ('loc_end_index_category_thumbnails', 'ext_remove_cat', .... ,2);
The problem lies in the Smart Pocket theme, as already hinted by Flop25 at ../themes/smartpocket/themeconf.inc.php@L83.
On this line another (conflicting?) event handler is assigned to 'loc_end_index_category_thumbnails' being:
add_event_handler('loc_end_index_category_thumbnails', 'sp_select_all_categories');
Commenting out this line did the trick for me!
Offline