[symfony-users] Re: popup

2009-10-22 Thread Frank Stelzer
Hi, Include a custom partial to your generator.yml. In this template for this action you could do whatever you want and create the link for your popup. list: display: [id, , _add_comment] fields: add_comment:{ label: Add a comment } templates/_add

[symfony-users] Re: feed cache and sf_foramt

2009-10-22 Thread shin
Thanks for the info, Alexandre. It works fine, but using cache() or cache_save() is not the best solution for this case, since I prefer to cache whole action for atom request, not for partial. I think conditionalCacheFilter is the better solution, and that's what I did, but if config.yml support

[symfony-users] disabled user solution for symfony

2009-10-22 Thread Steve Sanyal
Hi, Has anyone come across any good solutions for having a disabled user in symfony? Ideally, I'd like a person whose account has been disabled to be sent to a special page. I'm using sfguard for my login and ACL. Currently, I just change the user's active status to false, but this merely prev

[symfony-users] ffmpeg on symfony?

2009-10-22 Thread mel_06
i'm just new to symfony, i'm having trouble with using ffmpeg on symfony. i just modified this code which work properly on code igniter framework for symfony. but it doesn't save the 10sec audio file on the directory path? and i need to save this as well to the database? here's my code: public f

[symfony-users] Re: Embedding forms: managing foreign keys with parent form primary key

2009-10-22 Thread cosmy
Maybe I haven't understand but it doesn't work. Let's see the code i've written. I think i've forgot something.. In my code the Feature class is named Interview (generates the parent form). The Options classes are named PersonalAnswers (generate the related forms). When i start a new Interview i h

[symfony-users] Re: Editing imported data via form in unsaved object

2009-10-22 Thread phil0
Not a problem. Here goes - sorry for the long mail then ;-) Controller code: hasParameter('drinkdb_id')) { $im = new JustdrinkImporter(); $this->drink = $im->loadDrink($request->getParameter ('drinkdb_id')); } else { $this->drink = Doctrine::getTable('Drink')->findOneByI

[symfony-users] Re: Test:All under Windows

2009-10-22 Thread Alexandre SALOME
> A fixaround would be to create a batch : > > c:\windows\system32\php.bat > > that contains > > "c:\program files\\php.exe" %1 %2 %3 %4 %5 %6 %7 %8 %9 2009/10/20 ridcully > > The Idee comes not from us, Zend Server CE install PHP under Programm > Files. > > On Oct 20, 2:40 pm, david wrote

[symfony-users] Re: where do I insert my hit counter?

2009-10-22 Thread Alexandre SALOME
The thing you should change is your boss ;) I'm kidding :P There are several ways for making a counter and depending of required stats, each solution has his advantages. In your case, create an integer field on your model and increment it each time the object is displayed. public function execut

[symfony-users] Re: sfValidatorEmail and sfValidatorFile: always "Invalid"

2009-10-22 Thread Alexandre SALOME
It works with string. So if you give it an array, it will not works. 2009/10/21 tirengarfio > > > > On Oct 21, 1:22 pm, Alexandre SALOME > wrote: > > > And sfValidatorEmail excepts a string. > > Thanks Alexandre, but... what do you mean with that sentence? Sorry > because my english.. > > >

[symfony-users] Re: file upload problem?

