[symfony-users] symfony 1.4 functional test and domain-related issues

2011-05-05 Thread Thor
i have a cms handling multiple domains. I am not able to test it because when i create the 'login' test it should find the domain which is requested, and then "do stuff" based on the domain name,and the user passed. The problem seems to be that it's not able to find the domain. Is there a way to

[symfony-users] Re: ERP development ( SF 1.4 or 2.0 ? )

2011-03-06 Thread Thor
so called "distribution" that with the next update will not work. It's still being developed. On 6 Mar, 12:16, Michał Piotrowski wrote: > 2011/3/6 Thor : > > > what fabien himself said is that it's really possible that further > > updates on the sf2 distributions co

[symfony-users] Re: ERP development ( SF 1.4 or 2.0 ? )

2011-03-06 Thread Thor
#x27;m using Symfony 2 for my CRM and I must say it's the best choice I made. I > need the flexibility it gives you. > > Anyway, the only way to know is to give both a try. > > > > > > > > On Thu, Mar 3, 2011 at 3:22 PM, Thor wrote: > > i don't

[symfony-users] Re: How to change default sfValidatorString max length message?

2011-03-06 Thread Thor
or you could create the validator with the array of the messages already compiled: ... new sfValidatorString(array(),array('max_lenght'=>"NOOO",'min_lenght'=>'nooo')) On 4 Mar, 18:06, Ben wrote: > inside your form's configure method, you need to set the error message > for each error on each val

[symfony-users] Re: ERP development ( SF 1.4 or 2.0 ? )

2011-03-03 Thread Thor
with "i'd think IF i needed that" was just that: if someone doesn't needed plugins sf2 could be a good starting point. btw today at sflive fabien said it's not. On 1 Mar, 17:53, Michał Piotrowski wrote: > 2011/3/1 Thor : > > > Are all sf 1.4 plugins already

[symfony-users] Re: ERP development ( SF 1.4 or 2.0 ? )

2011-03-01 Thread Thor
Are all sf 1.4 plugins already available in 2.0? if not, i'd think if i needed that On Mar 1, 2:41 pm, Anderson Dadario wrote: > Thanks for your opinion ! I'll think seriously about it .. xD > > On 1 mar, 08:33, Gustavo Adrian wrote: > > > > > > > > > 2.0. No doubt about that (in my case). For a

[symfony-users] Re: Multiple databases and data exchange

2011-02-17 Thread Thor
ur app, essentially doubling every write transaction. > > > > > > > > > > On Thu, Feb 17, 2011 at 9:41 AM, Thor wrote: > > Hi all, i have a question about multiple databases: > > > supposing that i have the database.yml and everything setup to use two >

[symfony-users] Multiple databases and data exchange

2011-02-16 Thread Thor
Hi all, i have a question about multiple databases: supposing that i have the database.yml and everything setup to use two databases instead of one, with one that serve as a backup , and the other as the production... how can i achieve that with propel? i found a simple way to implement the 2 da

[symfony-users] Redirect with method POST

2011-02-10 Thread Thor
Hi all, i need to reach a payment service on another server and url than the application one, in post,not get. how can i achieve this from an action? i cannot find anything similar ... -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com

[symfony-users] Re: Symfony 1.4 + propel15 ondemand hydration

2010-12-23 Thread Thor
/forum.symfony-project.org/viewtopic.php?f=22&t=31281 On Dec 9, 3:13 pm, Thor wrote: > Hi all, > i have some code that looks as follows: > > $list = ObjQuery::create()->setFormatter(ModelCriteria::ON_DEMAND)- > > >find(); > > That returns me a certain number of

[symfony-users] Re: Different format for :sf_culture

2010-12-11 Thread Thor
i think you can simply define your custom cultures as you want by simply creating the relative xml of the culture, not so sure though.. On Dec 10, 12:43 pm, "Felix E. Klee" wrote: > The default I18N system for transmitting cultures in the URL is nice. > Simply add: > >   /:sf_culture > > However,

[symfony-users] Symfony 1.4 + propel15 ondemand hydration

