}
if (empty($sidebar_inline) && empty($page_inline)) {
+
+ elgg_push_breadcrumb(elgg_echo('dokuwiki'), 'dokuwiki/all');
+ elgg_push_breadcrumb(sprintf(elgg_echo('dokuwiki:wikifrom'), elgg_get_page_owner_entity()->name));
+
$title = sprintf(elgg_echo('dokuwiki:wikifrom'), elgg_get_page_owner_entity()->name);
$sidebar = elgg_view_module('aside', elgg_echo('dokuwiki:sidebar'), $sidebar);
}
elgg_set_context("dokuwiki");
- elgg_push_breadcrumb(elgg_echo('dokuwiki'), 'dokuwiki/all');
-
+
$dokuwiki_path = elgg_get_plugins_path().'dokuwiki/lib/dokuwiki/';
$doku = current_dokuwiki_entity();
if (!$doku) // can fail if there is no user and wiki doesnt exist
$entity_guid = $page[0];
$ent = get_entity($entity_guid);
- elgg_push_breadcrumb(sprintf(elgg_echo('dokuwiki:wikifrom'),$ent->name));
-
if (($ent && $ent instanceof ElggGroup) && $ent->dokuwiki_enable !== 'yes') {
// wiki not activated for this group. bail out.
forward();