Nukemods Forum  
» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 85
9 members and 76 guests
achtso4illesttj, claudiamazzonif, getzw5tridofy6n, horbd4aseracidn, howsztoge2xwtp, hypye4notherape, res3sawumewotg4, snahwpbaxj2fckc, watpperpr
Most users ever online was 611, 03-21-2008 at 11:10 PM.
» .::.
tattoo fonts
http://www.checkoutmyink.com/category/tattoo-fonts-tattoo

Go Back   Nukemods Forum > PHP-Nuke 7.x > Nuke 7.x - Blocks

Reply
 
LinkBack Thread Tools Display Modes
Javascript refrence in a block
Old
  (#1 (permalink))
Junior Member
 
Status: Offline
Posts: 5
Join Date: Dec 2006
Javascript refrence in a block - 12-10-2006, 03:47 PM

I want to get a javascript feed from usyouth soccer to work in my site. The instructions from the usyouth soccer sight says...

Quote:
You may now add this product to your site. All you need to do is cut and paste the following link anywhere inside the body tags of your web page.

Note: ensure that the tag is pasted within the "BODY" tag:
(ie. )

The HTML code you must include on your site is below:

LANGUAGE="javascript" TYPE="text/javascript" SRC="http://usyouthsoccer.org/newsservice/news.js"
*script tags removed

This of course doesnt work for me when I try to put it in the content section of a new block.

noob does not begin to describe my skill level with phpnuke, so please excuse my stupid questions
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#2 (permalink))
Moderator
 
Status: Offline
Posts: 260
Join Date: Oct 2004
12-12-2006, 06:03 PM

what version are you running? are there any addons/hacks installed?
try opening notepad and pasting this
Code:
if ( !defined('BLOCK_FILE') ) {
    Header("Location: ../index.php");
    die();
}

$content = "here you may insert your code, make sure you use the " (quotes) correctly";
save it as block-insertnamehere.php and upload it to your /block folder then just active it as you would with any block.
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#3 (permalink))
Junior Member
 
Status: Offline
Posts: 5
Join Date: Dec 2006
12-14-2006, 07:59 AM

Im using 7.9. The only addons I have added so far is a weather ticker and quote of the day block.


When I insert the code, do I do it as straight HTML inside the quote marks?
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#4 (permalink))
Moderator
 
Status: Offline
Posts: 260
Join Date: Oct 2004
12-14-2006, 12:21 PM

here you go this should help you make your block
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How Do I insert javascript into a block? lkoelbel Nuke 7.x - Blocks 0 04-05-2006 12:41 PM
Javascript Popup kevbocat Site design 0 06-08-2003 03:16 PM
JavaScript in nuke iphoenix Site design 15 05-31-2003 01:29 PM
Javascript help.. bosanac Site design 0 04-30-2003 05:06 PM
Adding Javascript Dman Purged Topics 4 03-14-2003 12:03 PM




vBulletin Skin developed by: vBStyles.com


LinkBacks Enabled by vBSEO 3.3.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31