2009-10-22 Thread Alexandre SALOME
First, refactor your code : Actions class myModelActions extends sfActions { public function executeIndex($request) { $this->form = new WebsiteForm(); if ($request->isMethod('post')) { $this->form->bind($request->getParameter('website'), $request->getFiles('website'));

[symfony-users] Re: publication application

2009-10-22 Thread Alexandre SALOME
To publish a project, just ZIP it ;) There is no magic method, you have deploy method, it allows you to export your project to a remote server. No freeze task. 2009/10/20 a b > > I want to publish project. > Should I write command: symfony project:freeze ?? Because here: > http

[symfony-users] Re: Readonly fields in Admin generator

2009-10-22 Thread Alexandre SALOME
You should remove widget/validator from the form and use a partial in your form to display value. Alexandre 2009/10/21 Morris > > Hello, > > I'm a beginner with Symfony. Intend to use version 1.3 (currently > working with alpha1) to develop an admin interface to a website with > 4-5 tables. > >

[symfony-users] Re: feed cache and sf_foramt

2009-10-22 Thread Alexandre SALOME
You can do that using cache() and cache_save() methods in your template : Refer to doc. Alexandre 2009/10/20 shin > > Hello, > > I would like to use cache, but only for feed. > I have an action called "list". and it has two templates, which are > html and atom. > > listSuccess.php >

[symfony-users] Re: fcgi apache mod_rewrite problems aka No Input file specified.

2009-10-22 Thread Alexandre SALOME
If you have problem with Apache, please go to Apache group. 2009/10/20 Jesse > > So we have the following problem when trying to switch over to fcgi > rather than mod_php > > I can get all normal symfony routes etc working fine. The only issue > is when we try to do special rewrites for certain

[symfony-users] Re: js for module/action and authorized user

2009-10-22 Thread Alexandre SALOME
In your template : hasCredentials(...)): ?> 2009/10/21 Konrad > > Hi, > > does anybody know how to include specific js script (file) for > specific module/action only for authorized users in a nice/proper way? > > thx in advance. > Konrad > > > > -- Alexandre Salomé -- alexandre.sal...@gma

[symfony-users] Re: Unit testing with fake model classes

2009-10-22 Thread Alexandre SALOME
In my opinion, you should rewrite your model with events. Events-oriented model would be better for unit testing. Alexandre 2009/10/22 Henning Glatter-Gotz > > David, > > Thanks so much for pointing this out. At first glance this looks fantastic. > I am more used to the xUnit family of testing

[symfony-users] Re: Editing imported data via form in unsaved object

2009-10-22 Thread Alexandre SALOME
Hello, Is it the generated form or did you add some code ? (copy/paste it if yes) Can you give us the POST variables too ? Can you give us the form names, the schema ? Thanks, Alexandre 2009/10/22 phil0 > > I am importing some data from an external data source. For that I > decided

[symfony-users] Re: having trouble customizing the admin generator

2009-10-22 Thread Alexandre SALOME
You should add widget/validator to your form. 2009/10/22 ashton > > Hi, > I'm trying to add a method ('endTime') that doesn't exist in the > model, it's essentially a convenience method to set just the time part > of time_ts which is a timestamp. It shows up properly in the list, > however, t

[symfony-users] Re: popup

2009-10-22 Thread Alexandre SALOME
What I wanted to say was : speak english :) Le 23 octobre 2009 00:35, Alexandre SALOME a écrit : > Speak french, or go to symfony-fr. > > Alexandre > > Le 21 octobre 2009 17:47, hhaythem a écrit : > > >> bonsoir tout le monde, >> >> je suis nouveau sur ce forum et débutant avec symfony, voila e

[symfony-users] Re: popup

2009-10-22 Thread Alexandre SALOME
Speak french, or go to symfony-fr. Alexandre Le 21 octobre 2009 17:47, hhaythem a écrit : > > bonsoir tout le monde, > > je suis nouveau sur ce forum et débutant avec symfony, voila en bref > j'ai besoin d'un peu d'aide concernant la création des fenêtres popup > avec l'admin generator de symfo

[symfony-users] Re: Unit testing with fake model classes

2009-10-22 Thread Henning Glatter-Gotz
David, Thanks so much for pointing this out. At first glance this looks fantastic. I am more used to the xUnit family of testing frameworks because that is what I learned first and probably the reason I was a bit disappointed when reading the lime doc. In any case, I will definitely look into

[symfony-users] Re: serve http://mysite.com/random.gif

