Re: com web/wiki: Breadcrumbs: show hierarchy instead of trace: dokuwiki/conf/local.php dokuwiki/lib/tpl/phpnet/main.php
| From: | Hannes Magnusson | Date: | Sun, 22 Mar 2015 15:53:25 +0000 |
| Subject: | Re: com web/wiki: Breadcrumbs: show hierarchy instead of trace: dokuwiki/conf/local.php dokuwiki/lib/tpl/phpnet/main.php | ||
| References: | 1 | Groups: | php.webmaster |
| Request: | Send a blank email to php-webmaster+get-20945@lists.php.net to get a copy of this message | ||
wow thank you.
That makes soooo much more sense! :D
-Hannes
On Sat, Mar 21, 2015 at 11:35 PM, Maciej Sobaczewski <sobak@php.net> wrote:
> Commit: 3defe9d344edf69102c9223becbbadb6d214a8b7
> Author: Sobak <msobaczewski@gmail.com> Sun, 22 Mar 2015 07:35:06 +0100
> Parents: 522b9e8547b47e254940df9f9394ed143e46becc
> Branches: master
>
> Link:
> http://git.php.net/?p=web/wiki.git;a=commitdiff;h=3defe9d344edf69102c9223becbbadb6d214a8b7
>
> Log:
> Breadcrumbs: show hierarchy instead of trace
>
> Changed paths:
> M dokuwiki/conf/local.php
> M dokuwiki/lib/tpl/phpnet/main.php
>
>
> Diff:
> diff --git a/dokuwiki/conf/local.php b/dokuwiki/conf/local.php
> index 91e466a..8f22b81 100755
> --- a/dokuwiki/conf/local.php
> +++ b/dokuwiki/conf/local.php
> @@ -22,5 +22,7 @@ $conf['rss_content'] = 'htmldiff';
> $conf['userewrite'] = '1';
> $conf['useslash'] = 1;
> $conf['send404'] = 1;
> +$conf['breadcrumbs'] = 0;
> +$conf['youarehere'] = 1;
>
> // end auto-generated content
> diff --git a/dokuwiki/lib/tpl/phpnet/main.php b/dokuwiki/lib/tpl/phpnet/main.php
> index ed05fac..68c17cb 100644
> --- a/dokuwiki/lib/tpl/phpnet/main.php
> +++ b/dokuwiki/lib/tpl/phpnet/main.php
> @@ -52,11 +52,7 @@ include __DIR__ . "/../../../shared/templates/header.inc";
>
> <section id="breadcrumbs">
> <nav>
> -<ol>
> -<?php foreach(array_slice(breadcrumbs(), -8) as $breadcrumb => $name): ?>
> - <li><?php tpl_link(wl($breadcrumb), hsc($name),
> 'class="breadcrumbs" title="'.$id.'"')?></li>
> -<?php endforeach ?>
> -</ol>
> +<?php tpl_youarehere(' › '); ?>
> </nav>
> </section>
> <section class="mainscreen">
>
>
> --
> PHP Webmaster List Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>