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

Search found 6 matches
Smarty Forum Index
Author Message
  Topic: Escapes for single quotes?
charly71

Replies: 8
Views: 33174

PostForum: Tips and Tricks   Posted: Tue May 11, 2004 5:32 pm   Subject: Escapes for single quotes?
How can I escape MS Word quotes like chr(146) and chr(147)? There is some plug-in that does this?

Thanks!

(I quote myself...) Laughing

Yes, you can!

Now you can use a powerful modifier ca ...
  Topic: New modifier: escape_wquotes
charly71

Replies: 0
Views: 8670

PostForum: Plugins   Posted: Tue May 11, 2004 5:13 pm   Subject: New modifier: escape_wquotes
This modifier escapes Ms Word chars like chr(146) or chr(151) from your text. It uses a simple PHP str_replace() function.
I have made this modifier because I had some dirty text stored in a mysql fi ...
  Topic: Escapes for single quotes?
charly71

Replies: 8
Views: 33174

PostForum: Tips and Tricks   Posted: Tue May 11, 2004 3:21 pm   Subject: Escapes for single quotes?
How can I escape MS Word quotes like chr(146) and chr(147)? There is some plug-in that does this?

Thanks!
  Topic: Display sizeof() of an assigned array before a section?
charly71

Replies: 7
Views: 34982

PostForum: General   Posted: Wed Oct 22, 2003 11:04 am   Subject: Display sizeof() of an assigned array before a section?
Great!

It works. Thank u andre! Laughing

(I must re-read smarty docs... Embarassed )
  Topic: Display sizeof() of an assigned array before a section?
charly71

Replies: 7
Views: 34982

PostForum: General   Posted: Wed Oct 22, 2003 10:50 am   Subject: section total seems not work...
I can't write "No records found" when I've an empty section.

This is an example:
<ul>
{section name=i loop=$elenco}
{if $smarty.section.i.total lt 1}
<li>No ...
  Topic: Total (zero) number of section records
charly71

Replies: 1
Views: 8367

PostForum: Bugs   Posted: Wed Oct 22, 2003 10:48 am   Subject: Total (zero) number of section records
I can't write "No records found" when I've an empty section.

This is an example:
<ul>
{section name=i loop=$elenco}
{if $smarty.section.i.total lt 1}
<li>No ...
 
Page 1 of 1
All times are GMT
Jump to:  


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