XF 2.1 Batch templates Modification

Mian Shahid

Well-known member
Hi, can anyone tel me the easiest way to change a set of 2 constant words for example itd(itdarasgah from morethen 200 templates at once? either from XF ACP or phpMyadmin.

Creating one template modification for 200+ templates is not an easy task :unsure: :unsure: :unsure:

Thanks in Advance
 
You'd probably be better of to create an add-on that hooks into templater_template_post_render and templater_macro_post_render. It's a bit more straining for your system as it'll get called every time a template gets rendered, but as long as you keep it to a simple text replacement, the performance impact would be negligible. And it'll automatically be applied to all potential further templates for you.
 
You'd probably be better of to create an add-on that hooks into templater_template_post_render and templater_macro_post_render. It's a bit more straining for your system as it'll get called every time a template gets rendered, but as long as you keep it to a simple text replacement, the performance impact would be negligible. And it'll automatically be applied to all potential further templates for you.
Thanks for this nice suggestion.
 
Back
Top Bottom