Project

General

Profile

Actions

Bug #20695

closed

TS - linked conditions

Added by Simon Schick over 15 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2009-06-29
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

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 ...

======================================= =======================================
  1. 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]

======================================= =======================================
  1. 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)

Actions #1

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]

Actions

Also available in: Atom PDF