aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-05-06 18:39:12 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-05-06 18:39:12 -0700
commit75b8bfc07a2431a6d4d5f2f72864d6cd3aa33cf6 (patch)
treec66d2a27b37c15d16095b6f1f720c70917d00c98 /doc
parentf17c1f96944cd347296ede2a4d0afaee17b49234 (diff)
parenta1ed2bf2ac97c438b1b44bd96b8cb07a4eb81337 (diff)
downloadvolse-hubzilla-75b8bfc07a2431a6d4d5f2f72864d6cd3aa33cf6.tar.gz
volse-hubzilla-75b8bfc07a2431a6d4d5f2f72864d6cd3aa33cf6.tar.bz2
volse-hubzilla-75b8bfc07a2431a6d4d5f2f72864d6cd3aa33cf6.zip
Merge branch 'master' of https://github.com/redmatrix/redmatrix
Diffstat (limited to 'doc')
-rw-r--r--doc/Comanche.md5
-rw-r--r--doc/comanche.bb7
2 files changed, 10 insertions, 2 deletions
diff --git a/doc/Comanche.md b/doc/Comanche.md
index 147988938..664412404 100644
--- a/doc/Comanche.md
+++ b/doc/Comanche.md
@@ -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.
-
[block]contributors[/block]
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]
The variable [var=wrap]none[/var] in a block removes the wrapping div element from the block.
diff --git a/doc/comanche.bb b/doc/comanche.bb
index 3afe14489..eb881fbdc 100644
--- a/doc/comanche.bb
+++ b/doc/comanche.bb
@@ -100,7 +100,7 @@ This places the menu called &quot;mymenu&quot; at this location on the page, whi
[code]
[menu=horizontal]mymenu[/menu]
[/code]
-This places the menu called &quot;mymenu&quot; 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 &quot;mymenu&quot; 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]
@@ -109,6 +109,11 @@ This places the menu called &quot;mymenu&quot; at this location on the page, whi
This places a block named &quot;contributors&quot; in this region.
[code]
+ [block=someclass]contributors[/block]
+[/code]
+This places a block named &quot;contributors&quot; in this region. Additionally it applies the &quot;someclass&quot; class to the block. This replaces the default block classes &quot;bblock widget&quot;.
+
+[code]
[block][var=wrap]none[/var]contributors[/block]
[/code]
The variable [var=wrap]none[/var] in a block removes the wrapping div element from the block.