TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,963
  • Latest: BiZaJe
Stats
  • Total Posts: 195,917
  • Total Topics: 21,308
  • Online today: 728
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 356
  • Total: 356

Pure html block?

Started by laric, November 28, 2007, 09:36:37 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

laric

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.

G6Cad

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

laric

Thanks for the help.. Never tried the scriptbox.. feeling embarressed that I didnt look further.

alhaudhie

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


G6Cad

The body will show when you edit the visual options for the blocks, you have not set it to show anywhere yet.

trench

#5
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.

This website is proudly hosted on Crocweb Cloud Website Hosting.