Page 1 of 1

Decorator Plugin

Posted: Thu Mar 17, 2011 11:31 am
by jimi
Is it possible to have the decorator plugin act in a recursive manner? Say for instance I have the replacement {username} => $user->info->username the first instance of {username} in my text is replaced with the data, the second or subsequent instances of the replacement tag is not, it simply says the words {username}.

Could it be the fact that I have HTML surrounding the replacement text? IE: <b>{username}</b> ?


Edit: I just realized what is causing it. I have a box {signature} => $signature_code, and the variables within the string $signature_code are not being replaced. Is this possible using the decorator plugin?