[TYPO3-UG Dutch] ul een class meegeven ineen2elaagverschillendvan NO. (normal) en ACT. (active)
Rik Willems - Actiview
rik at actiview.nl
Wed Mar 5 12:59:11 CET 2008
Hoi Jordan,
Hier staat iets, maar das bijna niets:
http://www.typo3wizard.com/en/snippets/general-config/pidinrootlinetreelevel
tsfeid.html
Ik heb ook dit, wellicht handig (wat ik met de divs doe, kan jij misschien
met de uls doen):
# Submenu with parent as header.
temp.panels.products = COA
temp.panels.products.10 = HMENU
[PIDinRootline=3]
temp.panels.products.10.wrap = <div class="panel panel-active">|</div>
[else]
temp.panels.products.10.wrap = <div class="panel">|</div>
[end]
temp.panels.products.10 {
entryLevel = 1
# Neem pagina's mee die vinkje hebben bij 'not in menu'. 0=nee 1=ja
includeNotInMenu = 1
special = list
special.value = 3
1 = TMENU
1 {
wrap = <ul class="navigatie-level1">|</ul>
NO.wrapItemAndSub= <li class="navigatie-level1">|</li>
NO.doNotLinkIt = 1
NO.stdWrap.htmlSpecialChars = 1
ACT=1
ACT.doNotLinkIt = 1
ACT.stdWrap.htmlSpecialChars = 1
ACT.wrapItemAndSub = <li class="navigatie-level1-active">|</li>
# cur state: valid for the actual page
CUR=1
CUR.doNotLinkIt = 1
CUR.stdWrap.htmlSpecialChars = 1
CUR.wrapItemAndSub = <li class="navigatie-level1-current-active">|</li>
# ifsub state: valid for pages that have subpages
IFSUB=1
IFSUB.doNotLinkIt = 1
IFSUB.stdWrap.htmlSpecialChars = 1
IFSUB.wrapItemAndSub = <li class="navigatie-level1-with-subpage">|</li>
}
# 1 = MENU
# 1 {
# NO.allWrap = <div class="submenu-title">|</div>
# NO.ATagTitle.field = abstract // description // subtitle // title
# NO.stdWrap.htmlSpecialChars = 1
# NO.noLink = 1
# }
}
temp.panels.products.20 < temp.panels.products.10
temp.panels.products.20 {
entryLevel = 1
# Neem pagina's mee die vinkje hebben bij 'not in menu'. 0=nee 1=ja
includeNotInMenu = 0
# Overwrite special uit .10
special = directory
1 = TMENU
1 {
wrap = <ul class="navigatie-level2">|</ul>
NO.wrapItemAndSub= <li class="navigatie-level2">|</li>
NO.doNotLinkIt = 0
ACT.wrapItemAndSub = <li class="navigatie-level2-active">|</li>
ACT.doNotLinkIt = 0
CUR.wrapItemAndSub = <li class="navigatie-level2-current-active">|</li>
CUR.doNotLinkIt = 1
IFSUB = 0
}
2 < .1
2 {
wrap = <ul class="navigatie-level3">|</ul>
NO.wrapItemAndSub= <li class="navigatie-level3">|</li>
ACT.wrapItemAndSub = <li class="navigatie-level3-active">|</li>
ACT.doNotLinkIt = 0
CUR.wrapItemAndSub = <li class="navigatie-level3-current-active">|</li>
IFSUB = 1
IFSUB.doNotLinkIt = 0
IFSUB.wrapItemAndSub = <li class="navigatie-level3-with-subpage">|</li>
}
3 < .2
3 {
wrap = <ul class="navigatie-level4">|</ul>
NO.wrapItemAndSub= <li class="navigatie-level4">|</li>
ACT.wrapItemAndSub = <li class="navigatie-level4-active">|</li>
CUR.wrapItemAndSub = <li class="navigatie-level4-current-active">|</li>
IFSUB.wrapItemAndSub = <li class="navigatie-level4-with-subpage">|</li>
}
}
temp.panels.markets < temp.panels.products
[PIDinRootline=4]
temp.panels.markets.10.wrap = <div class="panel panel-active">|</div>
[else]
temp.panels.markets.10.wrap = <div class="panel">|</div>
[end]
temp.panels.markets.10.special.value = 4
temp.panels.markets.20.special.value < temp.panels.markets.10.special.value
-----Original Message-----
From: typo3-ug-dutch-bounces at lists.netfielders.de
[mailto:typo3-ug-dutch-bounces at lists.netfielders.de] On Behalf Of Jordan van
Bergen
Sent: woensdag 5 maart 2008 12:48
To: typo3-ug-dutch at lists.netfielders.de
Subject: Re: [TYPO3-UG Dutch] ul een class meegeven
ineen2elaagverschillendvan NO. (normal) en ACT. (active)
Hoi Rik,
> Maak je de losse submenus apart aan, of in een keer door?
in 1x
> Anders kan je met
> [PIDinRootline=8] iets doen...
Aha. dit is weer een suggestie die me wellicht op weg kan helpen. Heb je zo
een link voor mij waar die PIDinRootline= besproken wordt?
Ik had verwacht:
http://typo3.org/documentation/document-library/references/doc_core_tsref/4.
1.0/view/10/8/
Maar daar zie ik het niet.
Groeten,
Jordan
_______________________________________________
TYPO3-UG-dutch mailing list
TYPO3-UG-dutch at lists.netfielders.de
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-ug-dutch
More information about the TYPO3-UG-dutch
mailing list