How can I prevent page layout from teasers?

ptaro - January 16, 2009 - 10:49

My client(customer) is unfamiliar with HTML and uses drupal with FCKeditor.
He can't input <!--break--> , so page layout is broken when a page that displays teasers(ex. '/node') is viewed.

ex
'body'

<table>
<tr><td>aaa</td><td>bbb</td></tr>
<tr><td>ccc</td><td>ddd</td></tr>
<tr><td>eee</td><td>fff</td></tr>
</table>

'teaser'

<table>
<tr><td>aaa</td><td>bbb</td></tr>
<tr><td>ccc</td><td>ddd</td>

I looked for the module which switches input formats depending on view type(node/teaser).
But I can't find it.
Please tell me what I should do.

I'm sorry that my English skills are not highly developed.
Thank you.

Try to comment it out before

hectorplus - January 16, 2009 - 12:27

Try to comment it out before the table starts or comment it out when the table is closed, you cannot show just part of the table - ok, you could, but it would look messy.

HectorPlus.com

Thank you for your

ptaro - January 19, 2009 - 10:17

Thank you for your reply.

I'm sorry my explanation is poor.
I can comment it out.
But my client cannot comment it out when he creates a new content because he is unfamiliar with HTML.
What should I do? Are there any modules which help him?

Code correctors/cleaners

LiquidWeb - January 19, 2009 - 02:29

Code correctors/cleaners like http://drupal.org/project/htmlpurifier and http://drupal.org/project/htmLawed may help you. I haven't tried those modules for e scenario like your one but. These modules should close opened tags to be sure your code is W3C competible. If it is possible I would recommend upgrading to v6 because at drupal 6 html corrector is in core and FCK editor has a builtin break button for v6.

Thank you for your reply!

ptaro - January 19, 2009 - 10:20

I'll try to use these modules.
Thank you for your advice.

 
 

Drupal is a registered trademark of Dries Buytaert.