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!
Can breadcrumbs root point to ./ ?
Re: Can breadcrumbs root point to ./ ?
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
maybe breadcrumbs needs another parameter, something like "root_url" lets see what we can do
- Elijah Lofgren
- Power Poster

- Posts: 811
- Joined: Mon Apr 24, 2006 1:01 am
Re: Can breadcrumbs root point to ./ ?
You're welcome.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!
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="./"}
Elijah
Note: I don't have time to take on any more projects. I'm quite busy. I may be too busy to reply to emails or messages. Thanks for your understanding. 
-
gsalmeri
Re: Can breadcrumbs root point to ./ ?
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...Elijah Lofgren wrote: Enjoy,
Elijah
