>>
Site Map
>>
Forums
>>
Operation
Forum module - topics in forum:
Operation - Get help on how each part of PHP-NUKE works
Problem with block not showing correctly
I have a block set up that I wish to put some HTML code in I got from the Weather Channel to show the current weather in my area. Well, the code works. I put it in an HTML editor and looks fine. I think it may be the way I set up my block. It says its an HTML block, but all that shows up in my block is code. I put the html tags in front of the code.
What am I doing wrong?
You can not use plain old HTML in a block. You must convert it to PHP. If you don't know how try using the block creator on the left.
I also converted it to PHP, but again, just only showed code. Now I ONLY put the php code in, nothing more. Is there some tags I may be missing?
Are we supposed to guess at what might be missing? What version of nuke are you using and how about posting the code (PHP) so we can actually see what you did.
Blocks
I always had this problem to create blocks using html (thanks to seven for making me think)
First take you html code and then use as they say the block creater but you also have to edit the line at the bottom for what you are going to call the block, when you create the block to start it will be called WHATEVER by default you have to change this as well to what you want to call your block so if you are making a video block rename this VIDEO if you take your time and read it carefully it will fall into place.
I had to read it 3 or 4 times until i see it.
Hope this helps
Mick