Re: [symfony-users] Re: Only one model per module for doctrine-generate-crud?

2010-03-01 Thread Roland Cruse
to add another model to an existing module? Because of the URL? On 27 ún, 08:05, Roland Cruse cruses...@gmail.com wrote: Hi symfony doctrine-generate-crud seems to build a module for each model (database table) with actions edit, delete, create etc.Using this task you can not add another model

Re: [symfony-users] Re: Only one model per module for doctrine-generate-crud?

2010-03-01 Thread Roland Cruse
Seeking feedback. Does each module only pertain to a one model (database table)? On Mon, Mar 1, 2010 at 11:07 AM, Roland Cruse cruses...@gmail.com wrote: Not for the url, as routing can show what ever url you want. Its more of a house keeping design thing. Lets say you have three areas

[symfony-users] Only one model per module for doctrine-generate-crud?

2010-02-26 Thread Roland Cruse
Hi symfony doctrine-generate-crud seems to build a module for each model (database table) with actions edit, delete, create etc.Using this task you can not add another model to the same module. The task will over write the edit, delete etc. actions. I see no options in the task for prefixing

Re: [symfony-users] what I am I missing?: form save does an insert when I want an update

2010-02-25 Thread Roland Cruse
ahhh. That will work. Thanks! On Wed, Feb 24, 2010 at 12:28 AM, Gábor Fási maerl...@gmail.com wrote: Put your id (or something else unique) in the url, so you can use that to retrieve the object. On Wed, Feb 24, 2010 at 01:04, Roland Cruse cruses...@gmail.com wrote: Thanks. That did

[symfony-users] what I am I missing?: form save does an insert when I want an update

2010-02-23 Thread Roland Cruse
Hi I must be missing something. I am using symfony 1.3 and trying to update a record in an action but what happens is an insert into.which generates an integrity error. Here is my code. $this-excursion = Doctrine::getTable('TdExcursion')-find($request-getParameter('id')); $this-form

Re: [symfony-users] what I am I missing?: form save does an insert when I want an update

2010-02-23 Thread Roland Cruse
an array? I always use -findOneById($request-getParameter('id')); to be sure. bye, -christian- Am Tue, 23 Feb 2010 14:06:02 -0800 schrieb Roland Cruse cruses...@gmail.com: Hi I must be missing something. I am using symfony 1.3 and trying to update a record in an action but what happens

