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 31 matches
Smarty Forum Index
Author Message
  Topic: SmartyValidate isLength-bug and form-arrays
rainco

Replies: 3
Views: 9026

PostForum: Add-ons   Posted: Tue Jun 07, 2005 7:53 am   Subject: SmartyValidate isLength-bug and form-arrays
hi!

sorry for poting again, but has nobody got a solution for validating arrays of input fields?

thanks,
- rainer
  Topic: SmartyValidate isLength-bug and form-arrays
rainco

Replies: 3
Views: 9026

PostForum: Add-ons   Posted: Tue May 24, 2005 3:01 pm   Subject: SmartyValidate isLength-bug and form-arrays
Hi!

First of all there are two simple typos in validate_criteria.isLength:
Line 41 + 49 it has to be isset instead of $isset.

Futhermore I have problems with form variables which are arrays. Fo ...
  Topic: SmartyValidate 2.4 released
rainco

Replies: 22
Views: 41217

PostForum: Add-ons   Posted: Thu Apr 28, 2005 8:07 am   Subject: criteria in tpl vs. in php and notices
hi!

i like smartyvalidate very much. i integrated it in our simple framework for developing simple databasedriven websites. the framework uses componized templates. that means, where is no real php ...
  Topic: extending {$smarty}
rainco

Replies: 6
Views: 9676

PostForum: General   Posted: Mon Jul 05, 2004 2:23 pm   Subject: extending {$smarty}
thanks for your fast reply Wink
  Topic: extending {$smarty}
rainco

Replies: 6
Views: 9676

PostForum: General   Posted: Mon Jul 05, 2004 1:55 pm   Subject: extending {$smarty}
hi all!

i know $smarty is a variable which is used for reserved words. i know it can bring me in hells kitchen, but i want to extend this variable with a special index called $smarty.url.

which ...
  Topic: Tree with DB_Nested Set and Smarty
rainco

Replies: 2
Views: 4976

PostForum: General   Posted: Mon May 31, 2004 1:58 pm   Subject: Tree with DB_Nested Set and Smarty
Thanks, I know this thread already Wink

But I thought perhaps someone has already implemented DB_NestedSet with smarty?!?!

Rainer

PS: A link to the DB_NestedSet docs would be very nice!
  Topic: Tree with DB_Nested Set and Smarty
rainco

Replies: 2
Views: 4976

PostForum: General   Posted: Mon May 31, 2004 12:38 pm   Subject: Tree with DB_Nested Set and Smarty
Hi!

I want to use smarty to render a tree from PEAR:DB_NestedSet. DB_NestedSet has several render-engines, but I did not found an implementation with smarty. Has anybody done something like this?
...
  Topic: block functions without content (XHTML compatible)
rainco

Replies: 5
Views: 15769

PostForum: Feature Requests   Posted: Sat Feb 28, 2004 12:48 pm   Subject: block functions without content (XHTML compatible)
thanks monte! now it works i think (hope so *g*)!

here it is for everybody free to use:


<?php /* $Id$ */
/*
* Smarty plugin
* ---------------------------------------------------------- ...
  Topic: block functions without content (XHTML compatible)
rainco

Replies: 5
Views: 15769

PostForum: Feature Requests   Posted: Fri Feb 27, 2004 12:04 pm   Subject: block functions without content (XHTML compatible)
hmm,

the prefilter does not work if you have a shortblock in a normal block:

{outer}foo{inner /}bar{/outer}

expands to

{outer}foo{inner}{/outer}foo{inner}

but the regex ist already ungr ...
  Topic: block functions without content (XHTML compatible)
rainco

Replies: 5
Views: 15769

PostForum: Feature Requests   Posted: Fri Feb 27, 2004 10:11 am   Subject: block functions without content (XHTML compatible)
thanks andre!

here is the prefilter for everybody who wants to use it:


<?php /* $Id$ */
/*
* Smarty plugin
* -------------------------------------------------------------
* File: ...
  Topic: block functions without content (XHTML compatible)
rainco

Replies: 5
Views: 15769

PostForum: Feature Requests   Posted: Thu Feb 26, 2004 4:53 pm   Subject: block functions without content (XHTML compatible)
hi!

i have some block functions. but some of them do not always need content. what do you think about allowing {block /} instead of {block}{/block}?

the block functions code should then also be ...
  Topic: Caching - MySQL vs Flat File
rainco

Replies: 6
Views: 9705

PostForum: General   Posted: Tue Feb 24, 2004 8:00 pm   Subject: Caching - MySQL vs Flat File
i do not know if mysql can be faster. perhaps with heap-tables, bit normaly i do not think so. there is only one instance more between the data from the harddisk and the delivery of the page.
  Topic: Config-Files and Resources
rainco

Replies: 1
Views: 4539

PostForum: General   Posted: Tue Feb 17, 2004 6:52 pm   Subject: Config-Files and Resources
Hi!

I read in the changelog to Smarty 2.6.2 that config files can now be loaded from resources, but I couldn't find any docs to that topic. Can anybody give me a hint?

Thanks,
Rainer
  Topic: searching for an smarty driven online shop
rainco

Replies: 3
Views: 7472

PostForum: General   Posted: Thu Feb 05, 2004 2:26 pm   Subject: searching for an smarty driven online shop
hi all!

i am searching for an opensource freeware smarty-driven online-shopping-system. has anybody a suggestion for me?

thanks,
rainer
  Topic: Performance decrease
rainco

Replies: 24
Views: 45246

PostForum: Smarty Development   Posted: Mon Jan 05, 2004 6:13 pm   Subject: Performance decrease
I always use PEAR/Benchmark/Timer as I said before. Just check it out, its nice!
 
Page 1 of 3 Goto page 1, 2, 3  Next
All times are GMT
Jump to:  


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