Hi Leute,
ich habe ein Problem mit Breadcrumb, die ich im TS einbinden möchte nach der Google-Syntax https://developers.google.com/structured-data/breadcrumbs?hl=de
Insofern passt es, jedoch habe ich einen Lösungsansatz für "itemref" gefunden und Google spuckt mir leider auch nichts aus. Suche schon seit gestern nach einer Lösung.
Mein TS:
lib.breadcrumb = HMENU
lib.breadcrumb {
special = rootline
special.range = 0|-1
entryLevel = 0
1 = TMENU
1 {
noBlur = 1
NO {
wrapItemAndSub.insertData = 1
wrapItemAndSub = <div id="list-{field:uid}" itemscope itemtype="http://data-vocabulary.org/Breadcrumb" itemref="testlist-{register:count_HMENU_MENUOBJ}" >|</div> |*| <div id="list-{field:uid}" itemscope itemtype="http://data-vocabulary.org/Breadcrumb" itemprop="child" itemref="testlist-{register:count_HMENU_MENUOBJ}" >|</div> |*| <div id="list-{field:uid}" itemscope itemtype="http://data-vocabulary.org/Breadcrumb" itemprop="child">|</div>
stdWrap.htmlSpecialChars = 1
#linkWrap = <span>|</span>
allWrap = | › ||*|| › ||*||
ATagParams = itemprop="url"
stdWrap.wrap = <span itemprop="title">|</span>
# |*|<span itemprop="child">|
}|
}
}
page = PAGE
page.20 < lib.breadcrumb
Es geht um "itemref="testlist-{register:count_HMENU_MENUOBJ}"
Würde mich um jede Hilfe freuen. Vielen Dank!
binaryTree