Loading...
 
Skip to main content

History: Module zone

Source of version: 5

Copy to clipboard
            ! {{page}}

New in ((Tiki14)). New module meant to provide a module "navbar" for the website.  

!! 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 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 a margin at the page top so content doesn't scroll under the fixed-position module, like body > .container {margin-top: 32px;}.

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}

!! Parameters

{FANCYTABLE( head=> __Parameter__ ~|~ __Accepted values__ ~|~ __Effect__ ~|~ __Required?__ ~|~ __Version__ )}
''Zone Name'' ~|~ string  ~|~ Must be unique, the zone becomes an "extra module zone" and will appear in the admin modules panel ~|~ y ~|~ 14.0
''CSS Class'' ~|~ string ~|~ Example for a Bootstrap "social" navbar: "navbar navbar-inverse navbar-fixed-top ~|~ n ~|~ 14.0
{FANCYTABLE}

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

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

History

Information Version
Baraka Kinywa 10
Baraka Kinywa 9
Xavi (as xavidp - admin) 8
Xavi (as xavidp - admin) 7
Gary Cunningham-Lee A little more clear. 6
Gary Cunningham-Lee Added some configuration details. 5
Xavier de Pedro 4
Xavier de Pedro 3
Marc Laporte 2
Marc Laporte 1