Loading...
 
Skip to main content

History: Module zone

Source of version: 10 (current)

Copy to clipboard
            ! {{page}}

New in ((Tiki14)). New module meant to provide a module "navbar" for the website.  
!! Parameters
{pluginmanager module="zone"}

!! Usage
You will be able to add it through "Admin > Modules > Add module > Assign new module | Module name: __Module Zone__". This Module Zone module is assigned to one of the standard module zones. But to position it on elsewhere on the page, use CSS as shown in the "hint". Remember to check the standard module zone that the module was assigned to, in order to edit it or delete it.

If the module is configured to display in a fixed position at the page top or bottom, the content of the rest of the page is unaware of the new module in regard to layout and so may scroll underneath it. It may be necessary to add a custom CSS rule on the Look and Feel admin page to provide for white space at the page top. To quote the Bootstrap site: ''"The fixed navbar will overlay your other content, unless you add padding to the top of the <body>. Try out your own values or use our snippet below. Tip: By default, the navbar is 50px high."'' 

{CODE()}body { padding-top: 70px; }{CODE}

You add a "zone", and then you can drop a module menu in it. The menu module creates the toggle button and internal nabbers. Modules assigned to the custom module zone module, if they are meant to be displayed side by side in a horizontal row, will need CSS rules for positioning. Since Tiki now uses Bootstrap grid classes, these are a recommended method. Three modules in a row could have the "top class" or "containing class" of "col-md-2", "col-md-8", and "col-md-2", for example, for divs or columns whose widths are proportioned 1:4:1. Some experimenting might be necessary to get the right combination of widths for the content of the modules.

{REMARKSBOX(type="tip" title="Tip")}
You might find you need to use the module list tabs to adjust the in-zone modules - drag & drop is a bit sticky sometimes
{REMARKSBOX}

!! New in 23
A new module zone "Admin" was introduced in ((Tiki23)) for the Dashboard displayed at the [Tiki23#Unified_Admin_Backend_UI|Unified Admin Backend UI]


!! Links
Main related commit: http://sourceforge.net/p/tikiwiki/code/52430

{include page="Module and Plugin Includes" start="startinclude1" stop="stopinclude1"}


Alias names for this page:
(alias(Module zones)) | (alias(ModuleZones)) | (alias(ModuleZone))