Why even use a template?
http://www.php.net/manual/en/function.fputcsv.php
On Wed, Apr 28, 2010 at 4:15 PM, NOOVEO - Christophe Brun
wrote:
> Ladies & gentlemen,
>
> My client wants a .csv export with a simple list of entries, namely : the
> list of the web users who registered to his newsletter
Hi!
is there a tutorial on inheritance of many-to-many relations work?
Assume the following schema. How can I get all Users that participate
on a Video?
Production:
columns:
title: string(255)
relations:
Participants:
class:User
local:user_id
foreign:
You are kidding, right? Man, there's your right there, so just
put class="clearfix" into it do it looks like this:
$rowFormat = "\n %error%%label%\n %field%
%help%\n
%hidden_fields%\n";
:)
Sent from my iPhone
On Apr 29, 2010, at 5:25 AM, mel_06 <06melc...@gmail.com> wrote:
how wil
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 28
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 25
how will i add my CSS class to my $rowFormat variable?
$rowFormat = "\n %error%%label%\n %field%%help%\n
%hidden_fields%\n";
On Apr 28, 6:20 pm, Daniel Lohse wrote:
> Now we're getting somewhere. :) You'll need to make your own form formatter.
>
> Okay, do the following: copy the
> lib/ve
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 mo
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 wrote:
> 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
> the database. This
Describe your problem in detail
On Wed, Apr 28, 2010 at 2:39 PM, Rodrigo Ruiz Fuentes wrote:
> Hi,
> is there any way to execute javascript from an action?, The idea is to
> update the contents of a div while running processes in action.
>
> Thanks.
>
> --
> Rodrigo Ruiz Fuentes
>
> --
> If you w
No, there is not. The action is executed on the server, the javascript
is executed on the client's machine.
The best you can do is to create a periodical updater in your JS code
that checks the action's progress every now and then.
On Wed, Apr 28, 2010 at 23:39, Rodrigo Ruiz Fuentes wrote:
> Hi,
Hi,
is there any way to execute javascript from an action?, The idea is to
update the contents of a div while running processes in action.
Thanks.
--
Rodrigo Ruiz Fuentes
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You receive
Someone an idea? I'm still searching for the problem..
-- Forwarded message --
From: Roland Cremer
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 problem on saving data to
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
2010/4/28 pghoratiu :
> Hello!
>
> Some suggestions with stuff we implemented and worked out for us (both
> high availability and performance):
>
> 1. Web - use several web servers to serve content for redundancy
> 1.1 Use caching for static resources
> a. Reverse cache - high performance http
Hello!
Some suggestions with stuff we implemented and worked out for us (both
high availability and performance):
1. Web - use several web servers to serve content for redundancy
1.1 Use caching for static resources
a. Reverse cache - high performance http servers sitting in front
of the we
There are dozens of different approaches to developing a HA application
depending on your budget, time, traffic, architecture, manpower available, and
uptime requirements. I could easily show you HA setups that cost nearly
nothing to $100k/yr to well over $1M/yr.
On Apr 28, 2010, at 8:27 AM, f
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
/SF_ROOT_DIR/lib/vendor/symfony/lib/v
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
I
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
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
/SF_ROOT_DIR/lib/vendor/symfony/lib
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:
> 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 s
Ladies & gentlemen,
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 success.
A simple template for tests
Hi all,
I have Folder table that is related to CoreObject table via FK on id.
When I create a folder I need symfony to create a new CoreObject and
then save them.
I could do this manually but I'm guessing that propel /symfony must be
able to handle this.
I am still finding my way with symfony so
You should return a json encoded text in your controller.
The view layer is skipped.
Then let the javascript insert the list elements by manipulating the
DOM.
cheers
Massimiliano
On 27 Apr, 16:37, Tofuwarrior wrote:
> Ho Both,
>
> Thanks for your thoughts on this.
>
> If you can spare the time,
Have you tried ->getDefaults() on the form?
On Apr 26, 9:22 pm, notbrain wrote:
> I've been looking through the docs and API for methods that would
> allow me to do this, but I find myself running around in circles and
> getting a little frustrated by lack of examples/clarity. What I need
> to ge
On 27 Apr, 18:27, Rytis Daugirdas 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 the functionality tha
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 wrote:
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 bef
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
Gro
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, $year
try embed forms :)
On Wed, Apr 28, 2010 at 1:56 PM, saki 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:
>
>
>
> 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 wrote:
> Hi,
>
> i have this widget and
Hi,
i have this widget and this validator
'fecha_nac' => new sfWidgetFormDate(array('years' => range(1900,
date('Y',
'fecha_nac' => new sfValidatorDate (array('min' => "01-01-1990",
'required' => 'Your born date is required.')),
When i choose in the form for example 04/03/1
OK, i've added the "fee" column to the connection table. I can show/
list all the services
in the company form with this:
in the form i use this:
$this->widgetSchema['services_list']->setOption('multiple', true);
$this->widgetSchema['services_list']->setOption('expanded', true);
This makes a c
thank you a lot the link is very intersting
--
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 this group, send email to symfo
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 we
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 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
>
>
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 mes
what symfony version are you using ?
and by the way... that code must be put in your action.
Alecs
On Wed, Apr 28, 2010 at 12:57 PM, safa boubekri wrote:
>
> hello
> i have installed nahoMailPlugin i follow this
> steps http://www.symfony-project.org/plugins/nahoMailPlugin
>
> but i dont kno
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 na
example:
$this->widgetSchema->setFormFormatterName('list'); ---> will change
the form to list with li instead of using tables
i need the li's to look like , instead of just
i hope this one is clear.
On Apr 28, 5:55 pm, Daniel Lohse wrote:
> Well, that doesn't get you much of an answer from me
hello
i have installed nahoMailPlugin i follow this steps *
http://www.symfony-project.org/plugins/nahoMailPlugin*
*
*
*
*but i dont know where i make tihs code nahoMail::send('My subject', 'My
body', 'recipi...@mail.com');
--
If you want to report a vulnerability issue on symfony, please
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, wh
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 wrote:
> Every widget has 2 constructor arguments: $options and $arguments. You have
> to pass array('class' => 'your_css_class') as the $arguments argument, that
> is,
En cualquier caso, deberias haber preguntado en el grupo de español
(spanish).
Javi
On Apr 28, 11:38 am, Javier Garcia 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 exporté usando proje
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 t
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
Every widget has 2 constructor arguments: $options and $arguments. You have to
pass array('class' => 'your_css_class') as the $arguments argument, that is, as
the second argument.
But what kind of widget is your "list element"? A choice widget?
On 28.04.2010, at 10:36, mel_06 wrote:
> yes a CS
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:
Hi Saki,
why don't you add your column to the service-company connection table ?
-Message d'origine-
De : symfony-users@googlegroups.com [mailto:symfony-us...@googlegroups.com] De
la part de saki
Envoyé : mercredi 28 avril 2010 11:06
À : symfony users
Objet : [symfony-users] How to sto
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 t
daniel,
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.
On Wed, Apr 28, 2010 at 1:01 AM, Daniel Lohse
wrote:
>
getWidgetSchema()->getFields() as
$widget_name=>$widget_element): ?>
On Mon, Apr 26, 2010 at 9:22 PM, notbrain wrote:
> I've been looking through the docs and API for methods that would
> allow me to do this, but I find myself running around in circles and
> getting a little frustrated by lack of
yes a CSS class indeed. how can i do that?
On Apr 28, 4:25 pm, Daniel Lohse 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 using sfform?
>
yes, a CSS class indeed. how can i do that?
On Apr 28, 4:25 pm, Daniel Lohse 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 using sfform?
>
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
> se
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
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
f
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 wrote:
> Do you have the Zend_Pdf classes in your path? In other word, when
> you only downloaded the pieces o
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 w
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
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 exi
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
gl
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;
$ob
65 matches
Mail list logo