Re: [symfony-users] Facebook style multi-select widget

2010-07-21 Thread Joshua Estes
Not that I am aware of. The only thing I have seen that comes close to this is the jquery autocomleter in the form extra plugin. You could modify that widget to do this. I have done something like this, but it just extends the widget and adds a delete icon to it. On Jul 21, 2010 9:20 PM, "Richterm

[symfony-users] Re: PHPUnit with symfony1.4 and Hudson fails with Propel PDO

2010-07-21 Thread Dennis
Where are these PHP unit test configuration settings? I'm having some major problems with Doctrine/symofny and PHPUnit. I set up a fixture file,load it, run a test. tear down the database, reload the database. Start the new test, run it, and just before the doctrine connection- >commit, the obje

[symfony-users] Facebook style multi-select widget

2010-07-21 Thread Richtermeister
Hi all, I could use a widget that works just like the "to" field in facebook messages, where you start typing a name, get an autocomplete list, pick an item, and said items goes into the field, gets a remove icon, and you can repeat this process as often as you want. Does that already exist? Dan

Re: [symfony-users] Symfony now powering Startrek.com

2010-07-21 Thread Jonathan Wage
Nice work! I saw this on twitter. It looks great! - Jon On Wed, Jul 21, 2010 at 2:13 PM, Jesse wrote: > I would like to announce that Symfony is now under the hood of the > freshly re-launched startrek.com. Complete with a welcome letter from > Leonard Nimoy himself the new Startrek.com is runni

[symfony-users] CCBill or Epoch Plugins

2010-07-21 Thread f1gm3nt
Has anyone used any type of payment plugins or has made some type of payment plugins? I haven't had any luck in finding any. Has anyone used anything for ecommerce? Built anything for ecommerce? Thanks, f1g -- If you want to report a vulnerability issue on symfony, please send it to security a

[symfony-users] Symfony now powering Startrek.com

2010-07-21 Thread Jesse
I would like to announce that Symfony is now under the hood of the freshly re-launched startrek.com. Complete with a welcome letter from Leonard Nimoy himself the new Startrek.com is running on a custom Symfony backed CMS and frontend applications sitting on top of Doctrine and mysql and behind Var

Re: [symfony-users] no_script_name and problems with URI

2010-07-21 Thread Gustavo Adrian
If I'm wrong, please, correct me, but didn't the routing framework take the action "index" by default, so you can avoid tu put it on the URL? BTW, Why do you think is not clean to put the rules on the routing.yml? On Wed, Jul 21, 2010 at 6:51 AM, snoop wrote: > Hi all, > > I changed the no_scri

[symfony-users] sfDoctrinePager: Retrieve all pages

2010-07-21 Thread Johannes Trommer
Hi, I am using the sfDoctrinePager-Plugin and everything works fine. Now I need to create some kind of TOC (table of contents) which prints all pages items. It should look like this: Page 1: Headline A Headline B Page 2: Headline C Headline D Headline

Re: [symfony-users] Re: using embedRelation the item is saved twice. How could I avoid this?

2010-07-21 Thread Gustavo Adrian
How did you do with this approach? looping over every embedded form and calling "doSave" on everyone? could you please post an example of your approach? Thanks! On Wed, Jul 21, 2010 at 10:03 AM, cloui...@gmail.com wrote: > I had the same problem and override saveEmbeddedForms too, not a > bea

Re: [symfony-users] Re: ahDoctrineEasyEmbeddedRelationsPlugin many to many

2010-07-21 Thread Daniel Lohse
Thanks, I'll take a look at it! :) Daniel Sent from my iPhone On Jul 21, 2010, at 3:22 PM, Johannes wrote: > When I deal with collections in forms, I always use an instance of a > base collection form: > http://github.com/schmittjoh/jmsFormsPlugin/blob/master/lib/form/jmsBaseCollectionForm.cl

[symfony-users] Re: admin generator: filtered result

2010-07-21 Thread Martin Henits
thats Doctrine On Jul 20, 6:43 pm, Richtermeister wrote: > What I usually do is add a custom column like "Number of Comments", > and I link that number to a custom filtered list of comments that > belong to this post. > > Are you using Propel or Doctrine? > > Daniel > > On Jul 20, 9:27 am,Martin

