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?
- pborchelt answered »HowtoPNForms module unable to find template« 03:52h
- Teb answered »MenuTree Mystery« 05. Jul
- dks answered »include a file« 05. Jul
- dks answered ».764 -> 1.1.1, Can't add new blocks« 05. Jul
- craigh posted »PostCalendar 5.5.0RC1 needs testers and translators« 05. Jul
- bartl answered »Upgrading 1.0.2 --> 1.1.1« 05. Jul
- Charlie-otb answered »SafeHTML output filter and youtube« 05. Jul
Login
Preserving Input Format
-
- Rank: Freshman
- Registered: 12.06.04
- last visit: 04.10.06
- Posts: 24
-
- Rank: Professional
- Registered: 23.11.03
- last visit: 27.06.09
- Posts: 1678
Might help if you told us exactly what type of format you're trying to preserve, an example would be good.
--
Under Construction! -
- Rank: Helper
- Registered: 03.06.02
- last visit: 23.04.09
- Posts: 292
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.
- Moderated by :
- Support
Users online
This list is based on the users active over the last 60 minutes.
