Forum Activity

Forum feed

Preserving Input Format  Top

  • I have created a new module. One problem I am having the preservation of the forma tof the text that input form the form. I am a novice to PostNuke, but have some experience with PHP and MySQL.

    I have tried using the pnVarPrepFroStore before the data is INPUT to the database. I have also tried pnVarPrepForDisplay when printing the text to the page. However, the returns are not preserved.

    Can someone point me in the right direction?
  • Might help if you told us exactly what type of format you're trying to preserve, an example would be good.

    --
    Under Construction!
  • To show the returns, you need to use the nl2br modifer

    Code

    <!--[$FieldToDisplay|pnvarprepfordisplay|nl2br]-->


    --
    cyber_wolf
    www.bkbsolutions.com - My Zikula module development site.

This list is based on the users active over the last 60 minutes.