Did a bulk porting of content into MODx and now all contents are showing up as one long line. I suppose I could add a function in the porting process to convert all line breaks to
, but preferred to keep the raw data intact but only format them at presentation.
Are there things like output formatter/filter in MODx (in drupal i think they are misnomed as input filter)?
Also in Smarty, you can add a small processing funtion to your template variable such as {$content|nl2br} where $content would be the equavalent of TV and nl2br is the function. I wonder if there is similar constructs in MODx? I suppose one can probably write a snippet for this: is this the right way to go?
Many thanks!
Alan
-
☆ A M B ☆
- 2,213 Posts
This is exactly what I was looking for. Installed and working like a charm.
You have helped me out a few times already in the last couple of days. Thanks AMDBuilder!
-
☆ A M B ☆
- 2,213 Posts
Glad I could be of some assistance! If you think of any more questions fire away! I’ll try to let someone else answer for a change