Replace Entire Template - Printable Version +- MyBB Community Forums (https://community.mybb.com) +-- Forum: Extensions (https://community.mybb.com/forum-201.html) +--- Forum: Plugins (https://community.mybb.com/forum-73.html) +---- Forum: Plugin Development (https://community.mybb.com/forum-68.html) +---- Thread: Replace Entire Template (/thread-185296.html) |
Replace Entire Template - Scareface - 2015-10-19 How to replace entire template usingĀ find_replace_templatesets('forumbit_depth1_cat', ' ', ' '); RE: Replace Entire Template - Destroy666 - 2015-10-19 1. You should never replace entire templates, otherwise you may remove variables and other stuff added by other plugins etc. and people will complain. 2. But if you really want to, find_replace_templatests()'s 2nd argument is a search regex passed to preg_replace() in the function. You can use .* or anything similar. |