So fügt ihr den Titel eures Datensatzes in die Breadcrumb ein:
Hier am Beispiel tx_news:
lib.breadcrumb = COA
lib.breadcrumb {
wrap = <ol class="breadcrumb">|</ol>
20 = HMENU
20 {
special = rootline
special.range = 0|-1
1 = TMENU
1 {
NO = 1
NO {
stdWrap.htmlSpecialChars = 1
linkWrap = <li>|</li>
}
CUR = 1
CUR {
stdWrap.htmlSpecialChars = 1
linkWrap = <li class="active">|</li>
}
}
}
30 = RECORDS
30 {
if.isTrue.data = GP:tx_news_pi1|news
dontCheckPid = 1
tables = tx_news_domain_model_news
source.data = GP:tx_news_pi1|news
source.intval = 1
conf.tx_news_domain_model_news = TEXT
conf.tx_news_domain_model_news {
field = title
htmlSpecialChars = 1
wrap = <li class="active">|</li>
}
}
}
Hier der Teil für eure eigene Extension:
Die Bezeichnung “tx_products_productdetail” setzt sich aus Extensionname und Pluginname zusammen.
40 = RECORDS
40 {
if.isTrue.data = GP:tx_products_productdetail|product
dontCheckPid = 1
tables = tx_products_domain_model_product
source.data = GP:tx_products_productdetail|product
source.intval = 1
conf.tx_products_domain_model_product = TEXT
conf.tx_products_domain_model_product {
field = title
htmlSpecialChars = 1
wrap = <li class="active">|</li>
}
}