Zikula: A Flexible Open Source Content Management System
home | forum | contact us

Dizkus

Bottom
Module: FAQ - how to remove <br /> auto generation
  • Posted: 24.04.2004, 03:35
     
    jptechnical
    rank:
    Registered User Registered User
    registered:
     April 2004
    Status:
    offline
    last visit:
    23.04.04
    Posts:
    1
    I am using the FAQ module in a 7.2.6 largely clean install.

    I put in HTML in the faq module and use DreamWeaver to do the layout (after deleteing the head and body tags).

    The problem is that dreamweaver's lines are not compatible with the FAQ module. :shock:

    Code

    <TABLE border="1">
      <tr>
        <td>Extension</td>
        <td>Description</td>
      </tr>


    must be

    Code

    <TABLE border="1"><tr><td>Extension</td><td>Description</td></tr>


    Otherwise once you save the content it adds a
    to all line breaks.

    Oh- don't forget the real kicker... the
    is parsed before the table tags so all the breaks are displayed above the table so if you have 20 rows you get at least 20 br's before... took me a while to get that one!

    I have searched the forums and not found anything specific to this. I found some similar posts for different modules but cannot find the proper code references in the FAQ code.

    Please let me know if there is a workaround other than deleting all line breaks before pasting (makes for an interesting looking code block.... read-wall of code), or if the FAQ module is not designed for what I am trying to do than let me know.



    I appreciate the help... I am chomping at the bit to get ahold of .75. I have been a nuke nut for at least 3 years and love PostNuke! For me every new web project ends up being a new way to use PN.
  • Posted: 24.04.2004, 10:07
     
    frankpw
    rank:
    Freshman Freshman
    registered:
     April 2004
    Status:
    offline
    last visit:
    16.01.06
    Posts:
    16

    jptechnical

    ...
    The problem is that dreamweaver's lines are not compatible with the FAQ module. :shock:
    ...

    Set DreamWeaver's autocorrection of code to OFF.

Extensions Moderation

Main Menu

Extensions Database

Documentation

Development

Login

Donate to Zikula