PHP Developers Network

A community of PHP developers offering assistance, advice, discussion, and friendship.
 
Loading
It is currently Thu Dec 12, 2019 6:51 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Decorator Plugin
PostPosted: Thu Mar 17, 2011 11:31 am 
Offline
Forum Newbie

Joined: Thu Mar 17, 2011 11:28 am
Posts: 1
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?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group