[TikiWiki-commits] [Git][tikiwiki/tiki][30.x] [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 12:21:26 +0000
Newsgroups gmane.comp.cms.tiki.cvs
Message-ID <6a6207462028e_385742f3422539@gitlab-sidekiq-low-urgency-cpu-bound-v2-7d8cd68bcd-6tfb8.mail>

Gary Cunningham-Lee pushed to branch 30.x at Tiki Wiki CMS Groupware / Tiki


Commits:
fc9cf4d4 by Gary Cunningham-Lee at 2026-07-23T21:14:04+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...
---
* [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


(cherry picked from commit 73358aaead500683907b90423227db010811fa7b)

9cc58a7e [FIX][UI] In PluginLayout, the parameter 'header=n' needs to work in all three...

Co-authored-by: Gary Cunningham-Lee <gary_c-39LOpZwlz1/[email protected]>

See merge request tikiwiki/tiki!10773

- - - - -


1 changed file:

- lib/wiki-plugins/wikiplugin_layout.php


Changes:

=====================================
lib/wiki-plugins/wikiplugin_layout.php
=====================================
@@ -300,7 +300,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/fc9cf4d48c8afb7ed48606a0313a99dd191b1551

-- 
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/fc9cf4d48c8afb7ed48606a0313a99dd191b1551
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