Unable to post HTML code as content?

Author Message

David Barker

Monday 28 July 2003 4:35:18 pm

Hi,
I've decided to make my site around the demo site - seems a lot easier!!
But I have a question... I wanted to put some HTML code as some content but it wouldn't let me :( I used the 'Info Page' class and pasted my code into the body of that but when I looked at my site it wasn't like it was meant to be. When I looked at the Info Page in admin, eZpublish had stripped my code of a lot of stuff and even deleted most of it (like border instructions for tables had gone etc).

I've just found out how to make general HTML code, but I have two more questions...

* How can I make the table border a different colour (in the documentation it doesnt mention that)?

and

* How can I add a form in the HTML? All of the form components were stripped when I tried too.

Thanks,
David

Bjørn Kaarstein

Tuesday 29 July 2003 1:57:56 am

Take a look at the bottom of this page...

http://www.ez.no/manual/user/everyday

There you'll find out which tags are supporterd by the XML-field.

Regards Bjørn

David Barker

Tuesday 29 July 2003 2:49:20 am

Hi,
I looked at those but it doesn't say that you can put a form in - is it possible? I know you can make forms with eZpublish but I want to include a poll script in a wierd place on my page (in the middle of the content) so I was wondering if I can use my own forms rather than make them through eZpublish?

Thanks,
Dave

Karsten Jennissen

Tuesday 29 July 2003 2:57:50 am

The easiest way is to directly make a template with the form code and use the override functionality to include it in the desired spots.

Karsten

David Barker

Tuesday 29 July 2003 5:41:02 am

ahhh I see. You mean kind of like the demo does - with the top navigation bar?

What code would I put when I'm writing the content? (ie how would I call the file with my form code?)

Thanks!
Dave

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 31 2025 03:45:39
Script start
Timing: Jan 31 2025 03:45:39
Module start 'layout'
Timing: Jan 31 2025 03:45:39
Module start 'content'
Timing: Jan 31 2025 03:45:39
Module end 'content'
Timing: Jan 31 2025 03:45:39
Script end

Main resources:

Total runtime0.0237 sec
Peak memory usage8,192.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0059 588.2500151.2266
Module start 'layout' 0.00600.0044 739.4766220.7031
Module start 'content' 0.01030.0118 960.1797997.6797
Module end 'content' 0.02210.0016 1,957.859433.9922
Script end 0.0237  1,991.8516 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002611.0781140.0002
Check MTime0.00114.4344140.0001
Mysql Total
Database connection0.00062.680410.0006
Mysqli_queries0.004418.451130.0015
Looping result0.00000.051210.0000
Template Total0.00125.110.0012
Template load0.00093.821610.0009
Template processing0.00031.251810.0003
Override
Cache load0.00072.742610.0007
General
dbfile0.00020.952480.0000
String conversion0.00010.228140.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs