[symfony-users] Re: libs in sf_lib_dir/vendor

2007-08-02 Thread Kiril Angov
yes, by default files in lib/vendor are not autoloaded and that's why if you embed symfony within your project you usually have to put it in lib/vendor to avoid autoloading infinitee loop.

[symfony-users] Re: libs in sf_lib_dir/vendor

2007-08-02 Thread Dustin Whittle
Jack, In your settings.yml add the following: # Zend Framework zend_lib_dir: ?php echo sfConfig::get('sf_lib_dir').DIRECTORY_SEPARATOR.'vendor'.DIRECTORY_SEPARATOR .'zend_framework'; ? Or search for 'zend' here: http://www.symfony-project.com/book/trunk/17-Extending-Symfony

[symfony-users] Re: libs in sf_lib_dir/vendor

2007-08-02 Thread Kiril Angov
Or better .settings: zend_lib_dir: %SF_LIB_DIR%/vendor/Zend autoloading_functions: - [sfZendFrameworkBridge, autoload] Kiril Dustin Whittle wrote: Jack, In your settings.yml add the following: # Zend Framework zend_lib_dir: ?php echo

[symfony-users] Re: sfSimpleForumPlugin

2007-08-02 Thread Alexander Deruwe
On 02 Aug 2007, at 00:40, Stereo wrote: [propel-sql] Processing: generated-schema.xml [propel-sql] Processing: generated-sfGuardPlugin-schema.xml [propel-sql] Processing: generated-sfSimpleForumPlugin-schema.xml Execution of target sql-template failed for the following reason: /

[symfony-users] Started dutch translation of the symfony book - any help welcome

2007-08-02 Thread Stefan Koopmanschap
Hello everyone, I just made a start with the dutch translation of the book: http://trac.symfony-project.com/trac/wiki/Documentation/nl_NL/book/1.0 If there are any other dutchies here that feel like helping me out, feel free to help. Preferably, to not work on the same things, start with a

[symfony-users] doSave with or withOUT

2007-08-02 Thread Andrew
Hello We're having a discussion in the office about how to effectively use the models to include application business rules. Our example is as follows: Every time a customer is restricted a logged description is required. This updates the customer table and creates a new record in the

[symfony-users] Re: doSave with or withOUT

2007-08-02 Thread Olivier Revollat
I have done this by overloading the save() method ... like this : public function save($action = '') { sfContext::getInstance()-getLogger()-info('log your action in symfony log'); if($action!='') { $log = new Logs(); // log your action in database

[symfony-users] Re: Started dutch translation of the symfony book - any help welcome

2007-08-02 Thread Alexander Deruwe
On 02 Aug 2007, at 13:19, Stefan Koopmanschap wrote: Hello everyone, I just made a start with the dutch translation of the book: http://trac.symfony-project.com/trac/wiki/Documentation/nl_NL/book/1.0 If there are any other dutchies here that feel like helping me out, feel free to help.

[symfony-users] Re: Using Scriptable Configuration with database

2007-08-02 Thread Arnaud
Nobody has got an example of a config loaded by a database please ? Thanks. Arnaud. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to

[symfony-users] Re: Security

2007-08-02 Thread Lukas Kahwe Smith
[EMAIL PROTECTED] wrote: Hi all i'm wondering how other symfony-users try to avoid security problems... is this a common and recomended way of avoiding these problems? 1. i've added a helper (SecurityHelper.php) with the following function: function secureOut($text) { return

[symfony-users] Re: Using Scriptable Configuration with database

2007-08-02 Thread Tristan Rivoallan
On 8/2/07, Arnaud [EMAIL PROTECTED] wrote: Nobody has got an example of a config loaded by a database please ? no example, but it should not be difficult to write a database config compiler. take a look at classes in http://trac.symfony-project.com/trac/browser/trunk/lib/config ++ tristan

[symfony-users] Re: Using Scriptable Configuration with database

2007-08-02 Thread Arnaud
Thanks, i look at this. Arnaud. On Aug 2, 3:01 pm, Tristan Rivoallan [EMAIL PROTECTED] wrote: On 8/2/07, Arnaud [EMAIL PROTECTED] wrote: Nobody has got an example of a config loaded by a database please ? no example, but it should not be difficult to write a database config compiler.

[symfony-users] Re: sfSimpleForumPlugin

2007-08-02 Thread Stereo
Thank you Alexander! I found that I could use your solution to combine both schema files for sfGuard and sfSimpleForum into one file and it worked. Then I ran into the problem where if when I wanted to test out the sfSimpleBlog plugin, I no longer had the option of duplicating the sfGuard schema

[symfony-users] [Doubts] Input Date Tag

2007-08-02 Thread Jonathan Moreira Cardozo
Guys, Hello, i'm having a problem with a input data tag at my admin, i set in generation file the param data format like this: dd/MM/ it works in list, but in edit form it shows like -mm-dd how i fix this? Another doubt is how i set default value to this field like current date? --

[symfony-users] Re: Several new plugins released.

2007-08-02 Thread [EMAIL PROTECTED]
Just noticed that the links are corrected at this link: http://groups.google.com/group/symfony-devs/browse_thread/thread/3a90d937bda25e33 On Aug 2, 1:09 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Might want to recheck those links ;) On Aug 1, 5:27 pm, Jonathan Wage [EMAIL PROTECTED]

[symfony-users] Form/Object/ObjectAdmin helpers

2007-08-02 Thread Ant Cunningham
Im trying to create a customized version of admin_double_list where each option tag get a style attribute setting the background image to a thumbnail. Ive got it displaying the thumbnails just fine, but for some reason it will not save the addition to the database. Ive essentially copied 2