TinyPortal

Development => Support => Topic started by: laric on November 28, 2007, 09:36:37 AM

Title: Pure html block?
Post by: laric on November 28, 2007, 09:36:37 AM
Is there any way I can make a pure html block?
What I mean is a block where I can paste html code and nothing messes with the code and just outputs it in a block?

Atm the bbc+html block changes every cr/lf into a <br /> and that breaks all my <script> tags.

I don't enjoy having to php encode all my html to php blocks as it makes the html harder to modify afterwards.

Sorry if this topic has been brought up before but sometimes it ain't easy to figure what to search for.
Title: Re: Pure html block?
Post by: G6Cad on November 28, 2007, 09:41:16 AM
If you use script in a html block it will not work, you will have to use the scriptblock as it reads both html and script at the same time.

Everytime you hit the ENTER button, it adds a break automaticly. So remove the the break tags and it will show as you like
Title: Re: Pure html block?
Post by: laric on November 28, 2007, 11:02:02 AM
Thanks for the help.. Never tried the scriptbox.. feeling embarressed that I didnt look further.
Title: Re: Pure html block?
Post by: alhaudhie on April 17, 2008, 06:49:32 PM
for the new tp version in bbc/html block i dont know where must i put my html code because there is no
part that i can put it... like this picture

(https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Fi111.photobucket.com%2Falbums%2Fn148%2Falhaudhie%2Fblock.jpg&hash=75deb544b06377f9d791c77d4733ad1e3e66e31c)
Title: Re: Pure html block?
Post by: G6Cad on April 17, 2008, 07:23:21 PM
The body will show when you edit the visual options for the blocks, you have not set it to show anywhere yet.
Title: Re: Pure html block?
Post by: trench on July 06, 2008, 03:29:27 PM
What do you mean, edit the visual options? I still cannot edit mine even when visiting the visual options and setting it.  There is not box to write or paste an HTML/BBC script.