Fiji Web Design
Welcome, Guest
Please Login or Register.    Lost Password?
help: PHP module - mod_php using str_replace() (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: help: PHP module - mod_php using str_replace()
#344
akane (User)
Fresh Boarder
Posts: 1
graphgraph
User Offline Click here to see the profile of this user
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.

e.x.
"HOMEPAGE" uses javascrip_1.js
"PRODUCT PAGE" uses javascrip_2.js
"ABPOUT US PAGE" uses javascrip_3.js

If you have some Idea that wouldn't use this technique but would achieve same result. I Open to it!

Thanks guys!
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
      Topics Author Date
    thread link
help: PHP module - mod_php using str_replace()
akane 2008/11/14 05:35
    thread link
thread linkthread link Re:help: PHP module - mod_php using str_replace()
admin 2008/11/14 17:45
    thread link
thread linkthread linkthread link Re:help: PHP module - mod_php using str_replace()
jacomstephens 2009/12/26 09:47
    thread link
thread linkthread linkthread linkthread link Re:help: PHP module - mod_php using str_replace()
jacomstephens 2009/12/26 09:50
    thread link
thread linkthread linkthread linkthread linkthread link Re:help: PHP module - mod_php using str_replace()
admin 2009/12/28 23:31
    thread link
thread linkthread linkthread linkthread linkthread linkthread link Re:help: PHP module - mod_php using str_replace()
jacomstephens 2009/12/29 17:16
    thread link
thread linkthread linkthread linkthread linkthread linkthread linkthread link Re:help: PHP module - mod_php using str_replace()
admin 2009/12/30 03:28
    thread link
thread linkthread linkthread linkthread linkthread linkthread linkthread linkthread link Re:help: PHP module - mod_php using str_replace()
jacomstephens 2009/12/30 08:23
    thread link
thread linkthread linkthread linkthread linkthread linkthread linkthread linkthread linkthread link Re:help: PHP module - mod_php using str_replace()
jacomstephens 2009/12/30 15:08
    thread link
thread linkthread linkthread linkthread linkthread linkthread linkthread linkthread linkthread linkthread link Re:help: PHP module - mod_php using str_replace()
admin 2009/12/30 20:35
    thread link
thread linkthread linkthread linkthread linkthread linkthread linkthread linkthread linkthread linkthread linkthread link Re:help: PHP module - mod_php using str_replace()
jacomstephens 2009/12/30 21:22
    thread link
thread linkthread linkthread linkthread linkthread linkthread linkthread linkthread linkthread linkthread linkthread linkthread link Re:help: PHP module - mod_php using str_replace()
admin 2009/12/30 21:53
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop

Joomla Downloads

DownloadsDownload our free Joomla! Components, Modules and Plugins.