[symfony-users] Symfony branches 1.0

2007-11-14 Thread [EMAIL PROTECTED]
This morning I update lib/symfony from http://svn.symfony-project.com/branches/1.0 . I got an Strict Standarts error since I update : Strict Standards: Static function CreoleTypes::getType() should not be abstract in /var/www/proxad/lib/symfony/lib/vendor/creole/ CreoleTypes.php on line 124

[symfony-users] Question about sfMediaLibrary plugin

2007-11-14 Thread Sid Bachtiar
I have a table for storing user profiles and I want to let user uploads multiple images to be associated with their profiles. Is this plugin good for this purpose? Can someone give me hints on how to achieve this using this plugin? Cheers --~--~-~--~~~---~--~~

[symfony-users] Select_tag validation

2007-11-14 Thread [EMAIL PROTECTED]
Hi all, How to make sure that the value send by an select_tag is one of its options, in an YAML validation file ? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send

[symfony-users] Updating releases and ymls

2007-11-14 Thread Haris Zukanović
Hi, When I update a production installation of our project sometimes generator.yml files of admin generator are updated as well. The problem is if the yml has been altered on the production server, for example if admin has altered credentials for some action inside generator.yml or similar..

[symfony-users] Multiple actions

2007-11-14 Thread Cece
Hello, What is the best (maintanable) way to add additional actions to a specified action? Especially i have to clear some caches when a user signs in (or out) with sfGuard plugin. I know i can modify sfGuardAuth directly or copy that into my module space and modify there. I hope there's a

[symfony-users] Re: finding and fixing performance issues on shared host

2007-11-14 Thread Thierry
There are some great articles on speeding up your symfony app. Have a look at the wiki and the book. In order of importance: - caching - db calls Also checkout jslow and other tools to make sure it is not your front experience which is slow

[symfony-users] Re: finding and fixing performance issues on shared host

2007-11-14 Thread Zsolt Takács
i think you mean YSlow :) On Nov 14, 2007 12:02 PM, Thierry [EMAIL PROTECTED] wrote: There are some great articles on speeding up your symfony app. Have a look at the wiki and the book. In order of importance: - caching - db calls Also checkout jslow and other tools to make sure it is

[symfony-users] Re: Select_tag validation

2007-11-14 Thread Cece
Hello, Two ways as i see (if the select is a raw, unfiltered list of objects): - with sfCallbackValidator if you have an isIdExists() like method somewhere. or you can write a method if it isn't exists. - if you use Propel, you can also use sfPropelUniqueValidator to check the id is

[symfony-users] Re: Select_tag validation

2007-11-14 Thread [EMAIL PROTECTED]
thanks you, I choose the sfCallbackValidator :) On 14 nov, 12:01, Cece [EMAIL PROTECTED] wrote: Hello, Two ways as i see (if the select is a raw, unfiltered list of objects): - with sfCallbackValidator if you have an isIdExists() like method somewhere. or you can write a method if it

[symfony-users] periodically_call_remote

2007-11-14 Thread g0d br
hi list, how do i show the time left to update using the periodically_call_remote() function? thank you -- http://zero-d.com.br/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups symfony users group. To post to

[symfony-users] Flash messages not disappearing

2007-11-14 Thread Angelina Talley
Hello folks! I have a symfony app that's puzzling me. Currently, as an action executes I set a flash message saying the action succeeded or failed. I then return sfView::SUCCESS or just let the action complete and return the success template. I have a spot in the layout.php that looks for the

[symfony-users] display date field in sfDatagrid

2007-11-14 Thread Marc
Hi, i use sfDatagrid for table displaying. Everything is ok but a little problem : $datagrid-addColumn('p.pos_date_debut','title=Début'); I'd like to format date field displaying in a column with locale culture (FR for example). What would be the simplest way ? I think it will be done

[symfony-users] Re: Symfony branches 1.0

2007-11-14 Thread Fabien POTENCIER
Everything must be fixed now. Fabien -- Fabien Potencier Sensio CEO - symfony lead developer http://www.sensiolabs.com/ http://www.symfony-project.com/ Sensio Labs Tél: +33 1 40 99 80 80 [EMAIL PROTECTED] wrote: This morning I update lib/symfony from

[symfony-users] Re: Flash messages not disappearing

2007-11-14 Thread Alexander Deruwe
On 14 Nov 2007, at 14:02, Angelina Talley wrote: Hello folks! Hey there, I have a symfony app that's puzzling me. Currently, as an action executes I set a flash message saying the action succeeded or failed. I then return sfView::SUCCESS or just let the action complete and return the

[symfony-users] Re: Flash messages not disappearing

