[symfony-users] Re: How to declare an array of input field with sfForm?

2009-11-16 Thread Gareth McCumskey
Make your widget name "name_of_field[]". When symfony recieves a post variable like that $request->getPostParameter('name_of_field') returns an array On Sat, Nov 14, 2009 at 10:02 PM, Sid Bachtiar wrote: > > Hi, > > How to declare an array of input field in sfForm? Is this where > embedded form

[symfony-users] Re: My first work with Twig template

2009-11-16 Thread Davide Borsatto
2 things: 1 - This is not Twig, you are using the templating component. Maybe you are using both of them, but I actually don't see any reference to twig in the code 2 - It's just a typo, but in english "founded" isn't the past for "find". That is "found" :) On Nov 16, 2:03 am, ReynierPM wrote:

[symfony-users] Re: plugin with form build-form

2009-11-16 Thread smellycat37
It's because the class in my plugins/myPlugin/lib/model/doctrine/ #MyModelClass#.class.php was not abstract On 25 sep, 17:49, smellycat37 wrote: > Hello, > > I want to create a plugin with forms classes > When I execute the task ./symfony doctrine:build-form, symfony creates > forms class fi

[symfony-users] Re: My first work with Twig template

2009-11-16 Thread ReynierPM
Davide Borsatto wrote: > 1 - This is not Twig, you are using the templating component. Maybe > you are using both of them, but I actually don't see any reference to > twig in the code Yes, I have seen this yesterday but anyway it don't work for me maybe I'm doing something wrong > 2 - It's just

[symfony-users] [internships/jobs] Looking for symfony developers

2009-11-16 Thread chane...@gmail.com
Hi, Regioneo, a France based start-up, is looking for symfony developers. Our business is to sell directly products from local artisans. Our architecture is based on Symfony 1.2 and Mysql. Lots of developments are coming : API, new sections, semantic search, We are looking for enthousiastic

[symfony-users] Licensing Question / Code ownership

2009-11-16 Thread Richtermeister
Hi all, our company is slowly shifting from selling "all custom" websites to websites built on symfony + our own set of CMS plugins, and the question of code ownership is starting to come up. Traditionally we simply said that the client buys the entire site including code and is free to do whate

[symfony-users] Propel - force NOT NULL into generated SQL

2009-11-16 Thread Richtermeister
Hi all, I have a model with a field "absolute_url", which is a varchar(255), non-required. When generating the SQL for the tables, propel does not add NOT NULL, but I would like it to. Is there any way to affect this behavior? I've tried "notnull: true" and "null: false", but that didn't work. T

[symfony-users] Using var_dump: warnings about sfWebRequest

