comanche doco

This commit is contained in:
Mario Vavti 2015-05-06 14:17:52 +02:00
parent 257c670d5c
commit a1ed2bf2ac
2 changed files with 10 additions and 2 deletions

View File

@ -83,11 +83,14 @@ This places the menu called "mymenu" at this location on the page, which must be
This places the menu called "mymenu" at this location on the page, which must be inside a region. Additionally it adds the CSS class "horizontal-menu" to this menu. This *may* result in a menu that looks different than the default menu style, *if* the css for the current theme defines a "horizontal-menu" class. This places the menu called "mymenu" at this location on the page, which must be inside a region. Additionally it adds the CSS class "horizontal-menu" to this menu. This *may* result in a menu that looks different than the default menu style, *if* the css for the current theme defines a "horizontal-menu" class.
[block]contributors[/block] [block]contributors[/block]
This places a block named "contributors" in this region. This places a block named "contributors" in this region.
[block=someclass]contributors[/block]
This places a block named "contributors" in this region. Additionally it applies the "someclass" class to the block. This replaces the default block classes "bblock widget".
[block][var=wrap]none[/var]contributors[/block] [block][var=wrap]none[/var]contributors[/block]
The variable [var=wrap]none[/var] in a block removes the wrapping div element from the block. The variable [var=wrap]none[/var] in a block removes the wrapping div element from the block.

View File

@ -100,7 +100,7 @@ This places the menu called "mymenu" at this location on the page, whi
[code] [code]
[menu=horizontal]mymenu[/menu] [menu=horizontal]mymenu[/menu]
[/code] [/code]
This places the menu called "mymenu" at this location on the page, which must be inside a region. Additionally it applies the "horizontal" style to the menu. "horizontal" is defined in the redbasic theme. It may or may not be available in other themes. This places the menu called "mymenu" at this location on the page, which must be inside a region. Additionally it applies the "horizontal" class to the menu. "horizontal" is defined in the redbasic theme. It may or may not be available in other themes.
[code] [code]
@ -108,6 +108,11 @@ This places the menu called "mymenu" at this location on the page, whi
[/code] [/code]
This places a block named "contributors" in this region. This places a block named "contributors" in this region.
[code]
[block=someclass]contributors[/block]
[/code]
This places a block named "contributors" in this region. Additionally it applies the "someclass" class to the block. This replaces the default block classes "bblock widget".
[code] [code]
[block][var=wrap]none[/var]contributors[/block] [block][var=wrap]none[/var]contributors[/block]
[/code] [/code]