Nukemods Forum  
» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 51
2 members and 49 guests
buynm6ymobcha8b, cliaw9cckhereto
Most users ever online was 611, 03-21-2008 at 10:10 PM.
» .::.
» .:.

Go Back   Nukemods Forum > NM Staff > Purged Topics

Reply
 
LinkBack Thread Tools Display Modes
need help with this block
Old
  (#1 (permalink))
Junior Member
 
Status: Offline
Posts: 5
Join Date: Nov 2002
need help with this block - 11-13-2002, 05:44 PM

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
Old
  (#2 (permalink))
Senior Member
 
Status: Offline
Posts: 2,905
Join Date: Sep 2002
11-13-2002, 07:18 PM

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
Old
  (#3 (permalink))
Junior Member
 
Status: Offline
Posts: 5
Join Date: Nov 2002
11-13-2002, 09:39 PM

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
Old
  (#4 (permalink))
Junior Member
 
Status: Offline
Posts: 48
Join Date: Nov 2002
Location: Florida
11-13-2002, 11:42 PM

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
 Send a message via ICQ to Rider Send a message via Yahoo to Rider Send a message via AIM to Rider Send a message via MSN to Rider  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#5 (permalink))
Senior Member
 
Status: Offline
Posts: 2,905
Join Date: Sep 2002
11-14-2002, 07:58 AM

Quote:
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





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