Collarspace Discussion Forums


Home  Login  Search 

Any PhP Developers around?


View related threads: (in this forum | in all forums)

Logged in as: Guest
 
All Forums >> [Casual Banter] >> Off the Grid >> Any PhP Developers around? Page: [1]
Login
Message << Older Topic   Newer Topic >>
Any PhP Developers around? - 8/4/2009 6:04:43 PM   
MMagic


Posts: 183
Joined: 2/9/2009
Status: offline
Ok I'm desperate for help, any php developers around that can help with a simple script question?

I swear you don't have to do the coding, just tell me where to put said script, lol.




_____________________________

Between two evils, I always pick the one I never tried before. -Mae West


Profile   Post #: 1
RE: Any PhP Developers around? - 8/4/2009 6:18:42 PM   
DomKen


Posts: 19457
Joined: 7/4/2004
From: Chicago, IL
Status: offline
Ask your question and I'll try and answer.

(in reply to MMagic)
Profile   Post #: 2
RE: Any PhP Developers around? - 8/5/2009 1:44:22 PM   
MMagic


Posts: 183
Joined: 2/9/2009
Status: offline
quote:

ORIGINAL: DomKen

Ask your question and I'll try and answer.


Sorry for delay had to get permission to speak to you.  I'm building a content slider and want to use it in my CMS which is EZ Publish.  The tutorial for the content slider says the place the jquery part of the script between the header tags in the html file.  EZ does not have an index.html file. It does however have templates that MAY have header tags (I just got tipped on this part this morning but just got back in here to check).  If it does not, where would I put the jquery script AND the rest of it to get it to show on my site? EZ does have an index.php file. Hope that makes sense, I suck at PhP.




_____________________________

Between two evils, I always pick the one I never tried before. -Mae West



(in reply to DomKen)
Profile   Post #: 3
RE: Any PhP Developers around? - 8/5/2009 2:41:25 PM   
DomKen


Posts: 19457
Joined: 7/4/2004
From: Chicago, IL
Status: offline
Your index.php file is processed to create the index.htm file that is sent to the browser. If you look at the source code you should see where it outputs text like:
<HTML><HEAD>

followed by more text that outputs the rest of the page. Your script needs to be put into the program so that it gets output after the <HEAD> tag but before is created </HEAD> tag.

I hope that helps.

(in reply to MMagic)
Profile   Post #: 4
RE: Any PhP Developers around? - 8/5/2009 2:46:34 PM   
MMagic


Posts: 183
Joined: 2/9/2009
Status: offline
Nope, lol!  I'm one of those that doesn't need the mechanics of how it works just where to put it.  So I'll try rephrasing, maybe not asking it right. Will putting it in the index.php anywhere achieve this or do you think the templates is my best bet. Because there is no index.html or .htm file..only .tpl and .php files.

_____________________________

Between two evils, I always pick the one I never tried before. -Mae West



(in reply to DomKen)
Profile   Post #: 5
RE: Any PhP Developers around? - 8/5/2009 8:28:13 PM   
DomKen


Posts: 19457
Joined: 7/4/2004
From: Chicago, IL
Status: offline
Ahh. I see the confusion now. Assuming you want the script to run every time index.php is run, IOW every time the default page of the site is requested, then index.php is the place to put it.

(in reply to MMagic)
Profile   Post #: 6
RE: Any PhP Developers around? - 8/6/2009 9:19:13 AM   
MMagic


Posts: 183
Joined: 2/9/2009
Status: offline
quote:

ORIGINAL: DomKen

Ahh. I see the confusion now. Assuming you want the script to run every time index.php is run, IOW every time the default page of the site is requested, then index.php is the place to put it.


Ah, but will I be able to just stick it anywhere? Or does it have to be between any specific tags?


_____________________________

Between two evils, I always pick the one I never tried before. -Mae West



(in reply to DomKen)
Profile   Post #: 7
Page:   [1]
All Forums >> [Casual Banter] >> Off the Grid >> Any PhP Developers around? Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts




Collarchat.com © 2025
Terms of Service Privacy Policy Spam Policy

0.063