Any PhP Developers around? (Full Version)

All Forums >> [Casual Banter] >> Off the Grid



Message


MMagic -> Any PhP Developers around? (8/4/2009 6:04:43 PM)

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.






DomKen -> RE: Any PhP Developers around? (8/4/2009 6:18:42 PM)

Ask your question and I'll try and answer.




MMagic -> RE: Any PhP Developers around? (8/5/2009 1:44:22 PM)

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.






DomKen -> RE: Any PhP Developers around? (8/5/2009 2:41:25 PM)

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.




MMagic -> RE: Any PhP Developers around? (8/5/2009 2:46:34 PM)

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.




DomKen -> RE: Any PhP Developers around? (8/5/2009 8:28:13 PM)

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.




MMagic -> RE: Any PhP Developers around? (8/6/2009 9:19:13 AM)

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?




Page: [1]

Valid CSS!




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