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

Dizkus

Bottom
User input formatting? *solved*
  • Posted: 22.03.2005, 23:52
     
    jediping
    rank:
    Helper Helper
    registered:
     November 2004
    Status:
    offline
    last visit:
    12.03.07
    Posts:
    387
    I know this is gonna seem like an easy question, but I can't seem to find the answer.

    In the use of this module, users will be entering information, some of which will likely be long and have lots of paragraphs. I'd like to maintain at least the line-breaks. Is there a way to maintain the formatting of the inputted text, or at least the line-breaks? Because otherwise, I'll have a bit ol' mishmash of text that no one will be able to decipher. :)

    Thanks in advance!

    ****

    I knew it was going to be easy. Just use "|nl2br" in the template file. icon_redface

Extensions Moderation

Main Menu

Extensions Database

Documentation

Development

Login

Donate to Zikula