» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 63
0 members and 63 guests
No Members online
Most users ever online was 611, 03-21-2008 at 10:10 PM.
» .::.
Web Hosting - web hosting, dedicated servers and web design services
Online Degree - search for 1000+ online degrees, online colleges & online universities.
tattoo - we are a group of tattoo enthusiasts
Gexa Energy - your absolute best choice in electric service
Texas electricity - save on electric rates
buy Rimonabant - Help dieters achieve significant weight loss without having to slog in the gym

Register Now! Contact Us

About this Page
This is a discussion on Javascript refrence in a block within the Nuke 7.x - Blocks forums, part of the PHP-Nuke 7.x category; I want to get a javascript feed from usyouth soccer to work in my site. The instructions from the usyouth ...



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

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-10-2006, 02:47 PM
Junior Member
 
Join Date: Dec 2006
Posts: 5
Javascript refrence in a block
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
  #2 (permalink)  
Old 12-12-2006, 05:03 PM
Moderator
 
Join Date: Oct 2004
Posts: 260
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.
__________________
read me before posting
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 12-14-2006, 06:59 AM
Junior Member
 
Join Date: Dec 2006
Posts: 5
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
  #4 (permalink)  
Old 12-14-2006, 11:21 AM
Moderator
 
Join Date: Oct 2004
Posts: 260
here you go this should help you make your block
__________________
read me before posting
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 11:41 AM
Javascript Popup kevbocat Site design 0 06-08-2003 02:16 PM
JavaScript in nuke iphoenix Site design 15 05-31-2003 12:29 PM
Javascript help.. bosanac Site design 0 04-30-2003 04:06 PM
Adding Javascript Dman Purged Topics 4 03-14-2003 11:03 AM


All times are GMT -5. The time now is 05:10 PM.


Design by Vjacheslav Trushkin, color scheme by ColorizeIt!.

LinkBacks Enabled by vBSEO 3.1.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