1 dandv Sep 17, 2006 14:12
3 dandv Sep 17, 2006 22:17
stevet wrote:
If you want to change multiple files I've found a really useful app to do this called search and replace from http://www.funduc.com/
Thanks... this means changing every skin.
I'm looking for one file to place the change in, "above" any skin that happens to be used. Something like _blog_main.inc.php ?
4 blueyed Sep 21, 2006 19:54
Using _blog_main.inc.php would output it before any HTML and SCRIPT would need to go into HEAD, of course.
You may want to use a plugin.. the SkinBeginHtmlHead event should get triggered in all the default skins at least.
See http://manual.b2evolution.net/CreatingPlugin
If you want to change multiple files I've found a really useful app to do this called search and replace from http://www.funduc.com/
However this is dependent on there being something there to search and replace i.e. you cant (as far as I know) add something new to multiple files. I can see a workaround though. If you find a unique section of code just prior to where you want the new code just search for that code and replace with the same code PLUS your new line