Alternatively, you can just skip the insert task, and selectively grab
tables from the generated sql definitions in /data/sql/..
Paste those into mysql, and you got a new table as well. As for
modifying existing tables, that would truly fall under migration,
and unfortunately it involves some
Sorry, haven't yet used the form widget framework..still stuck on good old
strategies!
On Tue, Apr 27, 2010 at 8:39 PM, fRAnKEnSTEin shirkav...@gmail.com wrote:
hi,
The problem is that i am using a form, so instead of cretaing a
select_tag in the template, i use for example something like
defaults value must be passed when the form is instanciate. so don't do any
think at the view layer...
$default = $this-getUser()-getAttribute('values');
$form = new myForm($default);
if you work with a doctrine form
$default = $this-getUser()-getAttribute('values');
$object = new Object;
Merci de ta réponse mais je reste bloqué :/
Mon fichier factories.yml est de cette forme :
[factories.yml]
i18n:
class: mgI18N
param:
source: mgMySQL
database: mg_i18n_plugin
debug:true
learning_mode:true
Can you explain this in detail? Why would modification of existing tables
require migrations?
Theoretically, I would just use build-schema, to imitate the changes that I
make to the existing db tables. Follow it up build-model, to regenerate the
model files. If that is a problem, I could delete
Do you have the Zend_Pdf classes in your path? In other word, when
you only downloaded the pieces of the framework you need, there is a
good chance that you forgot to download the Zend_Pdf component.
Sometimes the most obvious things gives us the most trouble.
James
On Apr 26, 3:38 pm, Omar El
Because just building your schema does not change your database at all. If you
changed a column type from string to int then you'll have to manually change
that column type in the database. Migrations are a way to do that automatically
(kind of).
Daniel
On 28.04.2010, at 09:58, Parijat Kalia
I thought of that problem thought i downloaded all the framework
didn't delete anything so i looked through the folders i found the Pdf
folder.
Omar
On Apr 28, 9:59 am, James Cauwelier james.cauwel...@gmail.com wrote:
Do you have the Zend_Pdf classes in your path? In other word, when
you only
Je ne pense pas que mes fichiers soient mal configurés car j'obtiens
cette erreur lorsque je lance une page (avec le frontend_dev.php) :
SQLSTATE[42S02]: Base table or view not found: 1146 Table
'evadonis_i18n.catalogue' doesn't exist
Et si je change le database: mg_i18n_plugin de mon fichier
hi guys!
i need to insert a class for my list element using sfform?
thanks!
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message because you are subscribed to the Google
Groups symfony users group.
To post to
A CSS class? You've got to be a bit more specific than that. :)
Cheers, Daniel
On 28.04.2010, at 10:22, mel_06 wrote:
hi guys!
i need to insert a class for my list element using sfform?
thanks!
--
If you want to report a vulnerability issue on symfony, please send it to
security
yes, a CSS class indeed. how can i do that?
On Apr 28, 4:25 pm, Daniel Lohse annismcken...@googlemail.com wrote:
A CSS class? You've got to be a bit more specific than that. :)
Cheers, Daniel
On 28.04.2010, at 10:22, mel_06 wrote:
hi guys!
i need to insert a class for my list element
yes a CSS class indeed. how can i do that?
On Apr 28, 4:25 pm, Daniel Lohse annismcken...@googlemail.com wrote:
A CSS class? You've got to be a bit more specific than that. :)
Cheers, Daniel
On 28.04.2010, at 10:22, mel_06 wrote:
hi guys!
i need to insert a class for my list element
Hi!
I don't really understand how to store data for the relations. I give
an example...
Service table
Hosting
Programming
Administrator works
Company table
Company1
Company2
Company3
One company has one or more services. One service can be related
Well is a problem of perception but i think you can do this:
Company Table (has a M:N relation to) Service Table
Service Table (has a M:N relation to) Service Prices
Service Prices (has a 1:1 unique relation on Company Table + Service Table)
Aletrnativelly, you can use Service Table as M:N
On 04/27/2010 03:07 AM, Fabian Barrera wrote:
Estoy trabajando en mi primer proyecto con symfony 1.4 (antes
trabajaba con el 1.0). Lo exporté usando project:deploy, siguiendo el
tutorial de jobeet. Al entrar a la aplicación, muestra la página de
login correctamente, pero al insertar el usuario y
Okay, that I understand. My only gripe with this would be that the file it
generates is so long as it does not use the consise (or compact) form. Kind of
hard to browse a schema that has all models in it and needs 100 lines for
each, even when it only contains a few columns. Mhm.
Other than
En cualquier caso, deberias haber preguntado en el grupo de español
(spanish).
Javi
On Apr 28, 11:38 am, Javier Garcia tirengar...@gmail.com wrote:
On 04/27/2010 03:07 AM, Fabian Barrera wrote:
Estoy trabajando en mi primer proyecto con symfony 1.4 (antes
trabajaba con el 1.0). Lo
doesn't really matter. after the form is rendered, it should put a
class to all list element.
On Apr 28, 5:37 pm, Daniel Lohse annismcken...@googlemail.com wrote:
Every widget has 2 constructor arguments: $options and $arguments. You have
to pass array('class' = 'your_css_class') as the
Well, that doesn't get you much of an answer from me as I don't really
understand what you're trying to do. Add a class to all list elements? How
can symfony know what is a list element?
You have to provide more context, e.g. the form class (or the form's base
class), the HTML structure, what
Now we're getting somewhere. :) You'll need to make your own form formatter.
Okay, do the following: copy the
lib/vendor/symfony/lib/widget/sfWidgetFormSchemaFormatterList.class.php file to
your own lib/widget/sfWidgetFormSchemaFormatterListCustom.class.php file.
Open it and change the class
hi thank you the version is 1.1.3
should you give me the steps to confgurate appl.yml and how can i
send msg with this plugin
i m grateful of your help
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this
Why don't you check this ?
http://www.symfony-project.org/tutorial/1_3/en/whats-new
Alecs
On Wed, Apr 28, 2010 at 1:37 PM, safa boubekri boubekri.s...@gmail.com wrote:
hi thank you the version is 1.1.3
should you give me the steps to confgurate appl.yml and how can i
send msg with
safa boubekri wrote:
hi thank you the version is 1.1.3
should you give me the steps to confgurate appl.yml and how can
i send msg with this plugin
i m grateful of your help
Did you read the several tutorials on symfony-project.org? They can be
very useful, and explain quite
OK, i've added the fee column to the connection table. I can show/
list all the services
in the company form with this:
?php echo $form['services_list'] ?
in the form i use this:
$this-widgetSchema['services_list']-setOption('multiple', true);
well, try this:
$years = range(1900,date('Y'));
'fecha_nac' = new sfWidgetFormDate(array('years' =
array_combine($years, $years,
it will give you an array like array('1901'=1901, '1902'=1902 )
On Wed, Apr 28, 2010 at 2:13 PM, Javier Garcia tirengar...@gmail.com wrote:
Hi,
i have
try embed forms :)
On Wed, Apr 28, 2010 at 1:56 PM, saki sakrame...@gmail.com wrote:
OK, i've added the fee column to the connection table. I can show/
list all the services
in the company form with this:
?php echo $form['services_list'] ?
in the form i use this:
Yes, that's correct. It's also documented in the sfValidatorDate class (take a
look into the API). :)
On 28.04.2010, at 13:24, Alexandru-Emil Lupu wrote:
well, try this:
$years = range(1900,date('Y'));
'fecha_nac' = new sfWidgetFormDate(array('years' =
array_combine($years, $years,
Hi
Any idea, best practices, recommendations or something to High
Availability Clustered Applicaction development?
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message because you are subscribed to the Google
On Wed, 28 Apr 2010, Parijat Kalia wrote:
you missed out part of the conversation. The Idea is to change the database
manually yourself. Then use build-schema to get the schema file up to date.
This you do so that when you run build-model, it reads an up to date schema
file.
As I said
Yeah I had the same problem for weeks... and I found a great Blog-Post
on Metadata:
http://melikedev.com/2010/04/06/symfony-saving-metadata-during-form-save-sort-ids/
In the example the sorting of a book-author relation is saved in the
relation-table.
Good luck!
On 28 Apr., 11:05, saki
On 27 Apr, 18:27, Rytis Daugirdas rytis.daugir...@gmail.com wrote:
Since when iterators are overkill? IMO, your suggestion is overkill.
Propel documentation clearly states that a tree can be easily
traversed via its iterator interface. Why should I write additional
code (however simple) to get
On Wed, 28 Apr 2010, NOOVEO - Christophe Brun wrote:
My client wants a .csv export with a simple list of entries, namely : the
list of the web users who registered to his newsletter.
I tried to add a ListCsvExport button in the backend and the appropriate
method in the action, with no
Nope, listCsvReportSuccess.php, sorry for the typo.
-Message d'origine-
So your action is called listCsvReport but your template is called
listCsvExportSuccess.php ?
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You
On Wed, 28 Apr 2010, NOOVEO - Christophe Brun wrote:
Nope, listCsvReportSuccess.php, sorry for the typo.
Have you tried commenting out JUST the call to clearHttpheaders() ?
--
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
On Wed, 28 Apr 2010, Javier Garcia wrote:
Hi,
after deploying I gettin this error below when i try to send an mail:
500 | Internal Server Error | Swift_TransportException
Connection could not be established with host smtp.gmail.com [Connection
timed out #110]
stack trace
wearing my
Hi,
after deploying I gettin this error below when i try to send an mail:
500 | Internal Server Error | Swift_TransportException
Connection could not be established with host smtp.gmail.com
[Connection
timed out #110]
stack trace
* at **()
in
Hello!
How to diagnose a translation problem?
Several have the same problem:
sfDoctrineGuardPlugin login form is displayed in English and I need it
in Spanish
What steps should I follow?
thanks in advance
--
If you want to report a vulnerability issue on symfony, please send it to
security
Someone an idea? I'm still searching for the problem..
-- Forwarded message --
From: Roland Cremer roland.cre...@gmail.com
Date: 2010/4/25
Subject: Doctrine: strange charset problem on saving data to MySQL database
To: symfony-users@googlegroups.com
Hi all,
I've got a strange
Explore html_entities for this...I'll try look ur problem in detail later
On Sun, Apr 25, 2010 at 7:16 AM, Roland Cremer roland.cre...@gmail.comwrote:
Hi all,
I've got a strange problem on saving data to the database.
i have a made a symfony-task to import a csv file and save the objects to
hello for all Sf Developpers
i have add a field in my form , i use it to get an ajax list in a
secondfield
when saving the form i must delete the first object because it does
not an element of my object form
so i get all time : Unexpected extra form field named firstfield
i'n thinking to
how will i add my CSS class to my $rowFormat variable?
$rowFormat = li\n %error%%label%\n %field%%help%\n
%hidden_fields%/li\n;
On Apr 28, 6:20 pm, Daniel Lohse annismcken...@googlemail.com wrote:
Now we're getting somewhere. :) You'll need to make your own form formatter.
Okay, do the
Hi!
I don't think this has anything to do with Doctrine but with the
handling of UTF-8 strings by the CSV parser.
What class/library do you use for that?
Display the values before:
$boek-setDecription($import[85]);
and you will see them truncated already.
Best regards,
gabriel
On Apr
Looks like port 465 is not open for your application, try to do a
telnet directly from the server where the application
is deployed and see if that works:
$ telnet smtp.gmail.com 465
Trying 74.125.95.109...
Connected to gmail-smtp-msa.l.google.com.
Escape character is '^]'.
gabriel
On Apr
You are kidding, right? Man, there's your li right there, so just
put class=clearfix into it do it looks like this:
$rowFormat = li class=clearfix\n %error%%label%\n %field%
%help%\n
%hidden_fields%/li\n;
:)
Sent from my iPhone
On Apr 29, 2010, at 5:25 AM, mel_06 06melc...@gmail.com
45 matches
Mail list logo