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 81 matches
Smarty Forum Index
Author Message
  Topic: exception in block func after update from 2.6.26 to 3.0 RC3
schildi

Replies: 2
Views: 4454

PostForum: General   Posted: Tue Sep 28, 2010 6:01 pm   Subject: thanks
you are right. i have a function named 'src'.

so this is not possible anymore?...

well - it doesnt make sense Smile
  Topic: exception in block func after update from 2.6.26 to 3.0 RC3
schildi

Replies: 2
Views: 4454

PostForum: General   Posted: Tue Sep 28, 2010 12:21 pm   Subject: exception in block func after update from 2.6.26 to 3.0 RC3
this exception is thrown, since i updated to smarty 3.0 RC3:

[...] Fatal error: Uncaught exception 'Exception' with message 'Syntax Error in template "..." on line 98 " & ...
  Topic: Will Smarty version 3 support use of tags in css and javascr
schildi

Replies: 2
Views: 4614

PostForum: General   Posted: Wed Nov 04, 2009 7:10 am   Subject: hi
why dont you put all your file-path-related css-definitions in a
<style type="text/css">[...]</style>
and put that into an extra template that you include in your heade ...
  Topic: Smarty3 beta1 - Parsing of Config-Files
schildi

Replies: 2
Views: 4451

PostForum: General   Posted: Tue Nov 03, 2009 7:28 am   Subject: Smarty3 beta1 - Parsing of Config-Files
sorry, i'am often to short with my explanations.

but definitely something has changed - otherwise the 3beta version would produce equal results.

regarding to OLD and NEW result i just wanted to ...
  Topic: Smarty3 beta1 - Parsing of Config-Files
schildi

Replies: 2
Views: 4451

PostForum: General   Posted: Mon Nov 02, 2009 2:00 pm   Subject: Smarty3 beta1 - Parsing of Config-Files
Hi,

i heavily use a config file to save a tree structure.
i now updated on smarty 3 beta and getting errors now.

config_overwrite is set to false.

can you tell me, if there were made any cha ...
  Topic: SmartyValidate: manipulating error-messages
schildi

Replies: 0
Views: 8029

PostForum: Add-ons   Posted: Tue May 12, 2009 7:18 am   Subject: SmartyValidate: manipulating error-messages
hello!

is it somehow possible to manipulate an error-msg, when validation is in process respectively after validation?

i want to change the msg after validation, because it changes depending on ...
  Topic: truncate and utf-8
schildi

Replies: 2
Views: 18040

PostForum: Bugs   Posted: Tue Jul 01, 2008 7:36 am   Subject: fast fix
just a fast fix, NOT seriously tested:


<?php
/**
* Smarty plugin
* @package Smarty
* @subpackage plugins
*/


/**
* Smarty truncate modifier plugin
*
* Type: modifier ...
  Topic: truncate and utf-8
schildi

Replies: 2
Views: 18040

PostForum: Bugs   Posted: Tue Jul 01, 2008 7:20 am   Subject: truncate and utf-8
truncate does not work correct with utf-8 encoded strings.

example:

{assign var="test" value="Ö-Umlaut"}
{$test|truncate:1:"":true|upper|rawurlencode}
{assign ...
  Topic: prevent smarty from caching smarty config-files
schildi

Replies: 1
Views: 3544

PostForum: General   Posted: Wed Jun 25, 2008 9:35 am   Subject: prevent smarty from caching smarty config-files
is it possible to prevent smarty from caching smarty-config-files?
  Topic: cache_handler_func with mysql
schildi

Replies: 4
Views: 6572

PostForum: General   Posted: Mon Jun 16, 2008 8:14 am   Subject: cache_handler_func with mysql
yihaww!
works now! thanks!

didn't thought of typo errors!
  Topic: cache_handler_func with mysql
schildi

Replies: 4
Views: 6572

PostForum: General   Posted: Sun Jun 15, 2008 8:54 pm   Subject: cache_handler_func with mysql
i hope i will have a better performance. i should try it at least.

i do generate cache_id's by using md5 and the requested url. i include request vars to have the ability to save every page than ca ...
  Topic: cache_handler_func with mysql
schildi

Replies: 4
Views: 6572

PostForum: General   Posted: Sun Jun 15, 2008 1:59 pm   Subject: cache_handler_func with mysql
hello,

i tried to test the cache_handler_func with mysql, but it does not work as expected. i used the example from http://www.smarty.net/manual/de/section.template.cache.handler.func.php

when i ...
  Topic: SmartyValidate and Caching
schildi

Replies: 0
Views: 10422

PostForum: Add-ons   Posted: Thu Nov 08, 2007 10:07 am   Subject: SmartyValidate and Caching
Hi,

I wanna cache templates using SmartyValidate to validate forms.
I am using unique cache-ids for each different request
(The cache-id is generated from the $_REQUEST vars and md5).
Even so Sm ...
  Topic: problems with is_cached function
schildi

Replies: 5
Views: 6842

PostForum: General   Posted: Tue Nov 06, 2007 10:40 am   Subject: problems with is_cached function
i do call

$smarty->fetch($smarty->template_dir."pg.tpl_index.tpl", "065e13a4ad77e322079da9bcc8f26dfa");

and i thought i dont need to declare $smarty->template_dir wh ...
  Topic: problems with is_cached function
schildi

Replies: 5
Views: 6842

PostForum: General   Posted: Tue Nov 06, 2007 9:39 am   Subject: problems with is_cached function
hi,

i dont know why i do not get a 'true' from the smarty->is_cached function:

//smarty->caching is set to 1
$smarty->caching = 1;
if($smarty->is_cached("pg.tpl_index.tpl" ...
 
Page 1 of 6 Goto page 1, 2, 3, 4, 5, 6  Next
All times are GMT
Jump to:  


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