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

Search found 28 matches
Smarty Forum Index
Author Message
  Topic: {nocache:XXX#X} tags appearing in the final output !
hinrichs

Replies: 26
Views: 55860

PostForum: Bugs   Posted: Mon May 01, 2006 4:57 am   Subject: El Hombre rocks
El Hombre, thanks for taking the time to show how to reproduce it and not only that, really understanding what is going on and even making a good suggestion for avoiding the problem.
  Topic: XML Config file format
hinrichs

Replies: 1
Views: 10114

PostForum: Feature Requests   Posted: Fri Apr 21, 2006 5:16 am   Subject: XML Config file format
I had never looked into using smarty's config file feature. It is very nice and would seem to work well for an instance where you could keep the vital data for a template (when it isn't in a database ...
  Topic: {nocache:XXX#X} tags appearing in the final output !
hinrichs

Replies: 26
Views: 55860

PostForum: Bugs   Posted: Mon Apr 03, 2006 8:01 pm   Subject: more on nocache:xxx appearing; solution
Our problem appears to be fixed by changing our 'template refresh' procedure to avoid the force compile method, which results in somehow removing or changing file names in the compiled or cache direct ...
  Topic: {nocache:XXX#X} tags appearing in the final output !
hinrichs

Replies: 26
Views: 55860

PostForum: Bugs   Posted: Sat Apr 01, 2006 7:25 am   Subject: more on this
I've narrowed it down a bit--this is happening to us under these conditions:
1) the including template includes a template that has a nocache block in it, AND is also included in other templates on t ...
  Topic: {nocache:XXX#X} tags appearing in the final output !
hinrichs

Replies: 26
Views: 55860

PostForum: Bugs   Posted: Fri Mar 31, 2006 10:04 pm   Subject: Me too
I have looked into this and the only way to fix it seems to be removing all compliled templates and all cache files. But it tends to come back. Looks like :

{nocache:270cafa2cfdee1cd23de4b13acaf8 ...
  Topic: Template changes have no effect - Zend Optimiser problem?
hinrichs

Replies: 1
Views: 5272

PostForum: Bugs   Posted: Thu Jul 14, 2005 4:30 pm   Subject: 2.6.9 template_dir bug?
This might or might not be related so I am posting it here.

There is apparently a bug that prevents compile_check from working when you use an array in the template_dir. Perhaps in the _is_compiled ...
  Topic: dynamic block and caching
hinrichs

Replies: 7
Views: 14053

PostForum: General   Posted: Thu Jul 07, 2005 5:54 pm   Subject: dynamic block and caching
I have a failover to cache working in the manner described here. I could not get it to work when my smarty->caching was set to true. However it worked fine when my smarty->caching was set to 1 ...
  Topic: dynamic block and caching
hinrichs

Replies: 7
Views: 14053

PostForum: General   Posted: Thu Jul 07, 2005 1:02 pm   Subject: dynamic block and caching
Although smarty saves us lots of time overall, this very issue has been a relatively large problem for us. It is part of a larger issue, namely, there really ought to be a nocache attribute to the in ...
  Topic: SmaryPaginate Enhancements Code plus Request
hinrichs

Replies: 0
Views: 4766

PostForum: Plugins   Posted: Wed May 11, 2005 8:55 pm   Subject: SmaryPaginate Enhancements Code plus Request
I have been working with SmartyPaginate and for my purposes I had to add a couple of functions to the class.

First, in order to allow my database methods to exist in objects outside of the page, pl ...
  Topic: SmartyPaginate 1.4: "paginate" w/id not populated
hinrichs

Replies: 1
Views: 5987

PostForum: Plugins   Posted: Mon May 09, 2005 8:55 pm   Subject: order of calling SmartyPaginate::assign
The SmartyPaginate::assign must be called after the values are set in SmartyPaginate. I assume that is because you wouldn't want to be storing smarty objects in the session along with the SmartyPagin ...
  Topic: SmartyPaginate 1.4: "paginate" w/id not populated
hinrichs

Replies: 1
Views: 5987

PostForum: Plugins   Posted: Sat May 07, 2005 12:25 am   Subject: SmartyPaginate 1.4: "paginate" w/id not populated
Hello,

SmartyPaginate is working great except the very first time the results are displayed in the template, the $paginate variable seems not to be populated. However it is populated the second ti ...
  Topic: Dynamic Modifier
hinrichs

Replies: 3
Views: 8914

PostForum: Plugins   Posted: Tue Mar 15, 2005 8:03 pm   Subject: Dynamic Modifier
Thank you, boots. BTW I am grateful for your many valuable contributions to this forum that have helped me in the past.

Just curious, when you say "it" is a bad idea, are you talking about the $da ...
  Topic: Dynamic Modifier
hinrichs

Replies: 3
Views: 8914

PostForum: Plugins   Posted: Tue Mar 15, 2005 6:31 pm   Subject: Dynamic Modifier
Hello,

Just a little background, though probably not fully relevant to the problem at hand: I am authoring an object for a framework for abstracting the task of display of data in tables. Each fie ...
  Topic: Wondering whether to use Smarty? Testimony from Bob Hinrichs
hinrichs

Replies: 0
Views: 24716

PostForum: Testimonials   Posted: Tue Mar 08, 2005 10:30 pm   Subject: Wondering whether to use Smarty? Testimony from Bob Hinrichs
-Our smarty applications are comparatively several times easier to develop and maintain.
-We are able to do much more with our time (which is valuable to us and to our clients).
-Because of the incr ...
  Topic: Is this too much of a hack to html_options?....
hinrichs

Replies: 2
Views: 5058

PostForum: General   Posted: Tue Mar 08, 2005 6:27 pm   Subject: US States html select option
Hi,

Here is a minimalistic approach that I used.

<?php
function smarty_function_html_usStates($params, &$smarty)
{
require_once $smarty->_get_plugin_filepath('function','html_options' ...
 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT
Jump to:  


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