Smarty Forum Index Smarty
The discussions here are for Smarty, a template engine for the PHP programming language.

widont?? (escape?)

 
Post new topic   Reply to topic    Smarty Forum Index -> General
View previous topic :: View next topic  
Author Message
drgl
Smarty Rookie


Joined: 06 Oct 2017
Posts: 26

PostPosted: Fri Feb 21, 2020 1:56 pm    Post subject: widont?? (escape?) Reply with quote

Despite searching I can find no info on this, on one of my tpl files I see this :-

{$prods->mProds[c].name|escape:'htmlall'|widont}

What does the widont part do?

Thanks!
Back to top
View user's profile Send private message
AnrDaemon
Administrator


Joined: 03 Dec 2012
Posts: 1615

PostPosted: Sat Feb 22, 2020 3:11 pm    Post subject: Reply with quote

Search for definition of this modifier in your project. This is not a standard Smarty modifier.

See: https://www.smarty.net/docs/en/language.modifiers.tpl
Back to top
View user's profile Send private message
drgl
Smarty Rookie


Joined: 06 Oct 2017
Posts: 26

PostPosted: Fri Feb 28, 2020 10:19 am    Post subject: Reply with quote

Found it, thanks!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    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