Re: [PHP-WEBMASTER] com web/wiki: Breadcrumbs: show hierarchy instead of trace: dokuwiki/conf/local.php dokuwiki/lib/tpl/phpnet/main.php

[email protected] (Hannes Magnusson)
Newsgroups php.webmaster
Message-ID <CADNQb0UOw+ovtjQxwFjsO-nZgVjO31RyfEh-j3Z495ECJwUj0w@mail.gmail.com>
wow thank you.
That makes soooo much more sense! :D

-Hannes


On Sat, Mar 21, 2015 at 11:35 PM, Maciej Sobaczewski <[email protected]> wrote:
> Commit:    3defe9d344edf69102c9223becbbadb6d214a8b7
> Author:    Sobak <[email protected]>         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
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.