Todo LIST (Ideas and features to implement)

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

Sun Aug 13, 2017 7:47 pm

The next step is bread crumbs?
User avatar
Edi
Site Admin
Posts: 1042
Joined: Sun Aug 09, 2015 3:01 pm
Location: Zurich
Contact:

Sun Aug 13, 2017 7: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
Ssr. Bludit
Posts: 25
Joined: Wed Jun 07, 2017 11:05 am

Mon Aug 14, 2017 3: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