I've had to do this using the old 'tt_news' extension and also the new one called just 'news'. This is how I got it working:
Using old 'tt_news':
On the blog (list view and detailed view) override what you had on your 'breadcrumbs' object:
lib.breadcrumbs >
lib.breadcrumbs = COA
lib.breadcrumbs {
#Add news title if on single view
20 = RECORDS
20 {
dontCheckPid = 1
tables = tt_news
source.data = GP:tx_ttnews|tt_news
source.intval = 1
conf.tt_news = TEXT
conf.tt_news {
field = title
htmlSpecialChars = 1
}
wrap = <span>Blog > |</span>
}
}
Using the new 'news' extension:
lib.breadcrumbs {
#Add news title if on single view
20 = RECORDS
20 {
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 = <span>|</span>
}
}
Hope you found this posting helpful (and saves you some time).
Thanks for reading. See you in my next posting...
No comments:
Post a Comment