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 3336 matches
Smarty Forum Index
Author Message
  Topic: Foreach loops help
messju

Replies: 13
Views: 22489

PostForum: General   Posted: Wed Aug 27, 2014 9:01 am   Subject: Foreach loops help
what mohrt says. Smile
  Topic: $error_reporting is not processed in 3.0-Release
messju

Replies: 11
Views: 16989

PostForum: Smarty 3   Posted: Fri Nov 12, 2010 12:43 pm   Subject: $error_reporting is not processed in 3.0-Release
I agree with U. Tews: you should handle error reporting on your own.

If you have "subsequent code" (In my applications something like $smarty->display() is almost always the last line ...
  Topic: Code executed twice
messju

Replies: 9
Views: 17644

PostForum: General   Posted: Thu Jul 08, 2010 9:05 am   Subject: Code executed twice
It is pretty likely that you have an empty img-src- or script-src- or link-href-stylesheet-attribute in your output.
The browser tries to load the image relative to the current URL and makes this fet ...
  Topic: Bug in modifier.truncate.php
messju

Replies: 4
Views: 10294

PostForum: Smarty 3   Posted: Wed Jul 07, 2010 12:12 pm   Subject: Bug in modifier.truncate.php
Where is the problem?
"isn’t a good choice" is no valid bug report.
You missed to mention what output you expect and what output you get instead.
  Topic: Smarty 3.0 RC1: Case sensitivity for tags
messju

Replies: 3
Views: 7194

PostForum: Bugs   Posted: Wed May 12, 2010 6:58 pm   Subject: Re: Smarty 3.0 RC1: Case sensitivity for tags

(can't imagine situation where one might need to have functiosn like PAGE, page, Page, PaGe, etc)


can't imagine a situation where one might mean page but type PAGE, Page, or PaGe...
  Topic: Smarty not Working when Magic_Quotes is ON
messju

Replies: 4
Views: 10721

PostForum: Bugs   Posted: Fri Mar 19, 2010 10:22 am   Subject: Smarty not Working when Magic_Quotes is ON
I can't change the magic_quotes_runtime to OFF because I am working for my client and the client doesn't want to off that feature.


Then try to get another client. SCNR.

magic_quotes_runtime is ...
  Topic: 2.6.26: bug with modifiers
messju

Replies: 1
Views: 5907

PostForum: Bugs   Posted: Fri Mar 19, 2010 9:29 am   Subject: 2.6.26: bug with modifiers
Modifiers work pretty fine for me in Smarty-2.6.26 regardless of curly braces or back-ticks or whatever as delimiters.

You must have some other screw-up in your setup.
  Topic: array only printing the first letter of the value
messju

Replies: 2
Views: 10732

PostForum: General   Posted: Wed Jan 13, 2010 8:17 pm   Subject: array only printing the first letter of the value
If you are only getting the first character you are accessing a string and not an array.
The reason "because it's nested too deep" is wrong here.
You should have used $error.errordiv and n ...
  Topic: $_SESSION is not updated
messju

Replies: 5
Views: 12563

PostForum: Bugs   Posted: Tue Jun 16, 2009 2:04 pm   Subject: $_SESSION is not updated
FrankTM has a test case here http://scriptzone.nl/~frank/smarty_testcase-sessions/ that shows the change of behaviour in Smarty-2.6.24.

funnily the change is in 2.6.24 and not in 2.6.23 where " ...
  Topic: tag parsing bug
messju

Replies: 5
Views: 11077

PostForum: Bugs   Posted: Tue Jun 09, 2009 8:39 am   Subject: tag parsing bug
Hi,

increase the pcre.backtrack_limit ini-setting.

HTH
  Topic: regex_replace ersetzt nur letzten Match
messju

Replies: 3
Views: 9661

PostForum: Language: German   Posted: Mon Jan 05, 2009 11:18 am   Subject: regex_replace ersetzt nur letzten Match
(.*) Ist per default greedy, also matched #(.*)# alles von der ersten bis zur letzten Raute (inkl. aller Rauten). du willst wahrscheinlich #(.*?)# - also non-greedy Matching.
  Topic: load_filter('output','compress')
messju

Replies: 5
Views: 12293

PostForum: Language: German   Posted: Fri Dec 12, 2008 4:01 pm   Subject: load_filter('output','compress')
meinst du vielleicht sowas?
http://smarty.incutio.com/?page=GZipPlugin
  Topic: Compile vs Cache
messju

Replies: 1
Views: 5541

PostForum: General   Posted: Fri Dec 12, 2008 8:29 am   Subject: Re: Compile vs Cache


yes.

And if so, is there a real world case where caching for a db backed app is useful?

you have to use different cache_ids (2nd parameter to display/fetch) to cache different output.
  Topic: Smarty 2.6.0 - html_options [ Bug + BugFix + Explanation ]
messju

Replies: 10
Views: 27058

PostForum: Bugs   Posted: Mon Nov 24, 2008 5:46 pm   Subject: Smarty 2.6.0 - html_options [ Bug + BugFix + Explanation ]
this one wasn't fixed so far?

my guess is WonkyRuler is just a spam-bot that wanted to say something meaningless and leave his signature-link-spam.
  Topic: ADVANCED: Recursion with Smarty
messju

Replies: 155
Views: 815296

PostForum: Tips and Tricks   Posted: Sun Oct 26, 2008 8:26 am   Subject: ADVANCED: Recursion with Smarty
And you have to recurse into $element.children not $element.element, obviously.
 
Page 1 of 223 Goto page 1, 2, 3 ... 221, 222, 223  Next
All times are GMT
Jump to:  


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