2010-12-09 Thread Thor
Hi all, i have some code that looks as follows: $list = ObjQuery::create()->setFormatter(ModelCriteria::ON_DEMAND)- >find(); That returns me a certain number of objs in a propelcollection. If to this code i add the following (for example) foreach ( $list as $o) { echo $o->getId() ." - ". $o->ge

[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 need

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

2010-08-24 Thread Thor
you have to pass it as an "required" field in an array, given as second parameter of the validator new sfvalidatorsomething(array(...),array('invalid'=>'invalid message','required'=>'required message')); On 24 Ago, 13:05, Javier Garcia wrote: >   Sorry, could you paste the entire validator? I d

[symfony-users] Re: Application Desktop

2010-08-23 Thread Thor
therefore connect > to a local web server to serve your application. > > > > > > On Fri, Aug 20, 2010 at 2:59 PM, Thor wrote: > > I am sorry, i don't get it. > > Isn't that a browser without the address bar and the top buttons? > > what's t

[symfony-users] Re: Application Desktop

2010-08-20 Thread Thor
I am sorry, i don't get it. Isn't that a browser without the address bar and the top buttons? what's the point of it? On 20 Ago, 13:42, Gareth McCumskey wrote: > http://prism.mozillalabs.com/ > > ;) > > On Thu, Aug 19, 2010 at 11:53 PM, Bruno Soares wrote: > > > > >

[symfony-users] Re: Customize admin generator to parse generator.yml with custom properties

2010-08-04 Thread Thor
stom-properties-in-symfonys-...http://www.symfony-project.org/gentle-introduction/1_4/en/14-Admin-Ge...http://gestadieu.blogspot.com/2009/08/sfadminthemejrollerplugin-symfo... > > On 15 čnc, 12:48, Thor wrote: > > > > > nobody? :( > > > On 12 Lug, 12:43, Thor wr

[symfony-users] Re: Symfony2 or CakePHP ?

2010-07-19 Thread Thor
define "heavy" ... On 9 Lug, 16:06, Ekinox wrote: > Hello, > > Will Symfony2 's interface evolve just a > little, or will it be rethought before the final release ? So I will > know if I should use it for a big project. In fact, I may not use > symfony 1.4 ; as the project chief (even if it is no

[symfony-users] Re: Customize admin generator to parse generator.yml with custom properties

2010-07-15 Thread Thor
nobody? :( On 12 Lug, 12:43, Thor wrote: > well,actually i need to heavily customizeadmingenerators to create > various functionalities, so i haven't got a single example, i provide > some of them that i could use: > > batch_position: top  # (top,bottom,both) > toggable_fi

[symfony-users] Re: Customize admin generator to parse generator.yml with custom properties

2010-07-12 Thread Thor
to make $this->configuration->getValue('list.batch_position') parsable with a custom function... On 12 Lug, 12:25, Daniel Lohse wrote: > This sounds much too abtract (custom_option1) — what use-case do you have? > > Cheers, Daniel > > Sent from my iPad >

[symfony-users] Customize admin generator to parse generator.yml with custom properties

2010-07-12 Thread Thor
Hi all, i cannot understand how to customize the admin generator : i am using propel, and i see that from the generator.yml the first line is the class used by the generator, therefore in my case sfPropelGenerator. I think that extending that class with a custom one is the first step, what i'd lik

[symfony-users] Re: Headers already sent

2010-05-18 Thread Thor
I'd add as common cases, classes with spaces BEFORE the wrote: > A HTTP response is composed of >   a. HTTP headers >   b. HTTP content > If you try to do > echo 'aaa'; > header(''); > You will get this error. > > Check if the action throws out an error or outputs something, for this > do an e

[symfony-users] Re: Jquery and AJAX symfony 1.4

2010-04-20 Thread Thor
I suggest you to use jQueryReloaded plugin, it's really simple to use that, and what you need is done with a helper like link_to On 19 Apr, 19:58, trankh wrote: > Hello, > > I want to call a simple action without passing any argument inside a > jquery function. > No argument because a random func

[symfony-users] Re: Jquery and AJAX symfony 1.4

2010-04-20 Thread Thor
I suggest you to use jQueryReloaded plugin, it works greatly, and what you need is simply done by a helper like link_to_remote On 19 Apr, 19:58, trankh wrote: > Hello, > > I want to call a simple action without passing any argument inside a > jquery function. > No argument because a random functi

[symfony-users] Re: Propel admin generator in combination with internationalisation

2009-12-18 Thread Thor
try posting the schema meanwhile -- You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-us...@googlegroups.com. To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com. For

[symfony-users] Advanced forms - embedding - advent calendar 8

2009-12-15 Thread Thor
Hi all, i have some serious issues on this topic, better explained in the example at the page http://www.symfony-project.org/advent_calendar/8/en What i'm trying to understand is how to deal with object that yet do not have an entry in the db. The example looks perfectly clear when the embedding