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 13 matches
Smarty Forum Index
Author Message
  Topic: Smarty validate : never valid [Resolved]
___seb

Replies: 8
Views: 19953

PostForum: Add-ons   Posted: Mon Feb 11, 2008 3:58 pm   Subject: ok
that's ok
thank you very much Smile
  Topic: Smarty validate : never valid [Resolved]
___seb

Replies: 8
Views: 19953

PostForum: Add-ons   Posted: Sat Feb 09, 2008 1:52 pm   Subject: Smarty validate : never valid [Resolved]
ok, thanks for the help.

I'll try on monday...
  Topic: Smarty validate : never valid [Resolved]
___seb

Replies: 8
Views: 19953

PostForum: Add-ons   Posted: Fri Feb 08, 2008 4:10 pm   Subject: Smarty validate : never valid [Resolved]
var_dump($_SESSION);


array(1) {
  Topic: Smarty validate : never valid [Resolved]
___seb

Replies: 8
Views: 19953

PostForum: Add-ons   Posted: Fri Feb 08, 2008 3:33 pm   Subject: Smarty validate : never valid [Resolved]
Array (

$_POST['nom'] has a value
error display is on : error_reporting(E_ALL);
  Topic: Smarty validate : never valid [Resolved]
___seb

Replies: 8
Views: 19953

PostForum: Add-ons   Posted: Fri Feb 08, 2008 3:23 pm   Subject: Smarty validate : never valid [Resolved]
Hi,

I can't have a positive response, SmartyValidates always says that the input value is not valid .

php :

session_start();
require_once('common.php');
error_reporting( ...
  Topic: why use block function
___seb

Replies: 2
Views: 7556

PostForum: Plugins   Posted: Thu Oct 04, 2007 3:13 pm   Subject: why use block function
insert fonction is usefull if your template is cached except a part of it.

so you cache the template but the content generated by the insert is never cached, imagine an random image somewhere ... i ...
  Topic: rss writer / generator exists ?
___seb

Replies: 1
Views: 5798

PostForum: Plugins   Posted: Thu Oct 04, 2007 11:57 am   Subject: rss writer / generator exists ?
Hi,

I tried to find a plugin that let us generate an rss feed but i did'nt find it.

Is there any ?

otherwise i'll code it fitting my needs...
  Topic: Smarty Caching incorrectly?
BenSeb

Replies: 11
Views: 27561

PostForum: General   Posted: Wed Oct 26, 2005 2:31 pm   Subject: Smarty Caching incorrectly?
With caching on, you will get the same cached page for identical template paths under different template directories.

Thats the problem!! I think it might be worth updating this in the documentatio ...
  Topic: Smarty Caching incorrectly?
BenSeb

Replies: 11
Views: 27561

PostForum: General   Posted: Wed Oct 26, 2005 1:53 pm   Subject: Smarty Caching incorrectly?
Hi

I thought it was correct NOT to pass the directory through the display function, but just to call the template name here?

Maybe this is where we are going wrong, as we are stating:


$smar ...
  Topic: Smarty Caching incorrectly?
BenSeb

Replies: 11
Views: 27561

PostForum: General   Posted: Tue Oct 25, 2005 4:41 pm   Subject: Smarty Caching incorrectly?
ive checked the cache_id is being passed into every call, which it is.

Perhaps you could advise on the best way of configuring it, considering the use of multiple templates per page?

We need to ...
  Topic: Smarty Caching incorrectly?
BenSeb

Replies: 11
Views: 27561

PostForum: General   Posted: Tue Oct 25, 2005 4:32 pm   Subject: Smarty Caching incorrectly?
We are setting the template dir to the current directory ('.'), so it always looks locally for the template.

So news/default.php will look for default.tpl in the news directory.

Does that need t ...
  Topic: Smarty Caching incorrectly?
BenSeb

Replies: 11
Views: 27561

PostForum: General   Posted: Tue Oct 25, 2005 4:19 pm   Subject: Smarty Caching incorrectly?
ps.. our cache_id is constructed like this:


$smarty_cache_id = $tablename .'|'.$thispathname."|".$thisfilename."|".'c'.$cat;


so it looks something like:

news|news|default|c1

and

ev ...
  Topic: Smarty Caching incorrectly?
BenSeb

Replies: 11
Views: 27561

PostForum: General   Posted: Tue Oct 25, 2005 4:14 pm   Subject: Smarty Caching incorrectly?
WE have two/three templates in use on one page. This is the structure:


GLOBAL (contains page layout)
NAVIGATION
CONTENT

So we process our page as follows:

1. Create smarty (caching on)
2 ...
 
Page 1 of 1
All times are GMT
Jump to:  


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