Bug #20695
closedTS - linked conditions
0%
Description
I've two pages with tt_news.
On the first page (uid=29) the customer should see a news-listing and on the secound page (uid=30) he should see a CatMenu.
If you click on a category on the secound page the listView of this category should be displayed.
I've realisized this small part in this two ways - the first way works without problems - and the secound way didn't work like I explain you later ...
======================================= =======================================- first way
plugin.tt_news { # clear the code field
code >
defaultCode = LIST
}
[PIDinRootline = 30]
plugin.tt_news.code = CATMENU
[global]
[globalVar = GP:tx_ttnews|cat > 0]
plugin.tt_news.code = LIST
[global]
- secound way
plugin.tt_news { # clear the code field
code >
defaultCode = CATMENU
}
[globalVar = GP:tx_ttnews|cat > 0] || [PIDinRootline != 30]
plugin.tt_news.code = LIST
[global]
=======================================
=======================================
If I call the first page (uid=29) with the secound way - I see the CATMENU ...
But if I look at the conditions it can't be !!!
TYPO3 v4.3.0 alpha3
tt_news v2.5.2
(issue imported from #M11445)
Updated by Susanne Moog over 14 years ago
The second way can't work as there is no != operator for PIDinRootline.
Use e.g.:
[PIDinRootline=30]
[else]
plugin.tt_news.code = LIST
[end]