I've got this problem too. But i'm using sfPhpunitPlugin.
I solved this problem by running tests is isolated php processes with
PHPUnit 3.4
Also, read this thread:
http://groups.google.com/group/symfony-devs/browse_thread/thread/db7833df51238ba7
My fork of sfPhpunitPlugin:
http://github.com/ma
Hi,
> But when i check the url from the new/edit (the actions required)
> button, It is "/sf_guard_user/new" ("/sf_guard_user/edit" in the other
> case). So, I need change that links to /usuarios/**action**
>
> Can you show me how to fix that?
Well, i'm not using Doctrine, but the follow exampl
I'm new to Symfony and have problems with Accessing the User Session.
In my /apps/frontend/modules/myapp/actions/actions.class.php Actions
Class, I have something like this:
public function executeAdd($request)
{
...
$this->getUser()->setAttribute('shopping_cart', 'test');
}
You can render the forms however you want - see the 24 hour tutorial page
about forms. Unfortunately, it leaves you rendering all of the forms
yourself. But you could use a helper for this.
I would recommend just using CSS on the error HTML to style it however you
want. That will be the much be
Hi,
How can i achieve the following?
make errors appear like this
Required
or like
Username
Required
instead of the standard formatting in an un-ordered list
Required
without having to change any core framework files?
any help is appreciated.
thanks
--~--~-~--~~--
On Wed, 9 Sep 2009, Abraham Montilla wrote:
> and as i said, i don't know why did it work before cause the autoincrement
> line is set from the beginning of the project, therefore, the firstime i
> embedded the form and added a new row that line was in schema.yml :S i
> really don't know what did
I also noticed that (in particular with Safari on MacOS X) and I had the
same conclusion.
I never had again the problem after adding a favicon.ico ...
Le 10/09/09 00:02, Thomas Rabaix a écrit :
> looks to me the sfGuardPlugin keeps the last referer to your favicon url.
>
> This can happen if the
looks to me the sfGuardPlugin keeps the last referer to your favicon url.
This can happen if the file does not exist, then symfony catch the call.
Your app require authentication, so guard plugin keep the referer as the
favicon.
So next time you login it works...
The favicon call can be done rand
Hi Tom,
stylesheet_path() with an url like 'your_css.css' will use it as
relative and prepend '/css/'.
But apparrently if you put a / at the begining it use it as absolute link.
I use this behaviour in the _assets.php of our admin generator:
[?php use_stylesheet('') ?]
which is translated in:
Tiago,
Yes, YUI 3.x will replace YUI 2.x and there will be the same widgets and
functionality. Also, see the yuilibrary.com for more information and a
timeline. I believe widgets will be released end of ear.
Cheers,
Dustin
On 9/9/09 1:14 PM, "Tiago Nunes" wrote:
> Hi Dustin,
>
> Thanks for
> An easy fix for your problem is adding a favicon.ico to your document
> root. Also make sure that the login page doesn't require any other
> images that do not exist on the server.
I'm sorry if I wasn't clear, but I've already tried this. Now what
happens is that you fill in your username and p
I am hoping to accomplish something similar to what is discussed in
this ticket:
http://trac.symfony-project.org/ticket/5838
I thinking of passing a multidimensional array into renderRow() in the
attributes parameter. I could then pass one of the sub arrays to
renderField() and another to formatR
Hi Dustin,
Thanks for your response. I just have a few more questions. :)
Does YUI 3.x replace YUI 2.x? I know they can work together and don't
have namespace collisions, but does YUI 3.x provide all the widgets and
functionality already present in YUI 2.x?
Also, when is YUI 3.x stable expec
Hi Tiago,
The plugin is not dead, but I have been waiting for the release of YUI3 and
YUI3 widgets before I work on it.
I don't really plan to support ysfYUIPlugin for YUI 2.x (the 1.1 and 1.2
branches).. I am actively working on the 1.3 branch (which is based on YUI
3.x). The biggest problem is
anybody?
I just want to change the URL from the actions links. I'm talking
about the links automatically placed by symfony.
thanks
Jose A
On 9 sep, 23:07, Jose San Gil wrote:
> Hi all,
>
> I'm working with the sfDoctrineGuardPlugin. I customized the
> sfGuardUser module and the routing.yml fil
I found the solution, however i don't understand why it worked before
without any problems...
Turns out that i had the "placa" attribute of Vehiculo (its PK) with the
autoincrement set to true, removing that line from the schema.yml i finally
could save a new row in the table, i tried with that ca
Hi.
I'm looking for a good plugin to act as a wrapper to YUI.
Because I think ysfYUIPlugin has been developed by Yahoo developers,
it's the most promising YUI symfony plugin I can think of. The problem
is that the plugin looks dead to me!
In the plugin page http://www.symfony-project.org/plugin
the error log shows the same:
[Wed Sep 09 12:39:08 2009] [error] [client 127.0.0.1] SQLSTATE[42P01]:
Undefined table: 7 ERROR: relation \xc2\xabvehiculo_placa_seq\xc2\xbb
doesn't exist\nLINE 1: SELECT
CURRVAL('vehiculo_placa_seq')\n ^, referer:
http://insulcars.localhost/ins
On Wed, 9 Sep 2009, Abraham wrote:
> now the error:
>
> 500 | Internal Server Error | Doctrine_Connection_Pgsql_Exception
> SQLSTATE[42P01]: Undefined table: 7 ERROR: no existe la relación
> «vehiculo_placa_seq»
> LINE 1: SELECT CURRVAL('vehiculo_placa_seq')
Your Apache error log might show the
Recently i embedded a form to another one and everything went just
fine, i could save a new row and also edit it without any problem... i
submitted the change to my svn repository... my pc was pretty slow so
i decided to format it, i installed WAPP and all the necessary stuff
again... i checked ou
thanks,
I know it's possible to do it in the form object... but is there a way
to do it in the generator.yml?
for information, I use doctrine...
On 9 sep, 15:39, José Nahuel Cuesta Luengo
wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> smellycat37 escribió:
>
> > charki ezziani :
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
smellycat37 escribió:
> charki ezziani : I want to see the field value in my html form... I
> just want to render it not modiabled...
> Mr_chon : I try on a field type varchar(30) and it doesn't work too...
> config:
> actions: ~
> fie
charki ezziani : I want to see the field value in my html form... I
just want to render it not modiabled...
Mr_chon : I try on a field type varchar(30) and it doesn't work too...
config:
actions: ~
fields:
name: {params: disabled=true}
list:
display: [id, name
Hi,
I'm not sure you can use the disabled param for dates.
If all you want is to display those dates, you could set their type as
"plain".
your fields part would be like this :
fields:
created_at: { type: plain }
On Sep 9, 12:59 pm, smellycat37 wrote:
> hi,
>
> I try to use the symfony admi
No, it's not that, if you want to disable a field you must not write it in
the "display" option
list:
display: [id, name, weighting, created_at, updated_at,
published];
h0ere you display all the fields in the list action.
i think that your generator.yml is correct
2009/9/9 smellycat37
>
>
On Tue, 8 Sep 2009, Christian Hammers wrote:
> That worked fine with only one widget but now I have two
> ncWidgetFormDynDateTime
> input fields in the same form and the Admin Generator, who does this
> include_javascript_for_form($form), gives:
>
> href="/devel/fibreman-web/css/jquery.dynDa
Thanks for your answer but I don't have any identation character... I
can see all the character (space, tab, \r, \n) in my IDE...
Is it the good syntax for adding to a field the html param
disabled="disabled" ?
On 9 sep, 14:12, chakir ezziani wrote:
> Pay attention to the indentation bug, you mu
In a project I have recently started I need to show a connection
between objects. For the sake of example let's say I have a database
structure similar to:
child_record:
id: ~
name: { type: varchar(255), required: true }
slibling_relation:
first_chil
Pay attention to the indentation bug, you must not have a (tabulation) in
your file
2009/9/9 smellycat37
>
> hi,
>
> I try to use the symfony admin generator, do you know how disable a
> field in a the form?
>
> I tried this in the generator.yml file but it doesn't work :
>config:
> act
Output of `php symfony help propel:data-dump`:
Usage:
symfony propel:data-dump [--application[="..."]] [--env="..."]
[--connection="..."] [--classes="..."] [target]
Aliases: propel-dump-data
Arguments:
target The target filename
Options:
--application The application name (default:
hi i have appliaction name civil and my file name is filenew.yml in
data /fixture directory how to dump data into it
i have syntax
$ php symfony propel:dump-data
[]
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Group
hi,
I try to use the symfony admin generator, do you know how disable a
field in a the form?
I tried this in the generator.yml file but it doesn't work :
config:
actions: ~
fields:
created_at: {params: disabled=true}
updated_at: {params: disabled=true}
list:
Hi,
Check the admin generator documentation about custom fields:
http://www.symfony-project.org/book/1_2/14-Generators#chapter_14_sub_fields
I suggest you add the method getAuthorNames() to your Book model, that
returns the names of all authors as array. Then you add the field
"_author_names" t
Hi,
Unfortunately it is currently not possible to replace the class
sfFormField with a custom implementation.
What are you trying to achieve?
Bernhard
--
Software Architect & Engineer
Blog: http://webmozarts.com
--~--~-~--~~~---~--~~
You received this message be
Hi Jake,
Can you try to access the favicon directly on the server? The problem
probably is that the favicon is requested by the login page. Instead
of loading an image, the symfony stack is launched, redirects to the
login page and stores the requested page in the session, which was the
favicon.
If you use the 1.0 version,
should it be propel-load-data instead of propel-dump-data?
CMIIW.
I don't know what about the newer version command.
HTH,
Sholeh
On Wed, Sep 9, 2009 at 12:36 PM, sunny wrote:
>
> hi i have appliaction name civil and my file name is filenew.yml in
> data /fixture d
36 matches
Mail list logo