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: Flexible month names in smarty plugins
checat

Replies: 0
Views: 11050

PostForum: Feature Requests   Posted: Wed Feb 20, 2008 6:00 pm   Subject: Flexible month names in smarty plugins
Preamble
Month names in many languages can have different forms depending on date format used. For example, in Russian in phrases "1st of September" and "September of year 2007" w ...
  Topic: Cache regeneration and Last-modified header
checat

Replies: 6
Views: 21592

PostForum: Feature Requests   Posted: Mon Jun 18, 2007 10:24 am   Subject: Last-modified
Hi dodtracker!
Smarty makes use of Last-modified and If-modified-since headers for a very long time. If caching is turned on, it compares cache modification date with Last-modified header in "di ...
  Topic: date_format + textual date + windows broken
checat

Replies: 1
Views: 6564

PostForum: Bugs   Posted: Sat Mar 10, 2007 11:04 am   Subject: date_format + textual date + windows broken
On windows current date_format realization calls strftime before smarty_make_timestamp, so textual dates doesn't work. I've moved some blocks up and down to make it work.


function smarty_modifier ...
  Topic: Problems with "<?xml..." definition in template
checat

Replies: 18
Views: 36389

PostForum: Bugs   Posted: Wed Feb 07, 2007 8:35 am   Subject: Problems with "<?xml..." definition in template
As I recall, there is a reason for the current processing order in relation to the design of the compiler and the want to prevent certain types of code injection.

Are they covered by unit tests?
  Topic: Problems with "<?xml..." definition in template
checat

Replies: 18
Views: 36389

PostForum: Bugs   Posted: Tue Feb 06, 2007 9:17 am   Subject: Problems with "<?xml..." definition in template

Version 2.6.7 (Feb 3, 2005)
---------------------------
- fix handling of hashed opening php-tags inside strip-blocks (messju)


I assume better fix is to move php-tags handli ...
  Topic: "$t$w" doesn't work
checat

Replies: 2
Views: 8457

PostForum: Bugs   Posted: Thu Aug 03, 2006 1:29 pm   Subject: "$t$w" doesn't work
I've found strange behaviour of Smarty Compiler.
In the following template code commented out lines break compiled code (if uncommented). All other lines work.


{assign var='a' value='a' ...
  Topic: SmartyValidate: a simple yet powerful form validation plugin
checat

Replies: 268
Views: 1415448

PostForum: Add-ons   Posted: Mon Mar 27, 2006 1:39 pm   Subject: SmartyValidate: a simple yet powerful form validation plugin
[quote] Make sure you use a unique form id each time to register a form, and use that id throughout the validation process.[/quote]

This still has some minor problems with:
1. Load Form -> Subm ...
  Topic: SmartyValidate: a simple yet powerful form validation plugin
checat

Replies: 268
Views: 1415448

PostForum: Add-ons   Posted: Fri Mar 24, 2006 10:00 am   Subject: I tried and got a problem
Assume user opens in 2 browser windows the same form with different data Say, user wants to send 2 forum messages, but has slow connection and don't want to wait for a single window to reload. So, he ...
  Topic: SmartyValidate: a simple yet powerful form validation plugin
checat

Replies: 268
Views: 1415448

PostForum: Add-ons   Posted: Tue Mar 21, 2006 10:30 am   Subject: question
I want to ask.
If a person opens two browser windows, can validators for that windows come into conflict? Are there any guidelines?
  Topic: REQ: Caching per included Template
checat

Replies: 7
Views: 22792

PostForum: Feature Requests   Posted: Wed May 12, 2004 4:27 pm   Subject: REQ: Caching per included Template
In my projects on pages with different types of content which has different cache update time I use the following not-so-clean (possiblly, ugly!) plugins.

For parts of page updating rarely
{includ ...
  Topic: Cache regeneration and Last-modified header
checat

Replies: 6
Views: 21592

PostForum: Feature Requests   Posted: Wed May 12, 2004 3:57 pm   Subject: I'd like to extend my idea
I'd like to extend my idea. There is an important sphere of Web development called "Search Engine Optimization". I read that many search engines make use of Last-Modified date of document. Some of the ...
  Topic: Arrays in config files would be great!
checat

Replies: 11
Views: 27505

PostForum: Feature Requests   Posted: Fri Feb 06, 2004 8:39 am   Subject: Arrays in config files would be great!
I asked for a way to define associative arrays in the config file some time ago.
Since they are not implemented, I am constrained to define them in PHP. It makes a lot of ungracefulness.
  Topic: Cache regeneration and Last-modified header
checat

Replies: 6
Views: 21592

PostForum: Feature Requests   Posted: Thu Feb 05, 2004 4:10 pm   Subject: Cache regeneration and Last-modified header
It could be good if when Smarty regenerate "old" cache, it check if new cache content is the same with the old cache content, then save old Last-modified time if content was not modified, but prolonga ...
 
Page 1 of 1
All times are GMT
Jump to:  


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