» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 50
1 members and 49 guests
asteikuw
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
Football Betting - best nfl betting promotions at sportsbook.com.
Oral Chelation - initial cleansing of your veins & arteries
Portatiles - Ofertas en Ordenadores y Portatiles. Increibles Ofertas DELL.

Register Now! Contact Us

About this Page
This is a discussion on need help with this block within the Purged Topics forums, part of the NM Staff category; i need to show information from an html file within a block...how would i do this? thanks...



Go Back   Nukemods Forum » NM Staff » Purged Topics

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-13-2002, 05:44 PM
Junior Member
 
Join Date: Nov 2002
Posts: 5
need help with this block
i need to show information from an html file within a block...how would i do this? thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 11-13-2002, 07:18 PM
Senior Member
 
Join Date: Sep 2002
Posts: 2,905
Your best bet is to experiment. Go to your Nuke Admin then to Blocks.

Down where you add a Blocks, give it a name, then put your HTML in the respective box below. Don't select a block from your drop down menu like you usually would.

Set it for Admin View only, then save it.

Playing around is the best way to learn, Just backup first.

mikem
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 11-13-2002, 09:39 PM
Junior Member
 
Join Date: Nov 2002
Posts: 5
ok i can't just paste the html code from the html file to the textbox in the block admin page because it is a file that is generated every 5 minutes...
this is what i have so far...
i made a block-Myblock.php file in the /blocks folder...and wrote:
include("myfile.html");

for some reason the content of myfile.html is displayed outside of the block in the main page... anymore help please?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 11-13-2002, 11:42 PM
Junior Member
 
Join Date: Nov 2002
Location: Florida
Posts: 48
Send a message via ICQ to Rider Send a message via AIM to Rider Send a message via MSN to Rider Send a message via Yahoo to Rider
I did it manually. First, make a new file in your favorite editor.

Leave it blank and save it as block-BLOCK_NAME.php

Of course, delete BLOCK_NAME and enter the name you wish.

Upload it into your Block folder.

Go to the Admin Section and make a new block. Select your newly created file and click CREATE.

Now, open the file that you just made blank. I suggest you download other block.php pages and experiment to get the desired html code. It is a little different.

-Rider
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 11-14-2002, 07:58 AM
Senior Member
 
Join Date: Sep 2002
Posts: 2,905
Originally Posted by vital
ok i can't just paste the html code from the html file to the textbox in the block admin page because it is a file that is generated every 5 minutes...
this is what i have so far...
i made a block-Myblock.php file in the /blocks folder...and wrote:
include("myfile.html");

for some reason the content of myfile.html is displayed outside of the block in the main page... anymore help please?
I've had that same exact issue before with he blcok contents being outside the block.

You need to look at another block code and compare it to yours.

mikem
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



All times are GMT -5. The time now is 01:04 AM.


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