Todo LIST (Ideas and features to implement)

Konstantinopol
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
Edi
Site Admin
Posts: 1166
Joined: Sun Aug 09, 2015 5:01 pm
Location: Zurich
Contact:

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
bayerberg
Sr. Bludit
Posts: 45
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
Locked