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 17 matches
Smarty Forum Index
Author Message
  Topic: Problematic getTrace() recursion
conner_bw

Replies: 2
Views: 6376

PostForum: Bugs   Posted: Tue Oct 18, 2011 3:06 pm   Subject: Problematic getTrace() recursion

I doubt if this kind of output is helpfull at all and you are not better use $e->getTraceAsString() to display just the call stack.

Terrific, thanks. This will do.
  Topic: Problematic getTrace() recursion
conner_bw

Replies: 2
Views: 6376

PostForum: Bugs   Posted: Mon Oct 17, 2011 7:22 pm   Subject: Problematic getTrace() recursion
Hi,

I just upgraded from Smarty 3.0.8 to 3.1.3. This behaviour wasn't happening before. To show the problem, modify the /demo/index.php file to look something like this:


<?php
/**
* Examp ...
  Topic: SmartyValidate 3.0 released
conner_bw

Replies: 13
Views: 93481

PostForum: Add-ons   Posted: Thu Apr 21, 2011 3:15 am   Subject: SmartyValidate 3.0 released
Using 3.0.2-ish, found two minor bugs today:

1)
/plugins/function.validate.php
A bunch of $smarty->trigger_error, these are deprecated and should simply be trigger_error.

2)
In my app I wa ...
  Topic: SmartyValidate Suggestion
conner_bw

Replies: 1
Views: 23455

PostForum: Add-ons   Posted: Thu Feb 17, 2011 1:48 am   Subject: SmartyValidate Suggestion
Hi,

I've been using SmartyValidate for a few years and I am very happy to see it upgraded to Smarty 3. Thanks!

That said, one thing really bugs me and I wish it would be improved.

Let me pref ...
  Topic: SmartyValidate: a simple yet powerful form validation plugin
conner_bw

Replies: 268
Views: 1403910

PostForum: Add-ons   Posted: Wed Feb 16, 2011 11:57 pm   Subject: SmartyValidate: a simple yet powerful form validation plugin
Yes that looks like a problem. 3.0.1 is released with the E_STRICT warnings fixed, and the constructor updated for PHP5.

Terrific, thanks!
  Topic: SmartyValidate: a simple yet powerful form validation plugin
conner_bw

Replies: 268
Views: 1403910

PostForum: Add-ons   Posted: Wed Feb 16, 2011 7:19 pm   Subject: SmartyValidate: a simple yet powerful form validation plugin
There is a new version that is Smarty 3.0 compatible, please give it a try and let me know of any problems.

http://www.phpinsider.com/php/code/SmartyValidate/

Hi, I'm trying to update my web app ...
  Topic: sux0r 2.0 _Beta1
conner_bw

Replies: 1
Views: 11932

PostForum: Showcase   Posted: Wed Oct 29, 2008 10:00 pm   Subject: sux0r 2.0 _Beta1
Alright, after a month of beta testing and minor fixes, I'm ready to call this endeavor 2.0 FINAL.

Demo site:
http://www.sux0r.org/

Sourcecode:
http://sourceforge.net/projects/sux0r/

A Yo ...
  Topic: Smarty 3.0 Alpha 1: Proof of Concept
conner_bw

Replies: 93
Views: 247691

PostForum: Smarty 3   Posted: Thu Oct 23, 2008 9:45 pm   Subject: Smarty 3.0 Alpha 1: Proof of Concept
Hi, please look at my project
$this->r = new Renderer();
$this->tpl->assign_by_ref('r', $this->r);


And when in the TPL files I could just do:

...
  Topic: Capitalize
conner_bw

Replies: 8
Views: 21797

PostForum: Bugs   Posted: Thu Oct 23, 2008 8:58 pm   Subject: Capitalize
I have this problem too.

This is a bug. We shouldn't have to work around it. It should be fixed.
  Topic: sux0r 2.0 _Beta1
conner_bw

Replies: 1
Views: 11932

PostForum: Showcase   Posted: Tue Sep 30, 2008 1:52 am   Subject: sux0r 2.0 _Beta1
I'm running this of a $9.99/Month shared server so please have patience if things are slow. Or better yet, download and install sux0r on your machine and give me some feedback.

http://www.sux0r.org ...
  Topic: SmartyValidate bug on line 195
conner_bw

Replies: 0
Views: 8900

PostForum: Add-ons   Posted: Tue Jul 08, 2008 1:38 am   Subject: SmartyValidate bug on line 195
Hi, I'm using the latest CVS version SmartyValidate in my project http://www.sux0r.org

Line 195:

$formvars[$_field][$_x] = $_new_val;


Should be:

$formvars[$_field] ...
  Topic: SmartyValidate - register_object() bug ?
conner_bw

Replies: 1
Views: 11022

PostForum: Add-ons   Posted: Sat May 10, 2008 4:01 pm   Subject: Eureka
Ok, I figured it out.

It works if I register the object before connecting. In the aforementioned, moving SmartyValidate::register_object('myObj' , $this); into the constructor solved my problem.
...
  Topic: SmartyValidate - register_object() bug ?
conner_bw

Replies: 1
Views: 11022

PostForum: Add-ons   Posted: Fri May 09, 2008 10:15 pm   Subject: SmartyValidate - register_object() bug ?
Greetings.

I have been struggling with SmartValidate all day and can't get register_object() or register_criteria(static::method) to work.

I keep getting: SmartyValidate:
--- testcase2.php -- ...
  Topic: Questions about objects
conner_bw

Replies: 4
Views: 14785

PostForum: General   Posted: Fri Feb 08, 2008 3:10 pm   Subject: Questions about objects
Great!

Thanks for the clarifications and tips.
  Topic: Questions about objects
conner_bw

Replies: 4
Views: 14785

PostForum: General   Posted: Thu Feb 07, 2008 7:32 pm   Subject: Questions about objects
I have several questions regarding the Smarty test.php

<?php

class My_Object {

public $bar;

function __construct() {
$this->bar['one'] = 'u ...
 
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