[symfony-users] Re: iocombiner plugin : activation procedure ?

2010-04-15 Thread Mikael
Ok, thanks. So, I'm not so sure of where this plugin benefits in my use. I've loaded my test page in opera to trigger the minifying process, and then loaded it again in firefox with firebug. It showed that the loading of the combine.js file took nearly 2s. Isn't there a way to reuse symfony's cac

Re: [symfony-users] Re: Multiple File Uploads in Embed Form

2010-04-15 Thread Sela Yair
http://www.symfony-project.org/more-with-symfony/1_4/en/06-Advanced-Forms On 15 April 2010 09:27, saki wrote: > thx! which book contains this topic? > > On ápr. 14, 23:37, Sela Yair wrote: > > did you read the more symfony book? there's an example how to upload > > multiple photos. > > > > On 1

[symfony-users] Triggers and procedures YAML definition

2010-04-15 Thread Alvaro Garcia
Hello! It seems that in Doctrine we can't create triggers and procedures (manual insertion required) but I want to know if anyone have a trick to build it. Thank you! -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this

[symfony-users] Zend Lucene don't search numercial value

2010-04-15 Thread Omar El Mazny
following the tutorial on adding zend to symfony but it doesn't search on any numerical value i need to search on Postal code to define a location any suggestions ??? thank you !! -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You r

[symfony-users] Re: doctrine 2+ symfony 1.4

2010-04-15 Thread rooster (Russ)
On Apr 14, 10:13 pm, Peter Petrik wrote: > hi, > > i am wondering , it is possible to use doctrine2 with symfony 1.4 (is > there any plugin that supports it?) > > tnx. > > peter Also this more recent blog post: http://eatmymonkeydust.com/2010/03/using-doctrine-2-with-symfony-1-x-part1/ -- If

[symfony-users] Re: sfWidgetFormSelectDoubleList order of items?

2010-04-15 Thread comb
That would be GREAT! On 14 Apr., 23:33, Richtermeister wrote: > Yeah, this is a pretty common requirement, and I've used a double list > before that had up/down arrows. > I'll see if I can find the code somewhere.. I've been meaning to > package that into a widget anyways. > > Daniel > > On Apr 1

[symfony-users] Re: Multiple File Uploads in Embed Form

2010-04-15 Thread saki
thank you so much! very useful! On ápr. 15, 09:15, Sela Yair wrote: > http://www.symfony-project.org/more-with-symfony/1_4/en/06-Advanced-F... > > On 15 April 2010 09:27, saki wrote: > > > thx! which book contains this topic? > > > On ápr. 14, 23:37, Sela Yair wrote: > > > did you read the more

[symfony-users] The 'right' way to update content in a section with symphony components?

2010-04-15 Thread Lutz
Hi all, I am currently struggling to find the 'right' way to implement tabulators and the respective update of the content on the tabulator pages. like: | *Tab1* | Tab2 | Tab3 | | Tab1 | *Tab2* | Tab3 | | Tab1 | Tab2 | *Tab3* | - ---

[symfony-users] Sf 1.3.3 doesn't recognize GuardPlugin 4

2010-04-15 Thread Manuel E.
Hi people: I'm trying to install the sfGuardPlugin 4 in Sf 1.3.3 but it doesn't works, everything fine in 1.2.8 and Guard 1.3 I'm reading Symfony 1.3 Web Applications by Tim Bowler and he uses the GuardPlugin from 1.2 because at the time he wrote the book was the last version, but now that plugin i

[symfony-users] I'm blocked : I can't create cookie

