PHP Web Host - Quality Web Hosting For All PHP Applications Clan Themes! We make clans look good!!
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
gonehaywire
Worker
Worker


Joined: May 20, 2004
Posts: 126

PostPosted: Thu May 20, 2004 3:25 pm Reply with quote Back to top

Hello,
I search everywhere looking for help in how to install the code for a popup i found some but they don't say where to add it or which file you open up to add them to i don't know if i open up the themes folder and look for a certain file to add it in? I know where i want to add it to the block like a new page link and all but where to add it to the file that calls it please help someone Crying or Very sad
View user's profile Send private message Visit poster's website
sixonetonoffun
Spouse Contemplates Divorce


Joined: Jan 02, 2003
Posts: 2499

PostPosted: Thu May 20, 2004 5:25 pm Reply with quote Back to top

Could you post the code if its a cut n paste code there are several ways to do this that should work as long as the function names don't conflict with any existing function names.
Putting it in includes/javascript.php is the default place for java code. But it can be a little difficult if its a complex script.

If its a complex script I'd just open a text file paste it in there remove the <script tags from the beginning and end and save it as myjava.js

Then upload it to your webroot (where mainfile.php is)
Then open your header.php and after include("includes/javascript.php");
put
include("myjava.js");

If your really confused just post the code and we'll help you get it straight.
View user's profile Send private message
gonehaywire
Worker
Worker


Joined: May 20, 2004
Posts: 126

PostPosted: Thu May 20, 2004 6:52 pm Reply with quote Back to top

I don't have the javacode it's self I ment i found this on a forum
Only registered users can see links on this board!
Get registered or login to the forums!
but reading lost me i see codes and stuff but where does it go? I need a popup 660wide and 260height i have the html file of it done but need to add code's
View user's profile Send private message Visit poster's website
sixonetonoffun
Spouse Contemplates Divorce


Joined: Jan 02, 2003
Posts: 2499

PostPosted: Thu May 20, 2004 7:18 pm Reply with quote Back to top

gonehaywire

Just copy the code there to a file edit the name for the block at the top of the script and change the url to the one you have save it as block-Cam.php or whatever name you use and upload it to your blocks directory. Then go your admin blocks and install the new block.
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum