[TYPO3] BREADCRUMBS

Amir M. amir219 at sbcglobal.net
Tue Aug 22 05:31:05 CEST 2006


Jamie, I'd like to use this approach, however my setup is a bit weird, 
most of my pages use an FCE or the tt_news single page template for the 
main content areas.  The rest of the site's design like the banner is in 
the main html, which is also used for the homepage (but I dont want the 
homepage to have breadcrumbs).

So my question is, how can I make this appear for my FCE and tt_news 
correctly, but not for my main pages?  I have 3 subsites and they all 
use the same template, and I dont want the root pages of these subsites 
to have any breadcrumbs.  Can I exclude them from having a breadcrumb?

Also, I assume that the best way would be to map the breadcrumb on the 
main HTML file, so that it appears on ALL pages, but then exclude some 
pages from having it if possible?

Thanks,

Amir.



Jamie Lawrence Jenner wrote:
> If you are using templa voila then you can use this
> 
> # Breadcrumb Navigation
>     lib.breadcrumbs = HMENU
>     lib.breadcrumbs.special = rootline
>     lib.breadcrumbs.excludeUidList = 23,15,40,7,48
>     lib.breadcrumbs.1 = TMENU
>     lib.breadcrumbs.1 {
>     NO.allWrap = |*| <span class="x">&nbsp;&#187; | </span> |*|
>     ACT = 1
>     ACT.allWrap = |*| <span class="xx">&nbsp;&#187; | </span> |*|
> 
>   }
> 
> then create a new mapping in your templa voila of type typo script object
> and call it lib.breadcrumbs, then map it to your bread crumbs div in your
> tmeplate
> 
> 
> cheers
> 
> Jamie
> 
> 
> 
> -----Original Message-----
> From: typo3-english-bounces at lists.netfielders.de
> [mailto:typo3-english-bounces at lists.netfielders.de]On Behalf Of Kenneth
> Bo Larsen
> Sent: 15 August 2006 13:23
> To: typo3-english at lists.netfielders.de
> Subject: [TYPO3] BREADCRUMBS
> 
> 
> Hi,
> 
> I'm using TYPO3 - 4.01 with a HTML-template
> 
> Now I would like to have "breadcrumbs" to work on my page...but so far
> with no succes !
> 
> *I have this in my SETUP:*
> page = PAGE
> page.typeNum = 0
> config.pageTitleFirst = 1
> page.stylesheet = fileadmin/templates/dop/style.css
> marginwidth="0" marginheight="0">
> page.1 = TEMPLATE
> page.1.marks.PAGE_UID = TEXT
> page.1.marks.PAGE_UID.field = uid
> page.1  {
>    template = FILE
>    template.file = fileadmin/templates/dop/template.html
>    workOnSubpart = DOCUMENT_BODY
>    subparts.CONTENT_LEFT < styles.content.getLeft
>    subparts.CONTENT_RIGHT < styles.content.getRight
>    subparts.CONTENT_BORDER < styles.content.getBorder
>    subparts.CONTENT < styles.content.get
> 
> # Breadcrumb Navigation
> ###############################################
> subparts.breadcrumbs = HMENU
> subparts.breadcrumbs.special = rootline
> subparts.breadcrumbs.1 = TMENU
> subparts..breadcrumbs.1 {
> NO.allWrap = |*| <span class="topnav">&nbsp;» | </span> |*|
> ACT = 1
> ACT.allWrap = |*| <span class="topnav_act">&nbsp;» | </span> |*|
> }
> 
> 
> *And this in my TEMPLATE:*
> <!-- ###BREADCRUMBS### start -->
> <div id="breadcrumbs"> breadcrumbs </div>
> <!-- ###BREADCRUMBS### end-->
> 
> I'm not very good at this, so I dont even know if this was supposed to work?
> But the fact is that it dosent !!
> 
> I can get the Breadcrumb to work with the following code, but then i
> cant get it in to a specific table in my design.
> 
> ###BREADCRUMBS###
> page.2 = HMENU
>  page.2.special = rootline
>  page.2.special.targets.3 = page
>  page.2.1 = TMENU
>  page.2.1.target = _top
>  page.2.1.wrap = <hr /> | <hr />
>  page.2.1.NO {
>    linkWrap = | >
> }
> 
> Someone PLZ help the TYPOSCRIPT-NOOB :-)
> 
> Regards
> Kenneth Bo Larsen
> 
> 
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
> 
> --
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.1.405 / Virus Database: 268.10.10/418 - Release Date: 14/08/2006
> 
> --
> No virus found in this outgoing message.
> Checked by AVG Free Edition.
> Version: 7.1.405 / Virus Database: 268.10.10/418 - Release Date: 14/08/2006
> 
> 



More information about the TYPO3-english mailing list