[symfony-users] Change multiple checkboxes to multiple integers as percentages

2010-08-25 Thread Mihai Rusoaie
Hello all! I am collecting some demografic data with checkboxes right now: 0-4 years, 5-9 years, 10-14 years, etc. The user checks which age ranges matches the demographic data. Here is the schema: bdn_location: - table with the locations bdn_age: id: ~ age:

[symfony-users] symfony Day Cologne 2010

2010-08-25 Thread Dennis Benkert
Hi, this year we are organizing a symfony Day again here in Cologne, Germany on 8th October. As last year the conference will be one day long with a sessions and a workshop track. Speakers for this year will be Fabien Potencier, Jonathan Wage, Kris Wallsmith, Pierre Joye, Christian Schaefer and

[symfony-users] sfWidgetFormDoctrineChoice problem

2010-08-25 Thread Andro Fumero
Hi there, Does anyone tried to limit the result of dropdown to only 1? or atleast just keep the dropdown hidden with selected value? I already set the id of the following dropdown, and i dont need to show other choices anymore. public function executeNew(sfWebRequest $request) {

[symfony-users] Re: headers already sent

2010-08-25 Thread bibob
Hi, Thank you for your answer. I don't find a bad space character anywhere in the actions.class or templates of my project. It's curious because when I modify a existing report, I have no problem, but when I create a new one, the problem appears. Maybe, I miss a step ! On 20 août, 23:25, Jochen

[symfony-users] Re: headers already sent

2010-08-25 Thread Lutz
This message generally occurs, when the webserver is asked to send the header of the HTML-page, but some content of the body-section had already been send to the client (and so the header). I experienced this behaviour when working with symfony (1.4), when you do have an 'echo' or any other

[symfony-users] Re: Two questions about sfDoctrineApplyPlugin

2010-08-25 Thread Javier Garcia
No idea? On Aug 24, 3:08 pm, Javier Garcia tirengar...@gmail.com wrote:   Hi, I have found in sfDoctrineApplyPlugin a template called applyAfter.php that shows a message like You have registered ok It is called from the apply action this way return 'After'; when the apply form is valid.

[symfony-users] Re: Two questions about sfDoctrineApplyPlugin

2010-08-25 Thread Javier Garcia
Well, when i say As I action in the same in the both pages I mean as the action is the same in both pages. On Aug 25, 2:19 pm, Javier Garcia tirengar...@gmail.com wrote: No idea? On Aug 24, 3:08 pm, Javier Garcia tirengar...@gmail.com wrote:   Hi, I have found in sfDoctrineApplyPlugin a

[symfony-users] custom url for doctineRouteCollection

2010-08-25 Thread axel at
hello, Car: class: sfDoctrineRouteCollection options: model:Car module: car prefix_path: /car column: id with_wildcard_routes: true to generate the edit url I can use: url_for('@car_edit?id=' . $car-getId()); generates

Re: [symfony-users] sfWidgetFormDoctrineChoice problem

2010-08-25 Thread Gustavo Adrian
The dropdown must show every available choice, regardless an option is already selected or not (What would you do if you need to update an item and you want to change that value?). If you need to show only the option selected, you could change the table method used by the widget to change the list

[symfony-users] Re: Credentials for actions in admin generated module

2010-08-25 Thread Thor
there is the credential conditions under the object_actions , you can do something similar to this in your generator.yml to hide the actions list: title: something object_actions: _edit: # no credentials needed _delete: { credentials: [[ credential_name ]] } # that privilege is

[symfony-users] change html for how mergeRelation embeds?

2010-08-25 Thread Tofuwarrior
Hi, Is ther any way to stop mergeRelation embedding in the right hand td of the form table? I want it to just continue the existing table and, ideally, write a title for the relation and then embed in subsequent trs just as other widgets wouold if it wasn't a relation. Anyone guide the

[symfony-users] How to set an error message for invalid login with sfGuardAuth plugin?

2010-08-25 Thread Peter Peltonen
I am using symfony 1.2.12 and sfGuardAuth for logging in the users. If user fails to produce a valid username or password, no error message is shown. I've set in sfGuardFormSigninCustom a validator: $this-validatorSchema-setPostValidator(new sfGuardValidatorUser( array(),

[symfony-users] Symfony 1.4 Doctrine BIG problem clob Oracle

2010-08-25 Thread Gabo
Hello Symfony -users I have Big problem with SYMFONY 1.4+ DOCTRINE AND fiels clob and blob: return Oracle-Clob-return-Resource-id-3 How do I get support symfony clob and blob fields? thanks! -- If you want to report a vulnerability issue on symfony, please send it to security at

[symfony-users] Re: headers already sent

2010-08-25 Thread Florian
IMHO, this is not a HTML header problem but a HTTP headers problem. It happens when php tris to send http headers (via header() function ) after having sent some http body response! On 25 août, 12:57, Lutz lutz.p...@gmail.com wrote: This message generally occurs, when the webserver is asked to

Re: [symfony-users] Re: headers already sent

2010-08-25 Thread Stéphane
Yes, it is the HTTP headers, not the HTML HEAD thing. Before Printing, Think about Your Environmental Responsibility! Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale! On Wed, Aug 25, 2010 at 7:11 PM, Florian sideral.undergro...@gmail.comwrote: IMHO, this is not a HTML header

[symfony-users] Junior and Mid-level PHP Developer Jobs in Leeds, UK

2010-08-25 Thread Stephen Melrose
MadeByPi in Leeds are looking to hire a Junior and Mid-level PHP developer. For more information, please see the following, http://www.madebypi.co.uk/news/php-development-roles.aspx Cheers, Steve -- If you want to report a vulnerability issue on symfony, please send it to security at

[symfony-users] Re: Storing a list of arbitrary length to the DB

2010-08-25 Thread json2001
Ok, so I got a chance to look over some of the examples of the many-to- many relationship in jobeet and askeet and I still have a question. The many-to-many relationship described in those places makes perfect sense to me if there aren't any other variables associated with each item. But since

Re: [symfony-users] Trying to replace the default 'Required' message

2010-08-25 Thread Michał Piotrowski
2010/8/24 Javier Garcia tirengar...@gmail.com:  Sorry, could you paste the entire validator? I dont understand.. $this-validatorSchema['email_address'] = new sfValidatorAnd(array( new sfValidatorEmail(array('max_length' = 255), array('invalid' = 'Poprawny adres ma postać np.

[symfony-users] setCookie with a different domain

2010-08-25 Thread Mariano Sola
Hi all, how is it going? I'd like to ask you how can I set a domain that is not the same the setCookie method is invoked in order to be read from other domain. Currently I'm doing the following but the cookie is not created: $response = sfContext::getInstance()-getResponse();