Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

Problem with nl2BR modifier. Help?

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> General
View previous topic :: View next topic  
Author Message
haste
Smarty Rookie


Joined: 07 Jun 2003
Posts: 17

PostPosted: Mon Nov 03, 2003 7:02 am    Post subject: Problem with nl2BR modifier. Help? Reply with quote

I couldn't get the nl2br modifier to work on an array variable.

Code:
{$article_array.article_body|nl2br}


Anyone know why?
Back to top
View user's profile Send private message
andre
Smarty Pro


Joined: 23 Apr 2003
Posts: 164
Location: Karlsruhe, Germany

PostPosted: Mon Nov 03, 2003 9:06 am    Post subject: Reply with quote

@haste

You should post some more information about your problem:
- What error does occure? Any message?
- What do you assign for $article_array? Sample code could be helpfull
- How does the outlook look?

nl2br does work so the problem lies somewhere else.
Back to top
View user's profile Send private message
haste
Smarty Rookie


Joined: 07 Jun 2003
Posts: 17

PostPosted: Mon Nov 03, 2003 10:33 am    Post subject: Reply with quote

Ooops. Sorry guys. I went back and looked at the code structure for a while and I realized that while I was clearing the cache, I didn't clear the completed templates. I have compile check turned off, and I just forgot about it. Embarassed

Thanks for all of the help, though. Very Happy
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> General All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP