rapila/cms-base — Issue #108: writeString parameter replace nested identifier does not work
Author: juergmessmer
Created: 2012-01-31 16:25:41+00:00
State: open
Labels: level-bug, logic-php

In a newsletter template we would like to use writeString passing a parameter languageId (newsletter language_id);

therefore we added the missing "languageId" parameter as a argument to getString() in SpecialTemplateIdentifierActions::writeString()

this is the code we expect in the template:
{{writeString=newsletter_addressing;languageId=\{\{language\}\}}}
but this does not work in this context, the identifier not processed, the resulting string is '{{language}}'

Possible workaround:
we could add a replaceIdentifier action in NewsletterMailer, but that does not seem to be apropriate.