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 35 matches
Smarty Forum Index
Author Message
  Topic: Bugs, issue and performance
rocky

Replies: 2
Views: 8113

PostForum: Smarty 3   Posted: Tue Feb 07, 2012 10:41 am   Subject: Bugs, issue and performance
Hey,

that was fast. Wink

thx

Heiner
  Topic: Bugs, issue and performance
rocky

Replies: 2
Views: 8113

PostForum: Smarty 3   Posted: Mon Feb 06, 2012 5:07 pm   Subject: Bugs, issue and performance
Hi,

here are a few improvements for Smarty 3.
Maybe a developer of Smarty does this to the next update.

use the method "stream_resolve_include_path" instead of their own:



if &# ...
  Topic: Some ideas for smarty @rodneyrehm
rocky

Replies: 0
Views: 4084

PostForum: Smarty 3   Posted: Wed Jan 19, 2011 4:43 pm   Subject: Some ideas for smarty @rodneyrehm
Hi,

i've looked at your changes and now I have a few ideas for improvement:

http://code.google.com/p/smarty-php/source/diff?spec=svn3957&r=3957&format=side&path=/branches/rodneyrehm/ ...
  Topic: Support of htmlentities and double_encode in modifier
rocky

Replies: 12
Views: 22905

PostForum: Smarty 3   Posted: Tue Jan 11, 2011 2:09 pm   Subject: Support of htmlentities and double_encode in modifier
yes, it looks great. Wink Very Happy
  Topic: Support of htmlentities and double_encode in modifier
rocky

Replies: 12
Views: 22905

PostForum: Smarty 3   Posted: Tue Jan 11, 2011 1:51 pm   Subject: Support of htmlentities and double_encode in modifier
hmm .. ok than make a switch for PHP 5.2.2 Wink
  Topic: Support of htmlentities and double_encode in modifier
rocky

Replies: 12
Views: 22905

PostForum: Smarty 3   Posted: Tue Jan 11, 2011 1:16 pm   Subject: Support of htmlentities and double_encode in modifier
One thing i forget. This is a faster version of your escape_special_chars function and it does the same:

function smarty_function_escape_special_chars($string)
{
if(!is_array ...
  Topic: Support of htmlentities and double_encode in modifier
rocky

Replies: 12
Views: 22905

PostForum: Smarty 3   Posted: Mon Jan 10, 2011 4:52 pm   Subject: Support of htmlentities and double_encode in modifier
Hi globe,

it's look great. Wink

Here's another nice extension:


switch ($esc_type) {
case 'dehtml':
case 'unhtml':
return htmlspecialchars_decode($s ...
  Topic: Template Inheritance
rocky

Replies: 3
Views: 6298

PostForum: Smarty 3   Posted: Fri Jan 07, 2011 9:42 am   Subject: Template Inheritance
No, it's work. But you must set a relative path to root.

{extends file="../MySubTemplate/PageTemplates/MasterCss.Tpl"}

Only a relative path to file not work.
  Topic: Support of htmlentities and double_encode in modifier
rocky

Replies: 12
Views: 22905

PostForum: Smarty 3   Posted: Wed Jan 05, 2011 2:59 pm   Subject: Support of htmlentities and double_encode in modifier
Hi globe,

because htmlentities does not support all special characters:

$str = '€ äüö ß á çÇ три';
$str = mb_convert_encoding($str, 'UTF-8', 'HTML-ENTITIES') ...
  Topic: Support of htmlentities and double_encode in modifier
rocky

Replies: 12
Views: 22905

PostForum: Smarty 3   Posted: Tue Jan 04, 2011 11:29 am   Subject: Support of htmlentities and double_encode in modifier
Hi,

here are some changes for the support of htmlentities and double_encode-parameter:

function smarty_modifier_escape($string, $esc_type = 'html', $char_set = null, $double_encode = false& ...
  Topic: Shopware 3.5 and Smarty 3
rocky

Replies: 0
Views: 20318

PostForum: Showcase   Posted: Sat Nov 13, 2010 8:20 pm   Subject: Shopware 3.5 and Smarty 3
Hello,

with the new community edition of shopware, it changed the template-engine from smarty 2 to smarty 3. Shopware is a free shopping cart software from germany. More information (in german) can ...
  Topic: unknown 'registerVariableFilter' / assign and assignGlobal
rocky

Replies: 10
Views: 16444

PostForum: Smarty 3   Posted: Fri Nov 12, 2010 3:33 pm   Subject: unknown 'registerVariableFilter' / assign and assignGlobal
Hi,

you can use variableFilter so:


$smarty->registerFilter(Smarty::FILTER_VARIABLE, 'htmlspecialchars');


regards Heiner
  Topic: Make Smarty 3 more OOP
rocky

Replies: 6
Views: 11985

PostForum: Smarty 3   Posted: Fri Nov 12, 2010 10:53 am   Subject: Make Smarty 3 more OOP
Hi,

with some changes will work my examples. Wink
You must know, i'am already using it for my project.

I see you have the most of my ideas in Smarty 3.0 realised.
That's fantastic. Very Happy

Now i ...
  Topic: Make Smarty 3 more OOP
rocky

Replies: 6
Views: 11985

PostForum: Smarty 3   Posted: Wed Nov 03, 2010 12:01 pm   Subject: Make Smarty 3 more OOP
Yes, i think so too. The first argument have to be the type.
It is possible to move the filter to the template-object?
Nobody normaly use filters for all templates. Wink

5. I have created two metho ...
  Topic: [GERMAN] Some bugfixes and improvements
rocky

Replies: 20
Views: 29324

PostForum: Smarty 3   Posted: Fri Oct 15, 2010 9:08 am   Subject: [GERMAN] Some bugfixes and improvements
Hi Uwe,

vielen Dank für die Änderung. Damit ist zumindest das Hauptproblem gelöst.

Very Happy

Für das andere Problem brauche ich aber auch noch eine Lösung. Wenn ich das Caching in einem Controller a ...
 
Page 1 of 3 Goto page 1, 2, 3  Next
All times are GMT
Jump to:  


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