[symfony-users] symfony 1.4 doctrine: few plugins :(

2009-12-11 Thread Roland Cruse
Hi I am starting a new installation and am trying to decide between propel and doctrine. It seems doctrine will become symfony's default orm and symfony 2.0 will drop propel. Plus the symfony installation page recommends symfony 1.4 for new installations. But! Where are the doctrine plugins? On

Re: [symfony-users] Re: symfony 1.4 doctrine: few plugins :(

2009-12-11 Thread Roland Cruse
. On Dec 11, 3:37 pm, Roland Cruse cruses...@gmail.com wrote: Hi I am starting a new install... -- 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

[symfony-users] autoloading custom symfony core class before core classes...possible?

2009-07-24 Thread Roland Cruse
Hi I can not get around it, I need to change the sfWidget.class.php. Extending it is too much trouble because its so high in the extended tree. Is there a way to have symfony see my sfWidget.class.php instead of the one in the core classes (which I do not want to touch)? Autoloading seems to

[symfony-users] unwanted filtering of javascript onclick in widget

2009-07-23 Thread Roland Cruse
Hi Anyone know how to avoid filtering of javascript code in attributes passed to a widget? For example array( 'onclick' = javascript:setFilterCbValue('foobar');) gets sent but when the filter renders to html: onclick=quot;javascript:setFilterCbValue(#039;foo#039;);quot; I think it is the

[symfony-users] Re: unwanted filtering of javascript onclick in widget

2009-07-23 Thread Roland Cruse
hmm, thats one way, but will not work as a solution for me. Thanks anyhow. On Thu, Jul 23, 2009 at 2:24 PM, Gareth McCumskeygmccums...@gmail.com wrote: don't use the javascript: part. array( 'onclick' =setFilterCbValue('foobar');) On Thu, Jul 23, 2009 at 2:09 PM, Roland Cruse cruses

[symfony-users] Re: unwanted filtering of javascript onclick in widget

2009-07-23 Thread Roland Cruse
(): link_to_remote(Link Text, array(   url=module/action,   update=div_to_update,   script=true )) On Thu, Jul 23, 2009 at 2:09 PM, Roland Cruse cruses...@gmail.com wrote: Hi Anyone know how to avoid filtering of javascript code in attributes passed to a widget? For example  array( 'onclick

[symfony-users] make front controller invisible

2009-06-29 Thread Roland Cruse
Hi Does anyone know if you can make the frontcontroller transparent (not show up) in the url for a multi-apllication project? Right now I have three applications which have an apache virtual host, a .htaccess{_foo}, and a DirectoryIndex. The .htaccess redirects to the correct front controller.

[symfony-users] Re: make front controller invisible

2009-06-29 Thread Roland Cruse
to index.php 4. adept the relativ paths in the front controller to the subfolder 5. let the virtual hosts point to the just created subfolders 6. use symlinks to point from your subfolders to your common web assets folders in the web dir Frank Am 29.06.2009 um 09:02 schrieb Roland Cruse: Hi

[symfony-users] Re: make front controller invisible

2009-06-29 Thread Roland Cruse
On Mon, Jun 29, 2009 at 4:27 PM, Enosymb...@gmail.com wrote: On Mon, 29 Jun 2009, Roland Cruse wrote: That's a bit of hoop jumping... Yes because a folder can only have one index.php... ahh. Thanks for the explanation. I guess it must be some under the covers apache thing. DirectoryIndex

[symfony-users] where to set mysql user variables for trigger use

2009-05-07 Thread Roland Cruse
Hi I have a mysql trigger that is wanting a dynamic variable which my symfony app session would have after login. The logged in user id. The app can not be used without logging in. I have a filter that comes after the security filter which sets this variable with a mysql query (SET

[symfony-users] audit columns with propel?

2009-04-24 Thread Roland Cruse
Hi Using symfony 1.2/propel does anyone have any tips or links for transparently updating/inserting audit columns (created_at, created_by, updated_at, modified_by). I am not finding much on the Internet Or would you need to role your own with behaviours or something else... Very much

[symfony-users] Re: audit columns with propel?

2009-04-24 Thread Roland Cruse
Excellent. I do not know how I missed that. Thanks! On Fri, Apr 24, 2009 at 4:56 PM, michael.pie...@googlemail.com michael.pie...@googlemail.com wrote: Hi, http://www.symfony-project.org/plugins/sfPropelActAsSignableBehaviorPlugin Michael On 24 Apr., 16:11, Roland Cruse cruses

[symfony-users] Re: i get a blank white screen, even in dev mode, even with sfErrorHandler installed

2009-04-20 Thread Roland Cruse
You might try removing sfErrorHandler from your settings.yml (clear cache) and see if your log file is getting written to while in dev mode.Then go from there. On Mon, Apr 20, 2009 at 9:22 AM, Kevin Barsotti kevin.barso...@tribaldawn.com wrote: I'm honestly not sure what to tell you; if

[symfony-users] Re: Dynamic security.yml

2009-04-16 Thread Roland Cruse
Hi I am working on an application which needs to be generic where it would be up a user (administrator) to decide what actions other users are allowed. So we built a check box interface to security.yml files in every module using the sfYaml class for reading said files and writing them back

[symfony-users] blank screen of death: syntax errors not showing with custom controller using apache rewrite. Please help.

2009-04-16 Thread Roland Cruse
Hi symfony coders I making a rest application which does not show php syntax errors. Just a blank screen, quite a pain. I wondering if this has happened to anyone else? The rest app lives in an existing symfony application, has been set up as a plugin, has its own routing.yml, has its own

[symfony-users] Re: blank screen of death: syntax errors not showing with custom controller using apache rewrite. Please help.

2009-04-16 Thread Roland Cruse
and commenting the die() command, but make sure you delete is as soon as you've finished. On Thu, Apr 16, 2009 at 10:52, Roland Cruse cruses...@gmail.com wrote: Hi symfony coders I making a rest application which does not show php syntax errors. Just a blank screen,  quite a pain. I wondering

[symfony-users] Re: blank screen of death: syntax errors not showing with custom controller using apache rewrite. Please help.

2009-04-16 Thread Roland Cruse
the _dev front controller and commenting the die() command, but make sure you delete is as soon as you've finished. On Thu, Apr 16, 2009 at 10:52, Roland Cruse cruses...@gmail.com wrote: Hi symfony coders I making a rest application which does not show php syntax errors. Just a blank screen

[symfony-users] Re: blank screen of death: syntax errors not showing with custom controller using apache rewrite. Please help.

2009-04-16 Thread Roland Cruse
? On 16 Apr 2009, at 12:27, Roland Cruse wrote: I installed sfErrorHandler (using symfony 1.2) The log showed proof of installation:  Apr 16 05:55:37 symfony [info] {sfHardenedRenderingFilter} Render to the client. Plus put the error500 scripts to their prospective homes even though I have

[symfony-users] Re: blank screen of death: syntax errors not showing with custom controller using apache rewrite. Please help.

2009-04-16 Thread Roland Cruse
16, 2009 at 6:02 PM, Roland Cruse cruses...@gmail.com wrote: Thanks for the response. What is the error logging level set to in your environment? do you have show_errors set to on? Here is my factories.yml foo:  logger:    param:      level:   debug I do not know where show_errors

[symfony-users] ajax (ext-2.2) weirdness. Page only works with logging levels INFO or DEBUG or the cached security.yml.php NOT exists

2009-03-06 Thread Roland Cruse
Hi I do not want to say how long I have spent on this...but I have an issue where an ajax call is working in a dev environment and not in a prod environment. After drilling in It turns out that the ajax call would only work with logging enabled at levels info or debug, no others. Or...in the

[symfony-users] symfony 1.2 possible to use validators without forms?

2009-02-06 Thread Roland Cruse
Hi Anyone know if it is possible to use validators without forms? A url describing its use, if it exists, would be excellent. Thanks for any help. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups symfony users

[symfony-users] how can you do case insensitive regex in sfRoute?

2008-12-29 Thread Roland Cruse
Hi Does anyone know of a way to make the regex for method parameter below case insensitive? Thanks! webapi: url: /get/:method/:sf_format param: { module: apiServer, action: index } requirements: method:

[symfony-users] svn co from 1.2 branch php symfony -V gives 1.2.0-DEV ?

2008-12-05 Thread roland cruse
Hi svn co http://svn.symfony-project.com/branches/1.2 gives me a symfony version of 1.2.0-DEV. Why the DEV on the end? Or it just needs taking off. Judging by this link symfony 1.2 is now a production release. http://www.symfony-project.org/blog/2008/12/01/symfony-1-2-is-already-available I

[symfony-users] Tip resolving: Task propel:build-filters is not defined error

2008-12-05 Thread Roland Cruse
Hi. Just doing an upgrade to 1.2 from 1.1 from the svn 1.2 branch and was getting: Task propel:build-filters is not defined. Editing the config/ProjectConfiguration.class.php setup function: // $this-enableAllPluginsExcept(array('sfDoctrinePlugin', 'sfCompat10Plugin'));

[symfony-users] Re: svn co from 1.2 branch php symfony -V gives 1.2.0-DEV ?

2008-12-05 Thread Roland Cruse
Now I get: symfony version 1.2.0. Much better! Thank you On Fri, Dec 5, 2008 at 12:49 PM, Samir van de Sand [EMAIL PROTECTED] wrote: Use http://svn.symfony-project.com/tags/RELEASE_1_2_0/ instead of branches. On Fri, Dec 5, 2008 at 12:38 PM, roland cruse [EMAIL PROTECTED] wrote: Hi svn

[symfony-users] Re: Tip resolving: Task propel:build-filters is not defined error

2008-12-05 Thread Roland Cruse
PM, Roland Cruse [EMAIL PROTECTED] wrote: Hi. Just doing an upgrade to 1.2 from 1.1 from the svn 1.2 branch and was getting: Task propel:build-filters is not defined. Editing the config/ProjectConfiguration.class.php setup function: // $this-enableAllPluginsExcept(array('sfDoctrinePlugin

[symfony-users] Whats the best way to get module/action from routing label (symf 1.2)?

2008-12-05 Thread Roland Cruse
Hi I was wondering if there was a better way to get module/action from a routing label other than this way: ... /** * Retrieves the module and action from a routing label * * @param string $route * @return array ($module, $action) */ public static function

[symfony-users] Will compat10 be taken out of symfony 1.2?

2008-12-04 Thread roland cruse
Hi Its reasonable to think that compat10 will stay in symfony 1.2 when it upgrades from Beta, but I am unable to get a definitive answer after a lot of searching. Could anyone please put this question to rest? And if they know the answer as to when the symfony developers would like to

[symfony-users] Re: Will compat10 be taken out of symfony 1.2?

2008-12-04 Thread roland cruse
included Fabian On Thu, Dec 4, 2008 at 11:11 AM, roland cruse [EMAIL PROTECTED] wrote: Hi Its reasonable to think that compat10 will stay in symfony 1.2 when it upgrades from Beta, but I am unable to get a definitive answer after a lot of searching. Could anyone please put this question

[symfony-users] Re: Will compat10 be taken out of symfony 1.2?

2008-12-04 Thread roland cruse
Tél: +33 1 40 99 80 80 roland cruse wrote: Thanks Fabian. I have just found http://www.symfony-project.org/blog/2008/12/01/symfony-1-2-is-already-available Any thoughts as to how long compat10 may last in symfony? :) On Thu, Dec 4, 2008 at 2:11 PM, Fabian Lange [EMAIL PROTECTED] wrote