Hi,
See this: http://snippets.symfony-project.org/snippet/253
cheers,
Wagner Pinheiro
On Sep 7, 1:24 pm, Christian Hammers c...@lathspell.de wrote:
Hello
I have anAdminGenerator form with several input fields. Now I want a link
like /index.php/gu_historie/new?myinput=foo which not only
Hi all,
I'm working with the sfDoctrineGuardPlugin. I customized the
sfGuardUser module and the routing.yml file:
sfGuardUser_new:
url: /usuarios/new.:sf_format
class: sfDoctrineRoute
options:
model:sfGuardUser
module: sfGuardUser
type: object
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 asim...@gmail.com wrote:
hi i have appliaction name civil and my file name is filenew.yml in
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.
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
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 to
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}
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 APPLICATION_NAME
FIXTURES_DIR_OR_FILE [ENVIRONMENT_NAME]
--~--~-~--~~~---~--~~
You received this
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: 1)
Pay attention to the indentation bug, you must not have a (tabulation) in
your file
2009/9/9 smellycat37 charley.mail...@gmail.com
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 :
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:
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 ezziani.cha...@gmail.com wrote:
Pay attention to the
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:
link rel=stylesheet type=text/css media=all
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
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 charley.mail...@gmail.com wrote:
hi,
I try to
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,
-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: ~
fields:
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 ncue...@cespi.unlp.edu.ar
wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
smellycat37 escribió:
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
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 SQL
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:
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
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
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 jsangi...@gmail.com wrote:
Hi all,
I'm working with the sfDoctrineGuardPlugin. I customized the
sfGuardUser module and the
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
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
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
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
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 xec...@gmail.com wrote:
Hi Dustin,
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('?php echo
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
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
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
Hi,
How can i achieve the following?
make errors appear like this
strong class=errorRequired/strong
or like
label Username br/
strong class=errorRequired/strong
/label
instead of the standard formatting in an un-ordered list
ul
liRequired/li
/ul
without having to change any core
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
35 matches
Mail list logo