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

Search found 3336 matches
Smarty Forum Index
Author Message
  Topic: Foreach loops help

Replies: 13
Views: 11605

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

Replies: 11
Views: 10894

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

Replies: 9
Views: 12375

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

Replies: 4
Views: 7297

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

Replies: 3
Views: 4550

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

Replies: 4
Views: 7527

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

Replies: 1
Views: 3922

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

Replies: 2
Views: 8264

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

Replies: 5
Views: 9031

PostForum: Bugs   Posted: Tue Jun 16, 2009 2:04 pm   Subject: $_SESSION is not updated
FrankTM has a test case here 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

Replies: 5
Views: 7776

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

increase the pcre.backtrack_limit ini-setting.

  Topic: regex_replace ersetzt nur letzten Match

Replies: 3
Views: 6703

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')

Replies: 5
Views: 8477

PostForum: Language: German   Posted: Fri Dec 12, 2008 4:01 pm   Subject: load_filter('output','compress')
meinst du vielleicht sowas?
  Topic: Compile vs Cache

Replies: 1
Views: 3606

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


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 ]

Replies: 10
Views: 21967

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

Replies: 156
Views: 423499

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