2009-10-22 Thread Eno
On Thu, 22 Oct 2009, noel guilbert wrote: > Hello, > > In your routing.yml, you can a this rule: > > random_image: > url: /random.gif > param: { action: image, action: random } > > And in your imageActions class: > > public function executeRandom() > { >$this->getResponse()->setConten

[symfony-users] Re: Unit testing with fake model classes

2009-10-22 Thread david
Take a look at the lime plugin - which extends lime - it appears to support auto-creation of mock objects. http://webmozarts.com/2009/06/30/easy-unit-testing/ On Thu, 22 Oct 2009 21:32:13 +0200, Henning Glatter-Gotz wrote: > Thomas, > > > Thanks for your reply. > > Not sure if that would b

[symfony-users] Re: sfAmfPlugin can not pass key in associate array

2009-10-22 Thread Frank He
Finally! We must use SabreAMF_ArrayCollection() to conver the associate array and pass back to flex in order to read the key! On Thu, Oct 22, 2009 at 2:22 PM, Frank He wrote: > I did an extensive research and found this may be the bug in amfPhpPlugin > > In order to prove it, I downloaded amfph

[symfony-users] Re: Unit testing with fake model classes

2009-10-22 Thread Henning Glatter-Gotz
Thomas, Thanks for your reply. Not sure if that would be practical: Class MyClass { : : public function doSomething($parameters) { : //do a bunch of processing : $db = new MyModel(); : // set model properties : $db->s

[symfony-users] Re: Symfony 1.0 and large numbers of deletes

2009-10-22 Thread Jacob Coby
You can pass an array of IDs to EventPeer::doDelete() instead of a Criteria object. It'll translate that to a DELETE FROM .. WHERE ID IN (...) query. All of this is in the base peer class for your object in the lib/model/om dir. On Oct 22, 2009, at 3:18 PM, fbg wrote: > > Thanks Jacob.

[symfony-users] Re: Symfony 1.0 and large numbers of deletes

2009-10-22 Thread fbg
Thanks Jacob. In my case I will have already hydrated the objects and need to use them before the delete anyway. My question relates to how best to do the delete after that. i.e. rather than have 1000 lines like this: DELETE FROM mytable WHERE id=1 DELETE FROM mytable WHERE id=2 etc... DELETE

[symfony-users] Re: Unit testing with fake model classes

2009-10-22 Thread Thomas Rabaix
You can open a transaction and just rollback at the end. On Thu, Oct 22, 2009 at 8:58 PM, Henning Glatter-Gotz < henn...@glatter-gotz.com> wrote: > Hi, > > > > I have a class I would like to unit/functional test that uses several > propel model classes that are used to write to the db (in this s

[symfony-users] Unit testing with fake model classes

2009-10-22 Thread Henning Glatter-Gotz
Hi, I have a class I would like to unit/functional test that uses several propel model classes that are used to write to the db (in this scenario I am not getting any data out of the db). At this point I am not worried about checking if data actually ends up in the db, I will rely on propel to

[symfony-users] Re: Displaying the name and no id

2009-10-22 Thread Juan Pablo Romero Bernal
Hi, > I have a list of the elements of a table. This table shows > relationships with other tables. I would like to know how to, > instead of displaying the id of the element of another table, show the name > this element. You must implement the __toString method in the related classes. Bye, -

[symfony-users] Re: sfAmfPlugin can not pass key in associate array

2009-10-22 Thread Frank He
I did an extensive research and found this may be the bug in amfPhpPlugin In order to prove it, I downloaded amfphp and use that directly: This is the code I throw into HelloWorld.php: function say($sMessage) { $array=array(); $user=array(); $user["firstname"]="first

[symfony-users] propel query help

2009-10-22 Thread Steve Sanyal
Hi, Is it possible to do a query like this in propel (using criteria): select city, state_iso_value as state, country_iso_value as country, count(provider_id) as goalies from (select distinct f.city as city, p.provider_id, f.state_iso_value, f.country_iso_value from v_facility f, facility_provid

[symfony-users] Re: sfAmfPlugin can not pass key in associate array

2009-10-22 Thread Frank He
simple untyped Object() is only in as3, in PHP, I can not find that type. So how can we pass untyped simple object from PHP to AS3? On Thu, Oct 22, 2009 at 1:03 PM, NairuS wrote: > > 2009/10/22 Frank He > >> Also in as3, we can use array as this; >> >> var tmp:Array=new Array(); >>

[symfony-users] Re: serve http://mysite.com/random.gif

2009-10-22 Thread noel guilbert
Hello, In your routing.yml, you can a this rule: random_image: url: /random.gif param: { action: image, action: random } And in your imageActions class: public function executeRandom() { $this->getResponse()->setContentType('image/gif'); $im = imagecreatetruecolor(100, 100); imagegi

[symfony-users] Re: Symfony 1.0 and large numbers of deletes

2009-10-22 Thread Jacob Coby
$c = new Criteria(); $c->add(your delete criteria); EventPeer::doDelete($c); That will delete the rows according to your criteria without hydrating objects into memory. On Oct 22, 2009, at 12:24 PM, fbg wrote: > > Suppose that I have a symfony 1.0 app and perform a propel query, work > with

[symfony-users] Re: sfAmfPlugin can not pass key in associate array

2009-10-22 Thread NairuS
2009/10/22 Frank He > Also in as3, we can use array as this; > > var tmp:Array=new Array(); > tmp["name"]="name1"; > tmp["lastname"]="lastname"; > trace ("array is " + tmp["name"]); > Yes, it's true Reading the Adobe doc, the only way to create an associative

[symfony-users] Re: sfAmfPlugin can not pass key in associate array

2009-10-22 Thread Frank He
Also in as3, we can use array as this; var tmp:Array=new Array(); tmp["name"]="name1"; tmp["lastname"]="lastname"; trace ("array is " + tmp["name"]); Just wondered if as3 and php can communicate with each other through amf and pass this kind of value On Thu, O

[symfony-users] Re: sfAmfPlugin can not pass key in associate array

2009-10-22 Thread Frank He
Using VO may be another solution, but it will require creation of many VO in AS3 sides as there may be many afm functions to be called. So if Associate Array can be pased correctly with Key value, it will be terrific. Have you ever passed associate array from PHP to AS3 succesfully with the name

[symfony-users] Re: sfAmfPlugin can not pass key in associate array

2009-10-22 Thread NairuS
Hello, 2009/10/22 xhe > > I am using sfAmfPlugin to communicate with frontend flex. > > in PHP, I used this: > > function getFlexUsers($nickname){ > $u=array(); > $user["firstname"]="name1"; > $user["lastname"]="name2"; > array_push($u,$user); > $user["firstname"]="name3"; > $user["lastname"]="n

[symfony-users] Symfony 1.0 and large numbers of deletes

2009-10-22 Thread fbg
Suppose that I have a symfony 1.0 app and perform a propel query, work with the results a bit, and then wish to delete the underlying database records (for example, to scrub a log table, send out any needed alert emails, and roll the log events into a flat file to keep the DB fresh). What is the

[symfony-users] Re: Embedding forms: managing foreign keys with parent form primary key

2009-10-22 Thread Casey
in your configure function you should do something like this: In Doctrine: for($i=0;$i<5;$i++){ $option = new Option; $this->getObject()->Options[] = $option;//relate the option to the form's object, which I am assuming is Feature object $this->embedForm('optform_'.$i, new OptionForm($opti

[symfony-users] popup

2009-10-22 Thread hhaythem
bonsoir tout le monde, je suis nouveau sur ce forum et débutant avec symfony, voila en bref j'ai besoin d'un peu d'aide concernant la création des fenêtres popup avec l'admin generator de symfony. pour être plus claire j'ai crée un object_action "addcomment" dans le generator.yml et par la suite

[symfony-users] having trouble customizing the admin generator

2009-10-22 Thread ashton
Hi, I'm trying to add a method ('endTime') that doesn't exist in the model, it's essentially a convenience method to set just the time part of time_ts which is a timestamp. It shows up properly in the list, however, the widget is never populated with a value in the edit page. As far as I can tell

[symfony-users] Re: serve http://mysite.com/random.gif

2009-10-22 Thread Sameer I
Some more information would apt. random.gif is not a static image. It is being generated dynamically. The parameters provided in query string will decide the image generation which will vary. This makes it necessary that I serve this image using a symfony action. -Strike On Thu, Oct 22, 2009 at

[symfony-users] serve http://mysite.com/random.gif

2009-10-22 Thread Sameer I
Hi, How can I serve an image for request something like http://mysite.com/random.gif?a=87&b=87 using symfony. Is there a way to configure route for such a request? -Strike --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[symfony-users] Editing imported data via form in unsaved object

2009-10-22 Thread phil0
I am importing some data from an external data source. For that I decided to load the data into a model object, and then pass that to a form (generated by Doctrine). The object that I am editing is has a many-to-many relation, so it seems that Doctrine saves the data temporarily and then deletes

[symfony-users] need help with custom field in admin generator

2009-10-22 Thread ashton
custom field on the edit page in the admin generator not calling getter I need some help with adding a custom field to the admin generator: I have a model that contains a field 'end_ts'. I want to make a custom getter/setter/field end_time that doesn't exist in the model. Everything works but th

[symfony-users] feed cache and sf_foramt

2009-10-22 Thread shin
Hello, I would like to use cache, but only for feed. I have an action called "list". and it has two templates, which are html and atom. listSuccess.php listSuccess.atom.php I want atom to cache, but not html. Has anybody dones this? -- shin --~--~-~--~~~---~--~---

[symfony-users] Displaying the name and no id

2009-10-22 Thread Nelson Luis
I have a list of the elements of a table. This table shows relationships with other tables. I would like to know how to, instead of displaying the id of the element of another table, show the name this element. Grateful Nelson Luis Rodrigues Pereira Bacharel em Ciência da Computação Desenvolvedor

[symfony-users] js for module/action and authorized user

2009-10-22 Thread Konrad
Hi, does anybody know how to include specific js script (file) for specific module/action only for authorized users in a nice/proper way? thx in advance. Konrad --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "symf

[symfony-users] Readonly fields in Admin generator

2009-10-22 Thread Morris
Hello, I'm a beginner with Symfony. Intend to use version 1.3 (currently working with alpha1) to develop an admin interface to a website with 4-5 tables. I have generated the backend application with the admin-generator and is working fine, but I need that the user can see some fields but I don'

[symfony-users] fcgi apache mod_rewrite problems aka No Input file specified.

2009-10-22 Thread Jesse
So we have the following problem when trying to switch over to fcgi rather than mod_php I can get all normal symfony routes etc working fine. The only issue is when we try to do special rewrites for certain paths using mod_rewrite. For instance: (from .htaccess in the webroot) RewriteRule ^celeb

[symfony-users] symfony sfGuard javascript inclusion

2009-10-22 Thread Konrad
Hello, does anybody have idea what should be the proper way to acheive paricular js file inclusion only for authenticated user and particular module / action? Right now I got: apps/front/config/view.yml with: javascripts:[] /apps/front/modules/mymodule/config/view.yml with: default: javasc

[symfony-users] publication application

2009-10-22 Thread aaaaaaaaa bbbbbbbbb
I want to publish project. Should I write command: symfony project:freeze ?? Because here: http://www.symfony-project.org/jobeet/1_2/Doctrine/en/23 there is nothing about freeze so I don't know. --~--~-~--~~~---~--~~ You received this message because you are subscr

[symfony-users] file upload problem?

2009-10-22 Thread mel_06
i'm just new to symfony, i'm working with file upload and everytime i upload a file the output is "csrf token: Required." here's my code: my action public function executeIndex($request) { $this->form = new WebsiteForm(); if ($request->isMethod('post')) { $this->form->bind($request->getParamete

[symfony-users] publication project

2009-10-22 Thread aaaaaaaaa bbbbbbbbb
I want to publish my project. Should I write: symfony project:freeze before publication ? --~--~-~--~~~---~--~~ 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@goo

[symfony-users] Re: Embedding forms: managing foreign keys with parent form primary key

2009-10-22 Thread Eno
On Thu, 22 Oct 2009, cosmy wrote: > Where would you add this save() method exactly? In your form class. For example, I have a category object embedded in my form that is not part of the 'regular' object so I defined a savedCategory() method and call it from my doSave() method: public func

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

2009-10-22 Thread Raphael
its possible... because the ajax helpers dont has in core symfony after 1.2 but you error is in dont uses: return $this->renderText('('.$output.')'); or return $this->renderPartial('partial', array('var1' => $var1)); you are trying render an action, its not possible, you need text or partial

[symfony-users] Re: sfDoctrineGuardPlugin UserProfile and one to one relation.

2009-10-22 Thread tirengarfio
Did you read this: http://www.symfony-project.org/blog/2008/11/12/call-the-expert-customizing-sfdoctrineguardplugin ? Javi On Oct 22, 4:05 pm, Simone Fumagalli wrote: > I'm using sfDoctrineGuardPlugin and I'm trying to access my user > detail in this way > > (In my view) > echo $sf_user->getG

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

2009-10-22 Thread dziobacz
really nobody used link_to_remote() ?? On 22 Paź, 14:21, dziobacz wrote: > ok thx, but now after deleted post I see inside div 'ajaxclass' (where > should be posts) small website with 500 error :( > > On 22 Paź, 14:13, Gareth McCumskey wrote: > > > The link_to_remote function needs a div ID pas

[symfony-users] sfDoctrineGuardPlugin UserProfile and one to one relation.

2009-10-22 Thread Simone Fumagalli
I'm using sfDoctrineGuardPlugin and I'm trying to access my user detail in this way (In my view) echo $sf_user->getGuardUser()->getUserInfo()->getFirstName(); but I get this error Fatal error: Call to undefined method Doctrine_Collection::getFirstName () if I write $myUser = $sf_user->getGuard

[symfony-users] sfAmfPlugin can not pass key in associate array

2009-10-22 Thread xhe
I am using sfAmfPlugin to communicate with frontend flex. in PHP, I used this: function getFlexUsers($nickname){ $u=array(); $user["firstname"]="name1"; $user["lastname"]="name2"; array_push($u,$user); $user["firstname"]="name3"; $user["lastname"]="name4"; array_push($u,$user); return $u; } I

[symfony-users] Re: Why "Remember Me" stores the IP in the database?

2009-10-22 Thread esion
The IP is useless, just saved for db admin information, may be. Look at the filter : $c = new Criteria(); $c->add(sfGuardRememberKeyPeer::REMEMBER_KEY, $cookie); $rk = sfGuardRememberKeyPeer::doSelectOne($c); if ($rk && $rk->getSfGuardUser()) { //Automatic-signin } On Oct 19, 11:39 pm, HiDDeN

[symfony-users] Re: Embedding forms: managing foreign keys with parent form primary key

2009-10-22 Thread cosmy
> There are methods to check if this is a new object or not (i.e. isNew() > method in form). I would add a save() method that checks this and inserts > the 'parent' object in the database before adding the related objects. If > its not a new method, you can read the ID directly from the objects.

[symfony-users] Re: Embedding forms: managing foreign keys with parent form primary key

2009-10-22 Thread Eno
On Thu, 22 Oct 2009, cosmy wrote: > I'm tryng to realize a nested form for a simple structure: I should > insert through an unique form a Feature and many Options related to > this by a foreign key (idFeature) on the primary key of the Feature > object (the id record). > So in the FeatureForm i e

[symfony-users] Re: Failed validation forwards to original action even if posted to another action?

2009-10-22 Thread Eno
On Wed, 21 Oct 2009, Ari Army wrote: > if there was a return sfView::Success somewhere) which i would expect since > it gets posted to the siteadd*ed*user action and siteaddeduser.yml validates > that info Note: sfView::SUCCESS is the default return value when you dont explicitly return any val

[symfony-users] Re: Swift mail in Symfony 1.3

2009-10-22 Thread Alexandru-Emil Lupu
On Thu, Oct 22, 2009 at 2:38 PM, Alexandru-Emil Lupu wrote: > > > On Thu, Oct 22, 2009 at 12:35 PM, Alexandru-Emil Lupu < > gang.al...@gmail.com> wrote: > >> Hi there! >> >> I have a problem with my mailer system on sf 1.3. i do get this error: >> >> Catchable fatal error: Argument 1 passed to >>

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

2009-10-22 Thread dziobacz
ok thx, but now after deleted post I see inside div 'ajaxclass' (where should be posts) small website with 500 error :( On 22 Paź, 14:13, Gareth McCumskey wrote: > The link_to_remote function needs a div ID passed not a div CLASS. So class="ajaxclass"> should be > > > > On Thu, Oct 22, 2009 at

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

2009-10-22 Thread Gareth McCumskey
It is described as such quite plainly in the documentation: "In this example, clicking the 'Delete this post' link will issue a call to the post/delete action in the background. The response returned by the server will appear in the element of *id feedback*" http://www.symfony-project.org/book/1_

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

2009-10-22 Thread Gareth McCumskey
The link_to_remote function needs a div ID passed not a div CLASS. So should be On Thu, Oct 22, 2009 at 1:12 PM, dziobacz wrote: > > I want to delete posts from my forum without refresh page but now > after clicked link 'Delete post' post is deleting without refreshing > page but it is still s

[symfony-users] Re: sfGuard at application environment level

2009-10-22 Thread david
Check you've enabled the modules in your settings.yml - you should have: sfGuardAuth in your settings -> all:-> .settings:-> enabled_modules On Thu, 22 Oct 2009 12:59:00 +0200, pcummins wrote: > > Did you follow all of the steps in the install guide? > > Doctrine version is here: > http:

[symfony-users] Re: Swift mail in Symfony 1.3

2009-10-22 Thread Alexandru-Emil Lupu
On Thu, Oct 22, 2009 at 12:35 PM, Alexandru-Emil Lupu wrote: > Hi there! > > I have a problem with my mailer system on sf 1.3. i do get this error: > > Catchable fatal error: Argument 1 passed to > Swift_Transport_SpoolTransport::registerPlugin() must be an instance of > Swift_Events_EventListener

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

2009-10-22 Thread dziobacz
I want to delete posts from my forum without refresh page but now after clicked link 'Delete post' post is deleting without refreshing page but it is still showing - I must refresh page and then it isn't showing - why ? I have actions: class forumActions extends sfActions { public function ex

[symfony-users] Embedding forms: managing foreign keys with parent form primary key

2009-10-22 Thread cosmy
Hi all, i'm always here to break your patience.. :) I can't find valid resources and documentation about forms so i'm writing in this group, so I hope this topic could be usefull to many users. I'm tryng to realize a nested form for a simple structure: I should insert through an unique form a Fea

[symfony-users] Re: sfGuard at application environment level

2009-10-22 Thread pcummins
Did you follow all of the steps in the install guide? Doctrine version is here: http://www.symfony-project.org/plugins/sfDoctrineGuardPlugin Lots of people miss the part about changing the myUser class, and of course don't forget to 'symfony cc' On Oct 21, 3:02 pm, Martin Settle wrote: > Sorr

[symfony-users] Swift mail in Symfony 1.3

2009-10-22 Thread Alexandru-Emil Lupu
Hi there! I have a problem with my mailer system on sf 1.3. i do get this error: Catchable fatal error: Argument 1 passed to Swift_Transport_SpoolTransport::registerPlugin() must be an instance of Swift_Events_EventListener, instance of sfMailerMessageLoggerPlugin given, called in /media/disk1/sy