[TikiWiki-commits] [Git][tikiwiki/tiki][master] [FIX][UI] In PluginLayout, the parameter 'header=n' needs to work in all three...

"Gary Cunningham-Lee \(--- via TikiWiki-cvs" <[email protected]> Thu, 23 Jul 2026 11:12:46 +0000
Newsgroups gmane.comp.cms.tiki.cvs
Message-ID <6a61f72ef1dd3_38f756e3057179@gitlab-sidekiq-low-urgency-cpu-bound-v2-7d8cd68bcd-z5glv.mail>

Gary Cunningham-Lee pushed to branch master at Tiki Wiki CMS Groupware / Tiki


Commits:
73358aae by Gary Cunningham-Lee at 2026-07-23T19:54:54+09:00
[FIX][UI] In PluginLayout, the parameter 'header=n' needs to work in all three...
---
* [FIX][UI] In PluginLayout, the parameter 'header=n' needs to work in all three layouts, not only in the Basic Bootstrap layout.

See merge request tikiwiki/tiki!10772

- - - - -


1 changed file:

- lib/wiki-plugins/wikiplugin_layout.php


Changes:

=====================================
lib/wiki-plugins/wikiplugin_layout.php
=====================================
@@ -302,7 +302,7 @@ function wikiplugin_layout($data, $params)
     $headerlib->add_css("#row-middle{display:none} #show-errors-button{display:none}");
     $headerlib->add_js('$( document ).ready(function() {$(\'#row-middle\').attr("style","display:flex").fadeIn(1000); });');
     if ($params['header'] == 'n') {
-        $headerlib->add_css("#page-header{display:none}");
+        $headerlib->add_css("#page-header, #site-header{display:none}");
     }
     if ($params['footer'] == 'n') {
         $headerlib->add_css("#footer{display:none}");



View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/73358aaead500683907b90423227db010811fa7b

-- 
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/73358aaead500683907b90423227db010811fa7b
You're receiving this email because of your account on gitlab.com. Manage all notifications: https://gitlab.com/-/profile/notifications | Help: https://gitlab.com/help

_______________________________________________
TikiWiki-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tikiwiki-cvs