2007-11-14 Thread Angelina Talley
Interesting. Should I assume then if the value for persist is set to true and I return a redirect rather than sfView::SUCCESS it will persist, but if set to false I must return sfView::SUCCESS or the like to see the message? Thanks for your help! On Nov 14, 2007 8:56 PM, Alexander Deruwe [EMAIL

[symfony-users] Re: finding and fixing performance issues on shared host

2007-11-14 Thread Brian Hoke
Thanks, Alexey, on this. The magic_quotes_gpc item was the first thing mentioned in the symfony book's performance section - changing that setting in php.ini made a significant difference in performance. On 11/14/07, Wicked [EMAIL PROTECTED] wrote: 1) I always thought that social-networking

[symfony-users] Re: Question about sfMediaLibrary plugin

2007-11-14 Thread gestadieu
You can link those files to the profile through another table with 1 to many relationship. Once you generate your model, Propel will automatically generate some easy method to retrieve all images related to the profile. On Nov 14, 4:47 pm, Sid Bachtiar [EMAIL PROTECTED] wrote: I have a table

[symfony-users] Where to put functions

2007-11-14 Thread Tom Haskins-Vaughan
Hi guys, Every now and then I create new functions but I'm always confused as to where to put them in Cutomer.php or CustomerPeer.php. Is there an easy way to remember? TIA Tom --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[symfony-users] Re: Where to put functions

2007-11-14 Thread Tom Haskins-Vaughan
Thanks Ian and Fabian, that actually makes sense now. Fabian Lange wrote: Sure, Customer: Everything which a customer instance: Fabian shall do. Eg: Customer-writeCoolCode(); CustomerPeer: You do not know the instance and want to search it: CustomerPeer::findGreatCoder(); (which may or

[symfony-users] Re: Can sfFinder class be used in php scripting

2007-11-14 Thread pal
I am trying to open a file which is on the Desktop but in some subfolder (name of the subfolder unknown). The file is present in a subfolder in lab1_new folder which is on desktop. About the require should i just say require sfFinder; On Nov 13, 11:46 pm, Fabien POTENCIER [EMAIL PROTECTED]

[symfony-users] Re: Where to put functions

2007-11-14 Thread Ian P. Christian
Tom Haskins-Vaughan wrote: Hi guys, Every now and then I create new functions but I'm always confused as to where to put them in Cutomer.php or CustomerPeer.php. Is there an easy way to remember? If they act on an instance of a customer, then they go in the customer class. IF they are

[symfony-users] Re: Where to put functions

2007-11-14 Thread Fabian Lange
Sure, Customer: Everything which a customer instance: Fabian shall do. Eg: Customer-writeCoolCode(); CustomerPeer: You do not know the instance and want to search it: CustomerPeer::findGreatCoder(); (which may or may not find me :-)) In other terms: The peer classes hold static methods that are

[symfony-users] Problems with JSON and sfCombineFilter

2007-11-14 Thread Loïc Vernet
I've got this issue: bFatal error/b: Call to undefined function _compute_public_path() in bC:\wamp\www\GamesOfficer \plugins\sfCombineFilterPlugin\lib\sfCombineFilter.class.php/b on line b65/bbr But what is quiet weird that it only happens for the dev controller, for a JSON action,

[symfony-users] How to get sfPropel13Plugin working after Rev804 (Nov 14, 01:52am)

2007-11-14 Thread Carsten Schumann
Hi Folks, since Hans and his collegues broke the sfPropel13Plugin again, you cannot build your model anymore. Here is the patch for that issue. 1. Apply the appended patch to sfPropel13Plugin/lib/propel/builder/sfPeerBuilder.php 2. Create a new file

[symfony-users] Re: How to get sfPropel13Plugin working after Rev804 (Nov 14, 01:52am)

2007-11-14 Thread Carsten Schumann
Next try, Sorry for spamming the list ;-( On Nov 14, 2007 7:29 PM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Sri, forgot attachment. Index: plugins/sfPropel13Plugin/lib/propel/builder/SfPeerBuilder.php === ---

[symfony-users] Re: How to get sfPropel13Plugin working after Rev804 (Nov 14, 01:52am)

2007-11-14 Thread [EMAIL PROTECTED]
Sri, forgot attachment. Index: plugins/sfPropel13Plugin/lib/propel/builder/SfPeerBuilder.php === --- plugins/sfPropel13Plugin/lib/propel/builder/SfPeerBuilder.php (revision 6027) +++

[symfony-users] display date field in sfDatagrid

2007-11-14 Thread therebel
Hi, i use sfDatagrid for table displaying. Everything is ok but a little problem : $datagrid-addColumn('p.pos_date_debut','title=Début'); I'd like to format date field displaying in a column with locale culture (FR for example). What would be the simplest way ? I think it will be done

[symfony-users] Logging user actions

2007-11-14 Thread Bayarsaikhan [Singleton LLC]
Hi all, How to log all actions of users, even for admin parts. To create an log table, and add insert code to the beginning of each execute* functions? -- Bayarsaikhan VOLODYA Singleton LLC --~--~-~--~~~---~--~~ You received this message because you are