Issue Bug Closed

#66586Conditions used in TSConfig not working on TCEFORM

Christian Stern 04/25/15, 09:54 updated 04/25/15, 10:34

Description

I have definied some costum elements via mod.wizards.newContentElement.wizardItems. Those elements should only appear in colPos 1337 for example.

[globalVar = GP:colPos == 1337]
mod.wizards.newContentElement.wizardItems {
    awesome {
        header = Special
        elements {
            this {
                title = This
                description = That
            }
        }
    }
    awesome.show = this
}
[global]

This is working as aspected. My next approach was disable some fields in this element, because they are never needed.

So i put TCEFORM.tt_content.header_link.disabled = 1 into the same condition.

[globalVar = GP:colPos == 1337]
TCEFORM.tt_content.header_link.disabled = 1
[global]

This is not working but using TCEFORM outside the condition is working.

Is there anyway to use TCEFORM-settings with condtions differentiating colpos?

Reviews 0

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