Todo LIST (Ideas and features to implement)

Jr. Bludit
Posts: 9
Joined: Sun Aug 13, 2017 2:41 pm

Sun Aug 13, 2017 9:47 pm

The next step is bread crumbs?
User avatar
Site Admin
Posts: 1300
Joined: Sun Aug 09, 2015 5:01 pm
Location: Zurich

Sun Aug 13, 2017 9:57 pm

I have made a plugin for my installations but not yet released for public use. ;-)
Planet Bludit, Tipps, Snippets und nützliche Links. - Newsletter, Informationen zu Bludit (auf Deutsch).
User avatar
Master Bludit
Posts: 68
Joined: Wed Jun 07, 2017 1:05 pm

Mon Aug 14, 2017 5:49 pm

I have something like this

Code: Select all

<?php echo '<div class="breadcrumbs"><small>You are here:<a href="'.$Site->url().'"> Home</a> / '; if($Page->parentKey()) { echo '<a href="'.$pages[$Page->parentKey()]->permalink().'">'.$pages[$Page->parentKey()]->title().'</a> / ';}; echo $Page->title(); echo'</small></div>'; ?>
but its not bulletproof cause it works only on pages. dumb way of handling breadcrumbs up to second level in the tree
i do things, check them out on behance | check out startups undiluted - london's startup ecosystem