Issue Bug Closed

#20974Conditions regarding type don't work

Ben N 08/09/10, 15:39 updated 08/17/11, 19:05

Description

This condition:

[globalVar = GP:type=X]

has no impact in Frontend. In the TSOB it reflects changes correctly.

Probably related: config.linkVars = type has no effect either when manually setting type=X in the URL (meaning the links still point to type=0)

To clarify my situation, i have multiple rendertypes which i configured sth. like this:

config { global config }

page = PAGE
page.typeNum = 0
page.10 = USER
page.10.userFunc = tx_templavoila_pi1->main_page
page {}

rendertypeX = PAGE
rendertypeX.typeNum = X
rendertypeX.10.childTemplate = ###WHATEVER###
rendertypeX{}

I need the conditions to fill the TV-childtemplates with type-dependent TS-Objects like this:

lib.navMain < whatever.ts
[globalVar = GP:type=1]
lib.navMain >
lib.navMain < another.ts
[end]

And so on.
(issue imported from #M15406)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.