help: PHP module - mod_php using str_replace() 3 Years, 3 Months ago
Karma: 0
hi everyone,
I need help using mod_php in my joomla 1.5 site. I want to use this module for finding and replacing some tag on the head section of joomla by using str_replace() and they vary on different pages. The problem is i have little knowledge on PHP but basically this is what i want to achieve, first I want to find the "<head>" tag and insert this "<script src="somejavascript_1.js" type="text/javascript" />" tag below the "<head>" tag.
I'm using a module for the reason i want to insert javascript to specific pages only and I have 3 different javascript that i would insert in different pages of my site.