Reputation: 556
I'm looking for a way to make the following code depend on which uid the link is created for. Specifically i only want to add additionalParams for typolinks that link to the page with uid 13.
lib.parseFunc_RTE.tags.a.typolink {
additionalParams.wrap = &tx_news_pi1[action]=detail&tx_news_pi1[controller]=News&tx_news_pi1[news]=|
additionalParams.data = GP:tx_news_pi1|news
}
it should probably work with case
or if
, but i'm stuck.
Upvotes: 0
Views: 427