2009-11-16 Thread tirengarfio
Hi, i have this code below: class profileActions extends sfActions { public function executeIndex(sfWebRequest $request) { // Extraemos todos los miembros de la red social. $this->lista_miembros = Doctrine::getTable('Profile') ->createQuery('a') ->execute(); // Extra

[symfony-users] Re: Propel - force NOT NULL into generated SQL

2009-11-16 Thread Gábor Fási
required: true On Mon, Nov 16, 2009 at 19:55, Richtermeister wrote: > > Hi all, > > I have a model with a field "absolute_url", which is a varchar(255), > non-required. When generating the SQL for the tables, propel does not > add NOT NULL, but I would like it to. > Is there any way to affect th

[symfony-users] Re: Using var_dump: warnings about sfWebRequest

2009-11-16 Thread Gábor Fási
You call var_dump while executing the action, *before* any output (including the headers) is sent. It writes to the stand output, and when symfony tries to send the http headers, it cannot - hence the warnings. On Mon, Nov 16, 2009 at 19:55, tirengarfio wrote: > > Hi, > > i have this code below:

[symfony-users] Re: Propel - force NOT NULL into generated SQL

2009-11-16 Thread Richtermeister
Hey Gábor, hey, that works. Thanks. Is that the only way though, since required: true also makes the validator in the generated form required? Not a big deal if not, since I can just override that requirement.. just curious. Thanks again, Daniel On Nov 16, 11:04 am, Gábor Fási wrote: > requir

[symfony-users] Re: Using var_dump: warnings about sfWebRequest

2009-11-16 Thread tirengarfio
Thanks Gábor!, but...what should i do? Im just trying to show the var_dump output below the web page content. On Nov 16, 2:07 pm, Gábor Fási wrote: > You call var_dump while executing the action, *before* any output > (including the headers) is sent. It writes to the stand output, and > when s

[symfony-users] Re: Using var_dump: warnings about sfWebRequest

2009-11-16 Thread tirengarfio
Thanks Gábor!, but...what should i do? Im just trying to show the var_dump output below the web page content. On Nov 16, 2:07 pm, Gábor Fási wrote: > You call var_dump while executing the action, *before* any output > (including the headers) is sent. It writes to the stand output, and > when s

[symfony-users] Re: Propel - force NOT NULL into generated SQL

2009-11-16 Thread Gábor Fási
Not null and required is pretty much the same thing. On Mon, Nov 16, 2009 at 20:09, Richtermeister wrote: > > Hey Gábor, > > hey, that works. Thanks. Is that the only way though, since required: > true also makes the validator in the generated form required? > Not a big deal if not, since I can

[symfony-users] Re: Using var_dump: warnings about sfWebRequest

2009-11-16 Thread tirengarfio
Thanks Gábor!, but...what should i do? Im just trying to show the var_dump output below the web page content. On Nov 16, 2:07 pm, Gábor Fási wrote: > You call var_dump while executing the action, *before* any output > (including the headers) is sent. It writes to the stand output, and > when s

[symfony-users] Re: Using var_dump: warnings about sfWebRequest

2009-11-16 Thread Gábor Fási
This is the order of processing, when you request a symfony page: - the action is executed (this is where you put your var_dump) - the actions template is rendered - the output is decorated with the layout I cannot think of any way you could execute your code after the last step - as far as I un

[symfony-users] Re: Wrong Table Alias (Doctrine Admin Generator)

2009-11-16 Thread jukea
+1 !! I also have problems with count queries not respecting the alias I set for a table in join statements On Nov 11, 7:52 am, mintao wrote: > Hi, > > Not sure if this or the doctrine newsgroup is the right place to post > this question/bug. > > It's about the doctrine admin generator for the

[symfony-users] unsubscribe

2009-11-16 Thread sofiane oumaouche
please what can I do, so that I will not receive the messages of this users group any more _ Téléchargez Internet Explorer 8 et surfez sans laisser de trace ! http://clk.atdmt.com/FRM/go/

[symfony-users] Re: unsubscribe

2009-11-16 Thread Gábor Fási
Quote from the bottom of *every* mail you get from this levlist: To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "symfony user

[symfony-users] Re: sfThumbnailPlugin - maximum size image

2009-11-16 Thread Greg Quat
Hi, Maybe you can use $thumbnail = new sfThumbnail(150, 150,true, false); The third parameter is for keeping the same proportions as the original picture, and the fourth parameter is to allow or not the inflation. I am not sure because I didn't test but it's what I understood reading the plugin

[symfony-users] propel build-schema // Fatal error: Cannot instantiate interface Platform

2009-11-16 Thread YouGo
Bonjour ( ou bonsoir pour certains :-) J'ai eu la désagréable surprise au moment de lancer un propel:build- schema d'avoir l'erreur suivante : Fatal error: Cannot instantiate interface Platform in /usr/local/src/ workspace-projects/test/lib/symfony/plugins/sfPropelPlugin/lib/vendor/ propel-gener

[symfony-users] Re: Help with sfWidgetFormInputSWFUploadPlugin and admin generator

2009-11-16 Thread galthron
hello arnold. can you give me a solution for redirecting to "login page" becouse i`ve got the same problem. And can you write some solutions for the rest of the problems with sfWidgetFormInputSWFUploadPlugin. thanks --~--~-~--~~~---~--~~ You received this message

[symfony-users] Re: Symfony BugHuntDay - Who 's coming?

2009-11-16 Thread Fabian Lange
I will be there. And there are no flights London - Antwerp? Fabian On Thu, Nov 5, 2009 at 12:49 PM, Lee Bolding wrote: > > I'd have come, had been at Sensio - Paris from London is fairly easy > on the train, but Belgium isn't :-/ > > Oh well... I'll probably see you all at Symfony Live though :)

[symfony-users] Edit yaml files from a form

2009-11-16 Thread flopezlosada
Hello I'm trying to modify .yml configuration files via form in the backend. with the libraries sfYml yml file convert it into an array, but then to turn it into a form for an administrator change it I'm lost. someone has done something similar? thank you very much greetings --~--~-~--~-

[symfony-users] Request Handler component

2009-11-16 Thread alexs
Does anybody know when Fabien is planning to release Request Handler component? Is there a svn repository for this component? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this gro

[symfony-users] Paypal plugin configuration options

2009-11-16 Thread Mathieu Brethes
Hi, I have to integrate the Paypal plugin into an existing Symfony application, replacing a custom payment solution. The original developer wrote three actions for managing payment success, failure, and IPN validation. At the moment the sfPaymentPayPal plugins calls /sfPaymentPayPal/ failure or

[symfony-users] doctrine wrong request sfguard plugin

2009-11-16 Thread djey
Hi all, I'm new in symfony developping and i've got a problem about sfguard plugin doctrine. I've tuned my login page but I think Doctrine makes a wrong request: SELECT a.* FROM (SELECT s.id AS s__id, s.username AS s__username, s.algorithm AS s__algorithm, s.salt AS s__salt, s.password AS

[symfony-users] symfony 1.3 and propel behaviors

2009-11-16 Thread Boo_boo
hello are there any documentation about adding propel builder behaviors in propel1.4/symfony1.3? i need to add a method to retrieve primary keys by criteria to all of the objPeer classes, propel docs says that is possible with staticMethods() and there is SoftDeleteBehavior bundled with propel

[symfony-users] sfAssetsLibraryPlugin installation problems

2009-11-16 Thread sinosoidal
Hi, I'm having a problem executing the last task of the instalation instructions of sfAssetsLibraryPlugin symfony asset:create-root Tells me that the task isn't defined!! Its being very hard to install this plugin, either in 1.0 or 1.2 Is always something failing. The automatic install doesnt

[symfony-users] Performance : sfSuperCachePlugin, sfOptimizerPlugin - Where are they now ?

2009-11-16 Thread theredled
Hi, I was reading "Performance" chapter of the "definitive guide" for Symfony 1.2 ( http://www.symfony-project.org/book/1_2/18-Performance ) In opposition to what is said there, sfSuperCachePlugin and sfOptimizerPlugin are not available anymore for Symfony 1.2. So the question is : why ? Is Sy

[symfony-users] sfAssetsLibraryPlugin

2009-11-16 Thread Nuno Santos
Hi, I'm having trouble installing sfAssetsLibraryPlugin. When I execute the following task: symfony asset:create-root Tells me that the task isn't defined!! Its being very hard to install this plugin, either in 1.0 or 1.2 I checked out the svn 1.2 branch to the plugins directory and followe

[symfony-users] Accessing view.yml settings?

2009-11-16 Thread Sebastian Göttschkes
Hi, I'm new to symfony, but it all looks very nice :-) Now I got my first problem I cannot solve using google. I want to add some configuration settings to the view.yml. This task itself is no problem, but I cannot access this settings. My goal ist to add a configuration, which navigation eleme

[symfony-users] Re: a menu for my project

2009-11-16 Thread Antoine S.
Hi, I use the sfUnobstrusiveWidgetPlugin. There is a config file : config/sfUoAdminMenu.yml with the routes of the menu and the credentials for each one. Once the plugin is installed : $this->widget = new sfUoWidgetAdminMenu(array( 'js_transformer' => 'drop_down' )); Antoine doublecli

[symfony-users] Re: form->Render() when embedding?

2009-11-16 Thread Antoine S.
Hi, I wrote a function that I use quiet often. It displays the php code to decompose a form. It might help with the embed form, the i18n and the hidden field : class myTools{ public static function getFormFields( $form ) { self::__getFormFields($form); } private static function __g

[symfony-users] Re: link_to_remote() - using ajax to delete posts

2009-11-16 Thread kowal grzes
If link is created then use FireBug to check where is problem. You can check if request is sent and what came in response. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group,

[symfony-users] Re: link_to_remote() - using ajax to delete posts

2009-11-16 Thread kowal grzes
> > > I added this helper in my partial. Still not working :( > > But what is happening? Link is generated? Maybe put some code from page source here so we can see what was generated by this tag. --~--~-~--~~~---~--~~ You received this message because you are subscr

[symfony-users] Re: form->Render() when embedding?

2009-11-16 Thread kowal grzes
In view file: foreach($form->getEmbeddedForms() as $formName => $embeddedForm) { and here you just render it or use partial here. } --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post t

[symfony-users] Clarifying the "module naming policy" for beginners

2009-11-16 Thread Frosty
Hello, It's quite obvious that modules are most of the time the names of the application "concepts" (as well as DB table names). Simple examples : - "ticket", "project", "user", ... for a ticket tracker - "website", "page", "language", "user", ... for a CMS - "product", "company", "customer", "o

[symfony-users] Enhancement suggestions for "flash messages"

2009-11-16 Thread Frosty
Hi, Sometimes I feel limited by "flash messages", as I found developers to write code such as : (in action context) $this->getUser()->setFlash('success', 'Update successful'); ... $this->getUser()->setFlash('error', 'An error has occured... '); ... $this->getUser()->setFlash('info', $sn_results.

[symfony-users] probleme avec propel et initialisation

2009-11-16 Thread taha
j'arrive pas a comprendre ce type d'erreur: 500 | Internal Server Error | PDOException SQLSTATE[42000]: Syntax error or access violation: 1115 Unknown character set: 'utf-8' stack trace at () in SF_ROOT_DIR\lib\vendor\symfony\lib\plugins\sfPropelPlugin\lib\vendor \propel\util\DebugPDO.php line 16

[symfony-users] Suggestion about template naming ".php"

2009-11-16 Thread Frosty
Hi, I'm currently realizing that through my Symfony development experience, I've nearly *never* used : - 404 redirects ($this->redirect404Unless... etc) because 404 errors seem too confusing for developers and users (I prefer to send the user to its original action with a "gentle" message, than

[symfony-users] How to test cache in functional test

2009-11-16 Thread Alex Morales
Hi, I try test cache in a functional test, i follow instructions in the symfony book, i actived the cache in test environment, but when i run the test, the cache is not generated, and the test always fail. --~--~-~--~~~---~--~~ You received this message because

[symfony-users] Performance : sfSuperCachePlugin, sfOptimizerPlugin - Where are they now ?

2009-11-16 Thread theredled
Hi, I was reading "Performance" chapter of the "definitive guide" for Symfony 1.2 ( http://www.symfony-project.org/book/1_2/18-Performance ) In opposition to what is said there, sfSuperCachePlugin, sfOptimizerPlugin, sfErrorLoggerPlugin plugins, which seem very important for that part, are not a

[symfony-users] Create form manually, but add csrf-token?

2009-11-16 Thread Sebastian Göttschkes
Hello, I'm a bit lost here as I try to create a form manually. My goal is this: I want to add a login form to every page within the project. So I added this form (written manually) to the layout.php, which works ok! When I send the login-form, symfony handels the request ok and uses the correct

[symfony-users] Re: Symfony 1.4

2009-11-16 Thread Fabian Lange
Hi Sid, there is no branch yet because there is still heavy development of 1.3 :) the deprecations are listed here: http://www.symfony-project.org/tutorial/1_3/en/deprecated Fabian On Tue, Nov 10, 2009 at 10:54 PM, Sid Bachtiar wrote: > > Hi, > > I want to use 1.4 but I can not find the branch

[symfony-users] Picotea.com, new microblogging site developed with Symfony

2009-11-16 Thread Frontelo
Hi. I would like to talk to you about Picotea.com, a new microblogging site that we have developed using Symfony Framework. Picotea is a microblogging site with added value features like groups, events, conversation threads and much more. We have also developed a connection with Twitter. Here you

[symfony-users] Re: my solution for i18n forms

2009-11-16 Thread theredled
Why don't you just unset() unused fields in FirmForm and FirmTranslationForm ? On 9 nov, 10:42, dziobacz wrote: > Creating i18n forms with only some fields from table isn't possible so > I give You my idea :) > > I have schema.yml: > Firm: >   actAs: >     I18n: >       fields: [description, add

[symfony-users] Re: should this be considered a Symfony bug?

2009-11-16 Thread theredled
Probably the result of a comparison between a string and true, which returns true... The cause of this is more PHP itself :D On 10 nov, 20:20, larry wrote: > When forcing a return from an action method (usually to end execution) > one has to write: > > return sfView::SUCCESS; > > But I stupidly

[symfony-users] sfDoctrinePlugin one2many admin generation

2009-11-16 Thread Gatos
Hello I was downgrading symfony from 1.1(because it's deprecated) to 1.0 and I found that doctrine-admin-generate doesn't work for some reason, one-to-many replation ships are not shown. What could be the cause of the problem? Thank you. --~--~-~--~~~---~--~~ Yo

[symfony-users] How to disable the admin generator cache?

2009-11-16 Thread zven
Hi! Does anybody know how to disable the admin generator cache? At the moment I have to call the clear-cache command each time. Thanks, Sven --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "symfony users" group. To

[symfony-users] how to pass values to my custom form Widget (one widget for two model-properties). Symfony 1.2

2009-11-16 Thread Don_Busi
Hi, I have an entity that (among other properties) has a "startDate" and an "endDate" property. Now I created a form widget that graphically shows the date range specified by these two dates. In my Form class I added my new custom form widget. public function configure() { ... $this-

[symfony-users] Complex redirect with 301 status

2009-11-16 Thread domnuprofesor
Hi there! I'm switching a website to symfony that has over 180k pages indexed by google. Each page need quite a bit of server logic to redirect to the new pages. My problem is that I'm not sure I'm doing things write (and fast) in symfony. Would you please let me know if this is ok? this is how

[symfony-users] sfguard automatic authentication

2009-11-16 Thread Hofferek Attila
Dear users, If I have a user ID, how can I programatically make the user autheticated? Thanks in advance -- Hofferek Attila --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this gro

[symfony-users] Re: Overwrite Security Actions Settings

2009-11-16 Thread XAH
My english is not good enough but i'll try to tell about some usefull concepts in symfony (i'm symfony developer for the last almost 3 years). Module in application is the thing that do some determinate work in application (set of actions). For example, security module - do login and logout stuff

[symfony-users] Re: Problems trying to add a filter to index.php

2009-11-16 Thread Mailo
It seems to me like you try to do admin module without admin- generator. Why? Lets see admin generator if it could be what would you like to do( the module ) Admin generator link: http://www.symfony-project.org/jobeet/1_2/Doctrine/en/12 On Nov 11, 8:48 pm, tirengarfio wrote: > Hi, > > im tryi

[symfony-users] Re: sfValidatorPropelUnique fails on updates - 1.2

2009-11-16 Thread Stefan Paschke
Hi I just ran into the same problem, and while I found the solution in this discussion, I think it is not clear enough, so let me repeat briefly, in case anyone comes across this in the future: like Richtermeister says, the problem can be solved by adding a _uniques key to the schema, and using

[symfony-users] how to pass values to my custom form Widget (one widget for two model-properties). Symfony 1.2

2009-11-16 Thread Don_Busi
Hi everybody, I have an entity that (among other properties) has a "startDate" and an "endDate" property. Now I created a form widget that graphically shows the date range specified by these two dates. In my Form class I added my new custom form widget. > public function configure() > { >

[symfony-users] Re: Problems trying to add a filter to index.php

2009-11-16 Thread Mailo
What about admin generator? http://www.symfony-project.org/jobeet/1_2/Doctrine/en/12 On Nov 12, 11:50 am, tirengarfio wrote: > Yes, its true, sorry... > > Here you have my post corrected: > > Hi, > > im trying to add a filter to the "job/index" action of my module > "job". > > These are my steps

[symfony-users] speed of $request->getParameter()

2009-11-16 Thread Michał Piotrowski
Hi, I'm wondering how fast is $request->getParameter()? In other words - will this public function executeDelete(sfWebRequest $request) { $request->checkCSRFProtection(); $this->username = $request->getParameter('username'); $this->mod = $request->getParameter('mod'); $this

[symfony-users] How to retrieve text direction from sfCultureInfo

2009-11-16 Thread Egretta Thula
I want to get the text direction from sfCultureInfo. The only way I can think of is: $text_direction = (sfCultureInfo::getInstance($culture)->findInfo ('layout/characters') == "right-to-left")? "rtl" : "ltr"; however, findInfo is protected. Is there any other way? Thanks in advance --~--~

[symfony-users] Re: How to declare an array of input field with sfForm?

2009-11-16 Thread Jesse B. Hannah
One way to do this is with embedded forms. A good example is available at http://trac.symfony-project.org/ticket/4906#comment:13, but here's a quick rundown of it: $form = new sfForm(); for ($i = 1; $i <= 5; $i++) { $form->widgetSchema[$i] = new sfWidgetFormInputFile(); $form->widgetSchema->set

[symfony-users] Re: Doctrine Query

2009-11-16 Thread Andre Fernandes
I have had the same problem. The solution in my case was to use no alias in the selected values example I had something just as (column names are not those below): Doctrine_Query::create()->select('c.id as code_value') but that give me the same problem. To solve I had to do: Doctrine_Que

[symfony-users] RE: Licensing Question / Code ownership

2009-11-16 Thread Richtermeister
Let's keep this on topic. Thanks. On Nov 16, 12:18 pm, Gábor Fási wrote: > Quote from the bottom of *every* mail you get from this levlist: > > To unsubscribe from this group, send email to > symfony-users+unsubscr...@googlegroups.com --~--~-~--~~~---~--~~ You re

[symfony-users] Re: How to declare an array of input field with sfForm?

2009-11-16 Thread Sid Bachtiar
Hi, Thanks for all the responses. In the end I use embedForm :) On Tue, Nov 17, 2009 at 7:45 AM, Jesse B. Hannah wrote: > > One way to do this is with embedded forms. A good example is available > at http://trac.symfony-project.org/ticket/4906#comment:13, but here's > a quick rundown of it: >

[symfony-users] Re: My first work with Twig template

2009-11-16 Thread Davide Borsatto
It's just my opinion but... Using the templating component in sf 1.X is not a great idea. It offers a few advantages, but as far as I've seen it's quite hard to implement (it replaces a whole layer of the MVC architecture, it IS a big deal) without strange hacks and keeping the code clean. IMHO,

[symfony-users] fileUpload error

2009-11-16 Thread Simon
I have a form where I can download a file to the server. When I create a new entry or when I change data in comics with the form everything works perfectly. I discovered an error this week. When I create a new entry with a file over 10MB I get an error that tells me I can not download the file bec

[symfony-users] Re: My first work with Twig template

2009-11-16 Thread ReynierPM
Davide Borsatto wrote: > It's just my opinion but... > Using the templating component in sf 1.X is not a great idea. It > offers a few advantages, but as far as I've seen it's quite hard to > implement (it replaces a whole layer of the MVC architecture, it IS a > big deal) without strange hacks an

[symfony-users] Save embedded forms at diferent times

2009-11-16 Thread Germana Oliveira
Hi!! I have to embedded Forms into a main Form, and i have to do this process: 1. Save the embedded Form number1 2. Save the main Form (the main Form have some Foreing Key from Embedded Form number1) 3. Save embedded Form number2 (this embedded Form have some Foreign Key from Main Form) How

[symfony-users] Does symfony 1.0.21/(propel) generate yml schema files (or only XML)?

2009-11-16 Thread Ari Army
Hey all, Curious how 1.0 builds yml schema files... I tried running '$symfony propel-build-schema' and it builds schema.xml by default. The 1.0 Definitive Guide manual says by default it will generate the yml file (and specifying '$symfony propel-build-schema xml' builds an xml file) but this seems

[symfony-users] Re: Licensing Question / Code ownership

2009-11-16 Thread Alexandru-Emil Lupu
This is a php script. If you want to sell it, you might wanna considering purchasing a Zend Compiler or whatever the name of that tool is. You cannot be sure that the Client won't patch it or even sell it further ... but... you might wanna consider 2 things: provide Sf Hosting for you products: r

[symfony-users] Re: fileUpload error

2009-11-16 Thread Simon
I found what was the problem. php.ini upload_max_filesize was at 20m but i never saw post_max_size. it was at 8m. On 16 nov, 16:22, Simon wrote: > I have a form where I can download a file to the server. > When I create a new entry or when I change data > in comics with the form everything

[symfony-users] Re: how to pass values to my custom form Widget (one widget for two model-properties). Symfony 1.2

2009-11-16 Thread Martin Ibarra Cervantes
you can setDefault $form->setDefault('dateRange', 'value'); On Thu, Nov 12, 2009 at 1:14 PM, Don_Busi wrote: > > Hi everybody, > > I have an entity that (among other properties) has a "startDate" and > an "endDate" property. Now I created a form widget that graphically > shows the date range s

[symfony-users] Re: how to pass values to my custom form Widget (one widget for two model-properties). Symfony 1.2

2009-11-16 Thread Don_Busi
Thanx a lot! Works like a charm. Don --~--~-~--~~~---~--~~ 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@googlegroups.com To unsubscribe from this group, send ema

[symfony-users] Doctrine, MySQL and Latin1. Symfony 1.3

2009-11-16 Thread MaEcTPo
Hi, I am new on doctrine, and I have a problem. When I run task $: symfony doctrine:build-all I receive in MySQL database tables with latin1 charset. Ok, I go to the phpmyadmin, and change default charset for the database to utf8_general_ci. But after runnig the task I have tables with latin1 ag

[symfony-users] Re: Doctrine, MySQL and Latin1. Symfony 1.3

2009-11-16 Thread David Ashwood
Use something along the line of the following in the top of your schema.yml; options: collate: utf8_unicode_ci charset: utf8 On Mon, 2009-11-16 at 15:34 -0800, MaEcTPo wrote: > Hi, > I am new on doctrine, and I have a problem. > > When I run task > $: symfony doctrine:build-all > I receive

[symfony-users] Re: sfValidatorPropelUnique fails on updates - 1.2

2009-11-16 Thread Richtermeister
Hey Stefan, The initial form knows whether it's new or an update, because you give it a concrete object into the constructor, and most likely you have retrieved this object by its primary key before, so it's fully populated. If sending the pk via hidden input rubs anybody wrong, you don't have t

[symfony-users] got strange issue in symfony sessions (urgent)

2009-11-16 Thread Dheeraj Kumar Aggarwal
i have got a strange issue in my symfony project when the user navigate through the site, sometimes symfony forwards the user to login page. although the user is already logged in. and when user refreshes the screen after reaching on login screen it automatically goes into the site. the occurrenc

[symfony-users] Re: < in javascript code is stripped

2009-11-16 Thread darkpilg...@126.com
Sorry, this is not symfony's problem. On Nov 17, 10:23 am, "darkpilg...@126.com" wrote: > When I write javascript code like: var str = ' option>'; in template, I find that is gone. > Actually it's < that is stripped on rendering. I don't know which > piece of symfony code does this and whether

[symfony-users] Re: < in javascript code is stripped

2009-11-16 Thread Paul Witschger
I'm going to assume you are building your javascript in the controller and putting it into a variable to be outputted in the view. If this is not the case, disregard my answer below. I'm new to symfony, so I apologize if there is a better way, but from what I can determine, you basically have t