Zen TYPO3 Forum

Our TYPO3 forum is available for freelancers, professionals and clients new to TYPO3 to discuss Basic TYPO3 templating, Typoscript, extension installation, administration and help with subscription templates. Please register for an account to post.

All Categories > Zen Wireframe > Templates and TypoScript > Change "home" page in breadcrumb menu
Total Posts: 5 - Pages (1): [1]
Author: fredkw1
Posted: Dec 10 2007 - 11:25 AM
Subject: re: re: Change "home" page in breadcrumb menu
Thanks for the suggestion. I have gone for a simpler solution after visiting a site where the breadcrumb menu did not include the web site root page but started from the level below. This meets the needs of the site.

I have modified my code as follows

#######################################
subparts.BREADCRUMB = HMENU
subparts.BREADCRUMB {
includeNotInMenu = 1
excludeUidList = 1
special = rootline
1 = TMENU
1 {
# Separate links with double-right arrow
NO.linkWrap = | »  |*||*| |
noBlur = 1
# Don't link current page
CUR = 1
CUR.doNotLinkIt = 1
}
}
Author: mediatech
Posted: Dec 09 2007 - 02:43 AM
Subject: re: Change "home" page in breadcrumb menu
I'm not sure that this is possible. Google doesn't bring up any hints on my end. Please let us know if you find a solution. We appear to be limited to these options in the TSref.

8.11. HMENU

In the meantime, you could try hard coding a different home page URL in your HTML templates and use the following TS to remove the top level root link.

Add the TS property, special.range = 1 to your breadcrumb:
# Breadcrumb menu
#######################################
subparts.BREADCRUMB = HMENU
subparts.BREADCRUMB {
includeNotInMenu = 1
special = rootline
special.range = 1
1 = TMENU
1 {
# Separate links with double-right arrow
NO.linkWrap = | »  |*||*| |
noBlur = 1
# Don't link current page
CUR = 1
CUR.doNotLinkIt = 1
}
}


Add the following hard coded link in red to your HTML templates:
<div id="breadcrumb">
<a href="http://www.google.com">Home</a> » &nbsp;
<!-- ###BREADCRUMB### START -->
<!-- ###BREADCRUMB### END-->
</div>



I tested this and it's working here. My home page points to http://www.google.com
http://demo.mediatech.net/index.php?id=9

Greg
----
Mediatech Consulting, Inc.
Phone : +1 (760) 525-1770 . Fax: +1 (760) 542-1990 . Skype: gremington
Author: fredkw1
Posted: Dec 08 2007 - 02:13 AM
Subject: re: re: Change "home" page in breadcrumb menu
I was not clear enough in my question. I do not want to change the short cut specified in the home page. I want to change the action of the leftmost link in the breadcrumb menu to point to a differnt node than 1. I can't decipher it from the breadcrumb menu set-up as shown below

#######################################
subparts.BREADCRUMB = HMENU
subparts.BREADCRUMB {
includeNotInMenu = 1
special = rootline
1 = TMENU
1 {
# Separate links with double-right arrow
NO.linkWrap = | » &nbsp;|*||*| |
noBlur = 1
# Don't link current page
CUR = 1
CUR.doNotLinkIt = 1
}
}
Author: tonyl09
Posted: Dec 06 2007 - 01:33 PM
Subject: re: Change "home" page in breadcrumb menu
Click on the icon for the shortcut, and select edit page properties. You can then aim it at another page or, alternatively, change its page type to a "real" page instead of a shortcut.

Cheers -- Tony
Author: fredkw1
Posted: Dec 06 2007 - 10:35 AM
Subject: Change "home" page in breadcrumb menu
I want the "home" link in the breadcrumb menu to point to a page other than the root of the site (ID=1).

How do I change it?
Total Posts: 5 - Pages (1): [1]
You must login to post a message to this conference.

 

CHC Forum provided by Cast Iron Coding

TYPO3 Support