Question
#2
(2015-10-26, 09:28 PM)chack1172 Wrote: It's reccomended that user put this variable in template or that I put it with the plugin?

Obviously the 2nd option

(2015-10-26, 09:28 PM)chack1172 Wrote: I got this question for theme that didn't have this code:
<strong><a href="{$forum_url}">{$forum['name']}</a></strong>

Well, first of all, your regex should be as short as possible in terms of the code it requires. <strong> should be either optional (use ?) or not included in the regex at all, if you want to affect as many themes as possible. And for those that still won't be affected, you can include a "Template changes" documentation - I do it for all of my plugins.
Reply


Messages In This Thread
Question - by chack1172 - 2015-10-26, 09:28 PM
RE: Question - by Destroy666 - 2015-10-30, 08:40 AM

Forum Jump:


Users browsing this thread: 3 Guest(s)