2010-04-15 Thread mehdi hadef
Hi all, I'm working hard on this problem since some days and can't find any solution. I have this problem with my cookies since I've upgraded symfony 1.2 to 1.4. I can't set cookie value. For example when I made in my action.class.php a $this->getResponse()->setCookie('myCookie', 'myValue',time()

[symfony-users] Data-separation in Symfony-Doctrine-Multi-tenant app

2010-04-15 Thread Prasad Gupte
I am trying to implement a multi-tenant application, that is - data of all clients in a single database - each shared table has a tenant_id field to separate data I wish to achieve data separation by adding where('tenant_id = ', $user->getTenantID()) {pseudoc-code} to all SELECT queries I could no

[symfony-users] In remote host: Error 500. Unknown record property / related component "algorithm" on "sfGuardUser"

2010-04-15 Thread Javier Garcia
Hi, after deploying, i get the error below after loggingin. Sf 1.3, sfDoctrineGuardPlugin. And i have this schema.yml in config/doctrine: Usuario: inheritance: extends: sfGuardUser type: simple columns: username: type: string(128) notnull: false unique: true

[symfony-users] help_foreign key

2010-04-15 Thread safa boubekri
hello i need your help thank you very much in my schema  i have field  asforeign key but in the forms i must to write this field but normaly it will be written automatically because it is foreign key -- If you want to report a vulnerability issue on symfony, please send it to

[symfony-users] Re: Sf 1.3.3 doesn't recognize GuardPlugin 4

2010-04-15 Thread Javier Garcia
How are you installing it? What do you mean exactly with "it doesn't work"? Javi On Apr 14, 4:21 pm, "Manuel E." wrote: > Hi people: > I'm trying to install the sfGuardPlugin 4 in Sf 1.3.3 but it doesn't > works, everything fine in 1.2.8 and Guard 1.3 > I'm reading Symfony 1.3 Web Applications b

[symfony-users] Can’t get custom error rendering t o work in symfony 1.4

2010-04-15 Thread Hong Kil Dong
I'm tring to customize error rendering in my form according to this example: http://www.symfony-project.org/forms/1_4/en/03-Forms-for-web-Designers#chapter_03_sub_fine_grained_customization_of_error_messages Here is my code: if ($this['message']->hasError()) { $error_msg = ''; for

[symfony-users] changed fields

2010-04-15 Thread Tamas Amon
Hello, I like to know if a form saved by update, which field is changed. How can I know this? Thanks -- Ámon Tamás -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google

[symfony-users] Re: The 'right' way to update content in a section with symphony components?

2010-04-15 Thread Massimiliano Arione
On 15 Apr, 08:12, Lutz wrote: > So, is there a way to get the redered result for a component, so > instead 'include_component' something like 'render_component'? in > symphony? http://www.symfony-project.org/api/1_4/PartialHelper#method_get_component -- If you want to report a vulnerability iss

[symfony-users] Re: The 'right' way to update content in a section with symphony components?

2010-04-15 Thread Lutz
Great! Long question short answer. I knew it, there's a straight forward solution. Sorry for bothering with that RTFM question and thanks a lot. With best regards, Lutz On 15 Apr., 15:14, Massimiliano Arione wrote: > On 15 Apr, 08:12, Lutz wrote: > > > So, is there a way to get the redered resu

[symfony-users] Re: Data-separation in Symfony-Doctrine-Multi-tenant app

2010-04-15 Thread rafaelgou
You don't to customize all fetchAll and fetchOne... All operations are done by extending Doctrine_Table class. Create a class called Tenant_Doctrine_Table, override the methods, and then all classes that uses this method extends this one. Or create a Doctrine Behavior. []'s Rafael Goulart from

Re: [symfony-users] Invitation to connect on LinkedIn

2010-04-15 Thread Gareth McCumskey
Oops On Thu, Apr 15, 2010 at 3:46 PM, Donald Tyler wrote: > LinkedIn > > Donald Tyler requested to add you as a connection on LinkedIn: > > Sammi, > > I'd like to add you to my professional network on LinkedIn. > > - Donald > > > Accept

[symfony-users] Invitation to connect on LinkedIn

2010-04-15 Thread Donald Tyler
LinkedIn Donald Tyler requested to add you as a connection on LinkedIn: -- Sammi, I'd like to add you to my professional network on LinkedIn. - Donald Accept invitation from Donald Tyler http://www.linkedin.com/e/qO9B2I_WgRga1ha72C9BjT1ZSbs3iZ

[symfony-users] configuration problem!?

2010-04-15 Thread Andris
When issuing command: "symfony propel:data-load" it fails with notice -- Unable to find adapter for datasource [i2]. I use symfony 1.4.5-DEV with latest sfPropel15Plugin. (XAMPP 1.7.4 on Windows 7 (64bit) environment) a) in phpMyAdmin set password for root user b) Created project with "--orm=Prope

