[TYPO3-UG Italy] Molliche di pane
Francesco Pessina
typo3news at yahoo.it
Mon Mar 20 10:38:26 CET 2006
Anch'io uso questa soluzione di navigazione oltre al classico menu'
verticale..
Ti passo il mio codice:
Codice HTML per layout del template:
<div id="pathmenu">
<!--###PATH_MENU### START--><p>Path
menù</p><!--###PATH_MENU### STOP-->
</div>
Codice TypoScript sezione Template->Setup:
# Define the Template for Web page
temp.mainTemplate = TEMPLATE
temp.mainTemplate {
...
workOnSubpart = DOCUMENT_BODY
# Page Title displayed on each page
subparts {
...
PATH_MENU = HMENU
PATH_MENU.special = rootline
PATH_MENU.special.range= 0 | -1
PATH_MENU.1 = TMENU
PATH_MENU.1.noBlur=1
PATH_MENU.1.NO.allWrap= » ||*|
» <span class="pathmenu">|</span>
...
}
}
page = PAGE
page.typeNum = 0
...
#load into the PAGE object the TEMPLATE
page.10 < temp.mainTemplate
Saluti, Francesco.
Stefano Garganigo ha scritto:
> Salve a tutti,
>
> ho un piccolo problema che non riesco a risolvere.
>
> Vorrei inserire nel mio sito una navigazione di supporto stile "molliche di pane" o "breadcrumbs"
>
>
> Nel mio SETUP ho inserito:
>
> # Breadcrumb Navigation
> subparts.breadcrumbs = HMENU
> subparts.breadcrumbs.special = rootline
> subparts.breadcrumbs.excludeUidList = 463
> subparts.breadcrumbs.1 = TMENU
> subparts..breadcrumbs.1 {
> NO.allWrap = |*| <span class="topnav"> » | </span> |*|
> ACT = 1
> ACT.allWrap = |*| <span class="topnav_act"> » | </span> |*|
> }
>
>
> E nel template html:
>
> <!-- ###BREADCRUMBS### start -->
> <div id="breadcrumbs"> breadcrumbs </div>
> <!-- ###BREADCRUMBS### end-->
>
>
> Il risultato che visualizza è semplicemente: breadcrumbs (cioè la parola inserita nel template html tra i div.
>
> In altre parole non mi fa il collegamento.
>
> Dove sbaglio?
>
> Grazie.
>
> STEFANO
>
More information about the TYPO3-UG-italy
mailing list