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 16 matches
Smarty Forum Index
Author Message
  Topic: Input name with a dash, access value after post
cycler

Replies: 4
Views: 10081

PostForum: Bugs   Posted: Mon Apr 11, 2011 1:22 pm   Subject: Input name with a dash, access value after post
An underscore "_" would work.

You are using minus "-". During compiling it gets interpreted as minus and not part of the index name. You must have had error reporting for E_NOT ...
  Topic: Input name with a dash, access value after post
cycler

Replies: 4
Views: 10081

PostForum: Bugs   Posted: Fri Apr 01, 2011 1:15 pm   Subject: Input name with a dash, access value after post
The Smarty "dot" syntax for arrays does only accept "_" within index names.

By the way the work around is
{$smarty.post
Thanks for your reply. Is this by design then? It's a p ...
  Topic: Input name with a dash, access value after post
cycler

Replies: 4
Views: 10081

PostForum: Bugs   Posted: Fri Apr 01, 2011 7:12 am   Subject: Input name with a dash, access value after post
I use this simple checkbox:
<input type="checkbox" name ="img1-delete" value="yes" class="delcb" {if $smarty.post.img1-delete}checked="checke ...
  Topic: Using smarty 3 caching
cycler

Replies: 4
Views: 6771

PostForum: General   Posted: Wed Mar 09, 2011 10:34 pm   Subject: Using smarty 3 caching
Ok I think I understand enough to achieve my goal (did not grasp tip c but seems not too relevant at the moment). Thanks again!
  Topic: Using smarty 3 caching
cycler

Replies: 4
Views: 6771

PostForum: General   Posted: Wed Mar 09, 2011 10:00 pm   Subject: Using smarty 3 caching
Thx! I assumed the cache id needs to be an int. The docs did not elaborate on it.

Glad I asked here before trying fancy arithmetics to calculate id's Smile So i take it, the cache id can be just about ...
  Topic: Using smarty 3 caching
cycler

Replies: 4
Views: 6771

PostForum: General   Posted: Wed Mar 09, 2011 4:30 pm   Subject: Using smarty 3 caching
I would like to utilize the caching capabilities of smarty3.

My case is a little more complex but simplified it is like this:

In my MySQL database I have articles stored with each of them a uniq ...
  Topic: problem with RC4
cycler

Replies: 5
Views: 7608

PostForum: Bugs   Posted: Tue Nov 02, 2010 2:07 pm   Subject: problem with RC4
It took me a while to figure out how to checkout an SVN repo.

I updated my web app to use the latest SVN. I can confirm the bug is fixed. Thanks again!
  Topic: problem with RC4
cycler

Replies: 5
Views: 7608

PostForum: Bugs   Posted: Tue Nov 02, 2010 8:06 am   Subject: problem with RC4
Wow! Good job!

I"ll make a more precise bug report next time.

Thanks!
  Topic: problem with RC4
cycler

Replies: 5
Views: 7608

PostForum: Bugs   Posted: Thu Oct 28, 2010 2:41 pm   Subject: problem with RC4
Quickly after my post i had overwritten it with RC3 and wiped my cache again. I now realize that this was *not* the smartest idea.
  Topic: problem with RC4
cycler

Replies: 5
Views: 7608

PostForum: Bugs   Posted: Thu Oct 28, 2010 1:10 pm   Subject: problem with RC4
Parse error: syntax error, unexpected ']' in /home/*******/domains/******.***/public_html/***/resources/smarty/templates_c/b0471fbf9df86022f9abc5313c801ac0c98d654f.file.*******.tpl.php on line ...
  Topic: SmartyValidate: a simple yet powerful form validation plugin
cycler

Replies: 268
Views: 1426874

PostForum: Add-ons   Posted: Fri Jul 23, 2010 4:37 pm   Subject: SmartyValidate: a simple yet powerful form validation plugin
OK thanks! Glad I asked, i could never have figured that out by myself Smile

Technically I could have expected this but on a logic level it is kind of confusing. Especially because the other assigns a ...
  Topic: SmartyValidate: a simple yet powerful form validation plugin
cycler

Replies: 268
Views: 1426874

PostForum: Add-ons   Posted: Thu Jul 22, 2010 9:26 pm   Subject: SmartyValidate: a simple yet powerful form validation plugin
EDIT: Resolved! Don't get confused by this post. Instead check out a working example here :

Ok i stopped working on my complex code and made the most basic implementation in order to get it right ...
  Topic: SmartyValidate: a simple yet powerful form validation plugin
cycler

Replies: 268
Views: 1426874

PostForum: Add-ons   Posted: Thu Jul 22, 2010 7:37 pm   Subject: SmartyValidate: a simple yet powerful form validation plugin
From README:

function is_registered_criteria($func_name, $form = 'default')

If you are not using the default form, you must supply the name as the 2nd param. This true with most every AP ...
  Topic: SmartyValidate: a simple yet powerful form validation plugin
cycler

Replies: 268
Views: 1426874

PostForum: Add-ons   Posted: Thu Jul 22, 2010 3:16 pm   Subject: SmartyValidate: a simple yet powerful form validation plugin
first of all.. Thanks for the great plugin.
It gives this error upon input :


Notice: SmartyValidate: [is_valid] method 'Validate' is not valid for object 'PHPLPCaptcha'. in D: ...
  Topic: SmartyValidate: a simple yet powerful form validation plugin
cycler

Replies: 268
Views: 1426874

PostForum: Add-ons   Posted: Thu Jul 22, 2010 1:08 pm   Subject: SmartyValidate: a simple yet powerful form validation plugin
I run SmartyValidate on 2.6.25 for now and think i found a minor bug:

SmartyValidate::is_registered_validator keeps returning false but defininately is running correctly.

I registered it for a n ...
 
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