[symfony-users] Re: ahDoctrineEasyEmbeddedRelationsPlugin many to many

2010-07-21 Thread Johannes
When I deal with collections in forms, I always use an instance of a base collection form: http://github.com/schmittjoh/jmsFormsPlugin/blob/master/lib/form/jmsBaseCollectionForm.class.php I have only looked at your plugin superficially, but you might be able to solve some of your problems with nes

[symfony-users] Re: using embedRelation the item is saved twice. How could I avoid this?

2010-07-21 Thread cloui...@gmail.com
I had the same problem and override saveEmbeddedForms too, not a beautiful solution, but it works. On 20 juil, 15:05, Gustavo Adrian wrote: > After a little research on Google for this topic I've found certain > posts that talk about situations like this (but not the same) so I > thought on posti

[symfony-users] Re: sfGuard default culture for a user

2010-07-21 Thread Tom Ptacnik
I would do that somewhere in the login process of the user. just call getUser()->setCulture($culture); where $culture is readed from the user profile. On 19 čnc, 20:16, Tomasz Ignatiuk wrote: > Hi > > If I add a profile to a user with some information, also a language > for a user, how to

Re: [symfony-users] ahDoctrineEasyEmbeddedRelationsPlugin many to many

2010-07-21 Thread Daniel Lohse
Sorry for getting back to you so late. Unfortunately many-to-many relations in embedded forms are *not* working and probably won't be for a while (or never). Two reasons for this: 1. The plugin is not ready for this as this means dealing with nested embedded relations which is not implemented r

[symfony-users] Re: Zend Lucene can't find accented words

2010-07-21 Thread wueb
I found it. Before we call the UTF-8 analizer we should put this code line if (!setlocale (LC_ALL, 'pt_PT.ISO8859-1')) setlocale(LC_ALL,'portuguese'); -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message

[symfony-users] Re: Zend Lucene can't find accented words

2010-07-21 Thread wueb
I use. But doesnt work. THere is any analizer of Portuguese language? Maybe that can work? On 20 Jul, 17:29, pghoratiu wrote: > Do you use utf-8 everywhere (when indexing the document, when > searching ...) ? > >     gabriel > > On Jul 20, 5:09 pm, wueb wrote: > > > I'm using Zend Lucene in sym

[symfony-users] Bug in Symfony/Doctrine mixing soft/hard deletes

2010-07-21 Thread johnwards
Hello Folks, After a day or so of no response on my bug report on symfony I decided to follow the code through myself to see if I can figure it out: http://trac.symfony-project.org/ticket/8898 I think the bug is in doctrine and due to the way soft delete handles cascades. Anyone else encountere

[symfony-users] no_script_name and problems with URI

2010-07-21 Thread snoop
Hi all, I changed the no_script_namemy parameter of my settings.yml for prod environnement and set it to on. So now I have http://www.example.com/module/action instead of http://www.example.com/index.php/module/action like I want. But I got a problem with my link using helper url_for(). For examp

[symfony-users] sfMailer and setLogger

2010-07-21 Thread Meijuh
Hi, I have written my own sfMailerMessageLoggerPlugin. My own logger overwrites sendPerformed() and does something. When use sfMailer::setLogger($myOwnLogger), then the sendPerformed() method is not invoked after sending a message. When I use sfMailer::registerPlugin($myOwnLogger), then the meth

[symfony-users] Re: ysfDimensions and dimension detection over database

2010-07-21 Thread Guille
Ok, just when i send this message i get a twitter msg from @docteur_klein: "just do: $cc = new sfCacheClearTask; $cc->execute(); not tested but hope it works" So, i've managed to have it working with: (The following piece of code is the scope of an event callback method) // Clear Cache retricted

[symfony-users] ysfDimensions and dimension detection over database

2010-07-21 Thread Guille
Hello everyone. I'm using ysfDimensions plugin to implement a 1 dimension site depending on the domain that the user comes through. Also, depending on the domain, i'm controlling the default culture for the site. I want to control my domains and cultures with a database CRUD, because a domain can