Seeking feedback. Does each module only pertain to a one model
(database table)?
On Mon, Mar 1, 2010 at 11:07 AM, Roland Cruse 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 of y
her model to an existing module? Because of
> the URL?
>
> On 27 ún, 08:05, Roland Cruse 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 ca
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 actio
ahhh.
That will work. Thanks!
On Wed, Feb 24, 2010 at 12:28 AM, Gábor Fási 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 wrote:
>> Thanks. That did it
> $this->excursion. Sure that find() does not return 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 :
>
>> Hi
>>
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->
ur CLI...
>
> I'm really confused for what is going on.
> Regards.
>
> On Dec 11, 3:37 pm, Roland Cruse wrote: > Hi > > I am
> starting a new install...
>
> --
>
> You received this message because you are subscribed to the Google Groups
> "symfo
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 t
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 onl
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 wrote:
>>
>> Hi
>>
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 McCumskey wrote:
> don't use the javascript: part.
>
> array( 'onclick' =>"setFilterCbValue('foobar');")
>
>
> On Thu
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=""javascript:setFilterCbValue('foo');""
I think it is the htmlspecialchar
Hi
This is a bit of a head scratcher for me...I have duplicated my
development environment on another box (symfony
http://svn.symfony-project.com/tags/RELEASE_1_2_4 r:15270, duplicated
the database) everything is working...so far. Except after a
propel:build-schema schema.yml only shows foreign k
On Mon, Jun 29, 2009 at 4:27 PM, Eno 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 unde
e them 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
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.
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 @user_id=$use
Excellent. I do not know how I missed that.
Thanks!
On Fri, Apr 24, 2009 at 4:56 PM, michael.pie...@googlemail.com
wrote:
>
> Hi,
>
> http://www.symfony-project.org/plugins/sfPropelActAsSignableBehaviorPlugin
>
> Michael
>
>
>
> On 24 Apr., 16:11, Roland Cruse wr
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 appr
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
wrote:
>
> I'm honestly not sure what to tell you; if there's a PHP syntax error
> tha
Ohh yeah!! The error_reporting setting got the errors to show.
What a relief.
Thank you everyone!
On Thu, Apr 16, 2009 at 2:41 PM, Dheeraj Kumar Aggarwal
wrote:
> in settings.yml
> error_reporting: ?>
>
>
> On Thu, Apr 16, 2009 at 6:02 PM, Roland Cruse wrote:
&g
t the full stack trace in my custom
environment?
>
> 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]
>> {sfHardenedRenderingFilte
g 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 wrote:
>>
>> Hi symfony coders
>>
>> I making a rest application which does not show php s
>
>> I suggest uploading 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
>> wrote:
>>>
>>> Hi symfony coders
>>>
>
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 fro
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 again
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...i
Thanks Lee.
After studying your code I realized I could not do it your way because
the validator I needed extended the sfValidatorBase, your Captcha
validator extends sfValidator. The two classes have different
constructor parameters.
Anywho below worked for me inside an action.
$testvalida
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" g
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:
(?:Property|PropertyExt|Location|LocationExt|PropertyAvail|PropertyPricing|Pr
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 getModActFromRoute($r
meone.
On Fri, Dec 5, 2008 at 12:48 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.p
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
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'));
$this->enable
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
olabs.com | symfony-project.com | aide-de-camp.org
> 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
is still 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
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 realistica
38 matches
Mail list logo