Page 1 of 1
Can breadcrumbs root point to ./ ?
Posted: Fri Jul 14, 2006 10:06 am
by gsalmeri
I am happily using CMSMS in the site
http://mondodomani.org/filosofiatorvergata/ (whit prettyURLs).
In the template I use {breadcrumbs starttext='' root='home' delimiter='>'} But I would prefer a slightly different effect: I would like the root to point to ./ instead of /home/ (I do not like that the same page, i.e. the Home Page, is linked with two different URLs). Is this possible?
Thank you very much in advance!
Re: Can breadcrumbs root point to ./ ?
Posted: Sun Jul 23, 2006 4:14 pm
by tsw
have you tried something like root="/"? (untested so it might not work)
maybe breadcrumbs needs another parameter, something like "root_url" lets see what we can do
Re: Can breadcrumbs root point to ./ ?
Posted: Mon Jul 24, 2006 1:16 am
by Elijah Lofgren
gsalmeri wrote:
In the template I use {breadcrumbs starttext='' root='home' delimiter='>'} But I would prefer a slightly different effect: I would like the root to point to ./ instead of /home/ (I do not like that the same page, i.e. the Home Page, is linked with two different URLs). Is this possible?
Thank you very much in advance!
You're welcome.
I have added a root_url parameter to the breadcrumbs plugin:
http://viewsvn.cmsmadesimple.org/viewsv ... 1&view=rev
You can replace your current plugins/function.breadcrumbs.php with this one:
http://viewsvn.cmsmadesimple.org/viewsv ... iew=markup
Then call it with something like this:
Code: Select all
{breadcrumbs starttext='' root='home' delimiter='>' root_url="./"}
Enjoy,
Elijah
Re: Can breadcrumbs root point to ./ ?
Posted: Sat Sep 09, 2006 12:02 pm
by gsalmeri
Elijah Lofgren wrote:
Enjoy,
Elijah
Sorry to read your post with so much delay, and thank you very much for helping me! I hope that this will be useful also to the whole CMSMS community...