div titrePage hidden ! #868

Closed
opened 2026-10-05 00:21:58 +02:00 by adam · 1 comment
Owner

Hi,
the div "titrePage" in "admin.php?page=plugins" has a style set to hidden. In the tab "Other plugins available"
I do not understand why because in this case we have not access to the search or other options.
I hacked the file "admin/themes/default/template/admin.tpl" at the line 42 like this, jQuery('h2, .titrePage').show(); I changed the hide function by show and apparently it is displayed without any problem. To see if there's not sides effects.
Regards

Hi, the div "titrePage" in "admin.php?page=plugins" has a style set to hidden. In the tab "Other plugins available" I do not understand why because in this case we have not access to the search or other options. I hacked the file "admin/themes/default/template/admin.tpl" at the line 42 like this, `jQuery('h2, .titrePage').show();` I changed the hide function by show and apparently it is displayed without any problem. To see if there's not sides effects. Regards <!-- github-sync-id:422728088 -->
adam closed this issue 2026-10-05 00:21:58 +02:00
Author
Owner

Hi @philigrane

You're right, I have been a bit "too strong" in https://github.com/Piwigo/Piwigo/commit/6f1b75d13593bf69fa8e4b1c6258c857321a6564#diff-54b4c9c612de0dbe8bcb8164d1b69328R44

This piece of Javascript code is temporary. In Piwigo 2.10 we are moving the old H2 (after the tabs) to an H1 (before the tab). Changing all *.tpl files is quite a big task and we can't do it for extensions, so I've decided to do it with a few javascript instructions.

Hi @philigrane You're right, I have been a bit "too strong" in https://github.com/Piwigo/Piwigo/commit/6f1b75d13593bf69fa8e4b1c6258c857321a6564#diff-54b4c9c612de0dbe8bcb8164d1b69328R44 This piece of Javascript code is temporary. In Piwigo 2.10 we are moving the old H2 (after the tabs) to an H1 (before the tab). Changing all *.tpl files is quite a big task and we can't do it for extensions, so I've decided to do it with a few javascript instructions. <!-- github-comment-id:474917223 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/Piwigo#868