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 7 matches
Smarty Forum Index
Author Message
  Topic: Plugin and give option inside for nocache
WMV

Replies: 0
Views: 3642

PostForum: Smarty 3   Posted: Thu Sep 23, 2010 12:23 pm   Subject: Plugin and give option inside for nocache
Is it possible to write a plugin in new style (smarty3) and set a nocache option from inside this plugin like the old register->.....
  Topic: include and cache_id
WMV

Replies: 4
Views: 10484

PostForum: Smarty 3   Posted: Wed Sep 08, 2010 8:59 am   Subject: Problem passing var-values from foreach
When i use the include with its own cache-id within an foreach it works like a charm when not in cache-mode.
When i turn on cache the problem occurs that the variable doesn't exist anymore.


{for ...
  Topic: An output-kinda plugin
WMV

Replies: 15
Views: 61649

PostForum: Smarty 3   Posted: Wed Sep 01, 2010 2:44 pm   Subject: fetch in smarty.class.php
i looked up and found this:

// return redered template
if (isset($this->autoload_filters['output']) || isset($this->registered_filters['output'])) {
$_output = S ...
  Topic: An output-kinda plugin
WMV

Replies: 15
Views: 61649

PostForum: Smarty 3   Posted: Wed Sep 01, 2010 2:19 pm   Subject: An output-kinda plugin
function smarty_outputfilter_test($source, $smarty){
return '<!--// start of: `OUTPUT-FILTER` //-->' . $source . '<!--// end of: `OUTPUT-FILTER` //-->';
}

function smarty_postfilter ...
  Topic: An output-kinda plugin
WMV

Replies: 15
Views: 61649

PostForum: Smarty 3   Posted: Wed Sep 01, 2010 12:27 pm   Subject: An output-kinda plugin
There are a couple of plugin-filter-types supported in smarty.
- pre
- post
- output

But when using caching is it possible to have an extra plugin-filter that would run like output-filter but th ...
  Topic: errors triggered with $smarty->clearAll($exp_time);
WMV

Replies: 3
Views: 6449

PostForum: Smarty 3   Posted: Mon Jun 21, 2010 8:57 pm   Subject: errors triggered with $smarty->clearAll($exp_time);
Yes our system has its own error and exceptionhandlers but the error is only logged not shown on site. but without the handlers is still logged in errorlog of apache but surpressed in site. isnt there ...
  Topic: errors triggered with $smarty->clearAll($exp_time);
WMV

Replies: 3
Views: 6449

PostForum: Smarty 3   Posted: Mon Jun 21, 2010 10:28 am   Subject: errors triggered with $smarty->clearAll($exp_time);
I get alot of warnings in my log when using $smarty->clearAll($exp_time).
rmdir(.....) [<a href='function.rmdir'>function.rmdir</a>]: Directory not empty. in /sysplugins/smarty_interna ...
 
Page 1 of 1
All times are GMT
Jump to:  


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