Reputation: 1362
In my constants I have a select dropdown with two options.
In my setup can I change the page.shortcutIcon
setting depending on what that constant is set to?
Also, can I use the same constant to determine a setting in PageTSConfig or the rte .yaml config?
Upvotes: 0
Views: 274
Reputation: 10791
Why don't you add an additional field to the pages
record for your new value?
This value can be evaluated in the PageTS for backend conditions.
And it could be evaluated in the frontend. either in the regular typoscript setup (use data instead of constants) or in FLUID as field of your pages
data.
Upvotes: 1
Reputation: 1250
Its not possible to use Typoscript Template Constants (frontend).
In PageTS (Backend configuration)
Thr backend does not need and does not evaluate the configuration there.
Upvotes: 1