informatica:dokuwiki2
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| informatica:dokuwiki2 [2010/08/26 20:56] – 192.168.1.30 | informatica:dokuwiki2 [2017/12/05 22:19] (current) – jose | ||
|---|---|---|---|
| Line 34: | Line 34: | ||
| Por defecto no existe. Si seguimos las instrucciones de ' | Por defecto no existe. Si seguimos las instrucciones de ' | ||
| + | El control de usuarios se hace desde el fichero local.php | ||
| + | Puede ser para un usuario | ||
| + | $conf[' | ||
| + | O para un grupo | ||
| + | $conf[' | ||
| + | Luego se modifica desde el módulo admin: | ||
| + | https:// | ||
| ===== Usuarios ===== | ===== Usuarios ===== | ||
| - | Se configuran automáticamente con los valores introducidos en 'http://url_wiki/install' | + | Para configurar |
| + | |||
| + | http://www.dokuwiki.org/acl | ||
| + | |||
| + | |||
| + | Es modificar los ficheros: | ||
| + | acl.auth.php.dist copiar a acl.auth.php \\ | ||
| + | users.auth.php.dist copiar a users.auth.php | ||
| + | |||
| + | Y después administrar desde el plugin Admin. Para acceder al plugin admin, modificamos el usuario admin del fichero users.auth.php y lo metemos en el grupo admin: | ||
| + | |||
| + | admin: | ||
| + | |||
| Line 111: | Line 131: | ||
| unzip addnewpage.zip | unzip addnewpage.zip | ||
| - | 3. Realizar cambios en plantilla ' | + | 3. Realizar cambios en plantilla ' |
| + | |||
| + | **En la plantilla sidebar:** | ||
| cp lib/ | cp lib/ | ||
| Line 166: | Line 188: | ||
| Grabar y salir | Grabar y salir | ||
| + | |||
| + | **En la plantilla dokuwiki** | ||
| + | |||
| + | Modificamos el fichero lib/ | ||
| + | |||
| + | antes: | ||
| + | < | ||
| + | <?php if($showSidebar): | ||
| + | <!-- ********** ASIDE ********** --> | ||
| + | <div id=" | ||
| + | <h3 class=" | ||
| + | <div class=" | ||
| + | <?php tpl_flush() ?> | ||
| + | <?php tpl_includeFile(' | ||
| + | <?php tpl_include_page($conf[' | ||
| + | <?php tpl_includeFile(' | ||
| + | </ | ||
| + | </ | ||
| + | <?php endif; ?> | ||
| + | |||
| + | <!-- ********** CONTENT ********** --> | ||
| + | <div id=" | ||
| + | <div class=" | ||
| + | <div class=" | ||
| + | <?php tpl_flush() ?> | ||
| + | <?php tpl_includeFile(' | ||
| + | <!-- wikipage start --> | ||
| + | <?php tpl_content() ?> | ||
| + | <!-- wikipage stop --> | ||
| + | <?php tpl_includeFile(' | ||
| + | </ | ||
| + | |||
| + | Después | ||
| + | |||
| + | < | ||
| + | <?php if($showSidebar): | ||
| + | <!-- ********** ASIDE ********** --> | ||
| + | <div id=" | ||
| + | <h3 class=" | ||
| + | <div class=" | ||
| + | <?php tpl_flush() ?> | ||
| + | <?php tpl_includeFile(' | ||
| + | <?php tpl_include_page($conf[' | ||
| + | <?php tpl_includeFile(' | ||
| + | </ | ||
| + | </ | ||
| + | <?php endif; ?> | ||
| + | |||
| + | <!-- ********** CONTENT ********** --> | ||
| + | | ||
| + | <!-- ############### | ||
| + | <div class=" | ||
| + | <?php | ||
| + | $out = p_render(' | ||
| + | echo str_replace(array("< | ||
| + | ?> | ||
| + | </ | ||
| + | <!-- ############### | ||
| + | | ||
| + | <div id=" | ||
| + | <div class=" | ||
| + | <div class=" | ||
| + | <?php tpl_flush() ?> | ||
| + | <?php tpl_includeFile(' | ||
| + | <!-- wikipage start --> | ||
| + | <?php tpl_content() ?> | ||
| + | <!-- wikipage stop --> | ||
| + | <?php tpl_includeFile(' | ||
| + | </ | ||
| ===== Substituir _ por espacios en el título ===== | ===== Substituir _ por espacios en el título ===== | ||
| Line 337: | Line 428: | ||
| } | } | ||
| </ | </ | ||
| + | |||
| + | ===== Update ===== | ||
| + | Nos bajamos la última versión y la descomprimimos en el servidor | ||
| + | |||
| + | https:// | ||
informatica/dokuwiki2.1282856213.txt.gz · Last modified: (external edit)
