diff options
author | Mario Vavti <mario@mariovavti.com> | 2015-03-19 17:06:02 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2015-03-19 17:06:02 +0100 |
commit | b5823579838c4507dddd8764d0f26479f777695c (patch) | |
tree | 488957a6c2406ef05380777d801d01fb67435c9f /doc | |
parent | b3ff6da6bc9dc33abf0c0d74eccf9e9484a336d2 (diff) | |
download | volse-hubzilla-b5823579838c4507dddd8764d0f26479f777695c.tar.gz volse-hubzilla-b5823579838c4507dddd8764d0f26479f777695c.tar.bz2 volse-hubzilla-b5823579838c4507dddd8764d0f26479f777695c.zip |
update schema doco a little. needs some more...
Diffstat (limited to 'doc')
-rw-r--r-- | doc/Schema-development.md | 8 | ||||
-rw-r--r-- | doc/schema_development.bb | 13 |
2 files changed, 12 insertions, 9 deletions
diff --git a/doc/Schema-development.md b/doc/Schema-development.md index e800479f6..3ac96a02b 100644 --- a/doc/Schema-development.md +++ b/doc/Schema-development.md @@ -68,11 +68,13 @@ theme are as follows: Set the size of shadows shown with inline images. Accepts a numerical value. Note shadows are not applied to smileys. * converse_width - Set the maximum width of conversations. Accepts px, or %. + Set the maximum width of the content region in px. * nav_min_opacity * top_photo * reply_photo -* sloppy_photos - Determins whether photos are "sloppy" or aligned. Set or unset (1 or '') + +If a your_schema_name.css file is found, the content of this file will be attached to the end of style.css. +This gives the schem developer the possiblity to override any style component. + #include doc/macros/main_footer.bb; diff --git a/doc/schema_development.bb b/doc/schema_development.bb index c92536d7a..998111431 100644 --- a/doc/schema_development.bb +++ b/doc/schema_development.bb @@ -2,7 +2,7 @@ A schema, in a nutshell, is a collection of settings for a bunch of variables to define
certain elements of a theme. A schema is loaded as though it were part of config.php
-and has access to all the same information. Importantly, this means it is identity aware,
+and has access to all the same information. Importantly, this means it is identity aware,
and can be used to do some interesting things. One could, for example, restrict options
by service class, or present different options to different members.
@@ -25,8 +25,8 @@ is even simpler: Members will not thank you for this, however, so only use it when it is required.
If no personal options are set, and no schema is selected, we will first try to load a schema
-with the file name "default.php". This file should never be included with a theme. If it
-is, merge conflicts will occur as people update their code. Rather, this should be defined
+with the file name "default.php". This file should never be included with a theme. If it
+is, merge conflicts will occur as people update their code. Rather, this should be defined
by administrators on a site by site basis.
You schema does not need to - and should not - contain all of these values. Only the values
@@ -66,11 +66,12 @@ theme are as follows: Set the size of shadows shown with inline images. Accepts a numerical
value. Note shadows are not applied to smileys.[/li]
[li] converse_width
- Set the maximum width of conversations. Accepts px, or %.[/li]
+ Set the maximum width of the content region in px.[/li]
[li] nav_min_opacity[/li]
[li] top_photo[/li]
[li] reply_photo[/li]
-[li] sloppy_photos
- Determins whether photos are "sloppy" or aligned. Set or unset (1 or '')[/li]
+
+If a your_schema_name.css file is found, the content of this file will be attached to the end of style.css.
+This gives the schem developer the possiblity to override any style component.
#include doc/macros/main_footer.bb;
|