[symfony-users] sfDoctrineMasterSlavePlugin and multiple databases problem

2010-04-15 Thread soulfly
Hi I'm trying to use sfDoctrineMasterSlavePlugin to manage 2 databases - one with master and slave, another with only master. I did all described here http://www.symfony-project.org/plugins/sfDoctrineMasterSlavePlugin/1_0_2 but I see that if I try to use to connections on 1 page (select from 1

Re: [symfony-users] Data-separation in Symfony-Doctrine-Multi-tenant app

2010-04-15 Thread Sergio Fabián
On Thu, Apr 15, 2010 at 6:48 AM, Prasad Gupte wrote: > I am trying to implement a multi-tenant application, that is > - data of all clients in a single database > - each shared table has a tenant_id field to separate data > > I wish to achieve data separation by adding where('tenant_id = ', > $use

Re: [symfony-users] ahDoctrineEasyEmbeddedRelationsPlugin problem

2010-04-15 Thread Daniel Lohse
Hey Stéphane, sorry for getting back to you so late, I might have missed your post accidentally. Here's the plugin developer of the ahDoctrineEasyEmbeddedRelationsPlugin. Now, onto your problems: 1. The URL problem: are you sure that the form does not have validation errors after submission (

Re: [symfony-users] ahDoctrineEasyEmbeddedRelationsPlugin problem

2010-04-15 Thread Stéphane
Hi, Thank you :-) The 1/ problem was because of wront schema writting. The 2/ problem I gave you my code The 3/ problem, I have to see my code which I don't have here, I'll answer this later. Yes this plugin is pretty good at what it does ^^ Thank you ! Cheers, Before Printing, Think about

[symfony-users] Re: iocombiner plugin : activation procedure ?

2010-04-15 Thread weaverryan
Hey Mikael- The combined files DO use symfony's cache. Make sure you're in the production environment as the combined files obviously won't pull from the cache in the dev environment. Even with symfony's cache, the response time won't ever be as fast as an actual file on your server (though it sh

[symfony-users] cache invalidation on server cluster

2010-04-15 Thread pghoratiu
Hi! I have a web application distributed among multiple web servers (2 servers) with a central DB for sessions. Cache is used for some objects and for invalidation I override the save() method to delete the local cache. This worked fine for a single server but does not scale to multiple servers.

Re: [symfony-users] cache invalidation on server cluster

2010-04-15 Thread Alexandru-Emil Lupu
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Well it is up to you. Use centralized (share folder over NFS ) if this is ok with you. However, think that you get into troubles (A server invalidates the cache while the other one is trying to read it ). I don't like that "cache manager" ideea. I

[symfony-users] new to Symfony: need help for a simple query

2010-04-15 Thread tatskie
hello there, my schema.yml was generated from mysql table: Users: connection: doctrine tableName: users columns: id: type: integer(4) fixed: false unsigned: false primary: true autoincrement: true userid: type: string(50) fixed: false u

Re: [symfony-users] cache invalidation on server cluster

2010-04-15 Thread Eno
On Thu, 15 Apr 2010, pghoratiu wrote: > My question is how do you deal with cache invalidation when deploying > a symfony application across mutiple servers? > Which solution would you choose to perform the cache invalidation > (centralized cache vs. distributed cache manager)? We have a distribu

Re: [symfony-users] new to Symfony: need help for a simple query

2010-04-15 Thread Alexandru-Emil Lupu
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Try: $q = Doctrine_Query::create() ->select('u.username, u.profileid,u.fullname,p.profile') ->from('Users as u') ->leftJoin('u.Profile p') ->where('u.username = ?', $request->getParameter('username')) ->andWhere('u.pword = ?', $reque

[symfony-users] Re: sfGridPlugin, Propel/Doctrine-DataSources, ObjectPaths and JavaScript (ExtJS) extensions

2010-04-15 Thread Leon van der Ree
the dataSource plugin provides a simple interface with light weight implementations for propel, doctrine, arrays or anything you write yourself. Compared to dbFinder it does not provide any complex orm- logic, this is still left to the orm of your choice which instance you provide during constructi