Hello Dennis
I have below Problem in my symfony , If possible then help me
I used following code to display multi-selected drop down box for
country ..
$this->widgetSchema['countries'] = new sfWidgetFormDoctrineChoice(array
(
'model' => 'Countries',
'multiple' => true,
));
and now I wa
Try "pear upgrade" in php 5.2.x
I had try it ok with PHP 5.2.11
If pear -V shows that your pear successfuly upgrade to 1.9
then you can upgrade PHP to 5.3.0
In this case, pear should working fine,too.
On 10月7日, 下午5時46分, axel at wrote:
> hello,
>
> I'm still new to symfony and php and need a li
Exactly. :)
- Dennis
Am 08.10.2009 um 03:57 schrieb Eno :
>
> On Wed, 7 Oct 2009, Ashok wrote:
>
>> What is the main difference between 'new' and 'create' methods
>> generated by sfDoctrineRouteCollection? Where and when should I use
>> one of the other? Explanation with an example would be gre
On Wed, 7 Oct 2009, Ashok wrote:
> What is the main difference between 'new' and 'create' methods
> generated by sfDoctrineRouteCollection? Where and when should I use
> one of the other? Explanation with an example would be great. Thanks
Im guessing that one is to display the "new" form and one
Daniel,
I had the same requirement you have a few weeks ago. First I started writing
my own logger base class, but it started looking more and more like the
sfLogger class as work progressed, so what I did was create my own logger
base class that extends sfLogger. Yes, it extends sfLogger, howeve
What is the main difference between 'new' and 'create' methods
generated by sfDoctrineRouteCollection? Where and when should I use
one of the other? Explanation with an example would be great. Thanks
--~--~-~--~~~---~--~~
You received this message because you are
Hi all,
one thing I was wondering is why all sfLogger variants have to use the
sfEventDispatcher..
it seems that this makes each logger listen to application.log
events.. What if I just want a simple logger that logs results from
some task I'm doing.. I don't neccessarily want application events
Hi,
> I'm still new to symfony and php and need a little help:
> what's the most stable configuration for large webprojects for the
> moment? symfony 1.2 and php5.2.x or better php5.3.x.
I have some projects running in production environment and i'm using
symfony 1.2.8 + PHP 5.2.6
with good resu
In german, a decimal number looks like this: 5,2, not 5.2 like PHP is
expecting.
If a user enters a decimal number in a form, sfValidatorNumber rejects it.
I was expecting sfValidatorNumber to use the user culture to resolve
this, but it does not.
I found an old ticket on trac
(http://trac.symfony
Adrien,
I started using the freeze task a few weeks ago and noticed that it would
link the two plugins you mentioned. However, instead of linking them to the
"frozen" local copy of the framework, it linked them to the original
installation of sf outside of the project, which kind of defeats the p
hello,
I'm still new to symfony and php and need a little help:
what's the most stable configuration for large webprojects for the
moment? symfony 1.2 and php5.2.x or better php5.3.x.
if symfony 1.2 && php5.3 is recommendet, can anybody link me a
tutorial how to get plugin:install (pear) working
Hi,
how can I use Database Views in Symfony with Doctrine? I need them
because of performance reasons.
My Idee was to create dummys in the model and after building the Model
to drop the dummy tabels and create SQL Views.
Is there a better way to do this?
--~--~-~--~~~--
Dear Symfonyans,
How can I do to setup/change the value into element of subform in the
save action?
Where can I change or overwrite the code?
My model is a M:1, in this case if the user change the element of
subform and the value is new I need insert into db, but if the value
already exist I
Hey Hausa,
that's fairly easy. Just look at, say, the
sfWidgetFormSchemaFormatterList class and create a class that extends
it.
In that class you can do some major changes just by updating the
template properties, like $rowFormat, $decoratorFormat, etc..
Then just tell your form to use that deco
Thank you both of you !!
--
Adrien Mogenet
http://www.ze-technology.com
http://adrien.frenchcomp.net
On 7 oct, 13:31, Eno wrote:
> On Wed, 7 Oct 2009, Adrien Mogenet wrote:
> > Once I `symfony project:freeze /path/to/sf/`, I noticed that both
> > plugins folders in /web are... linked !
>
> > cd
Ah, yes! Sometimes forget the "little" things. I, too, would recommend not
using short open tags.
Jeremy
On Wed, Oct 7, 2009 at 1:38 AM, Avani wrote:
>
> Oh... Thanks a lot Georg,
>
> You guessed correct.
>
> Thanks everyone :)
>
> On Oct 7, 2:09 pm, Georg Gell wrote:
> > Guessing: you
Hello everybody,
I've have a table with 20 fields. Symfony generate for me the form
with the 20 fields. So for now that's good for me. Now i need for each
client to hide or show some field, not all because some of them are
used in a workflow.
About the show hide thing, i need to hide the field o
On Sun, 4 Oct 2009, wittygraphy wrote:
> I have the following in the config/app.yml
> all:
> tabs:
> primary: none;
> secondary: none;
>
> and this in the modules/xyz/config/app.yml
> all:
> tabs:
> primary: services;
> secondary: none;
>
> in an action of the module xyz I e
On Wed, 7 Oct 2009, Adrien Mogenet wrote:
> Once I `symfony project:freeze /path/to/sf/`, I noticed that both
> plugins folders in /web are... linked !
>
> cd web && ls -l :
> sfPropelPlugin -> ../../../Symfony/1.2/lib/plugins/sfPropelPlugin/web
> sfProtoculousPlugin -> ../../../Symfony/1.2/lib/
On Wed, 7 Oct 2009, Adrien Mogenet wrote:
> Once I `symfony project:freeze /path/to/sf/`, I noticed that both
> plugins folders in /web are... linked !
>
> cd web && ls -l :
> sfPropelPlugin -> ../../../Symfony/1.2/lib/plugins/sfPropelPlugin/web
> sfProtoculousPlugin -> ../../../Symfony/1.2/lib/
Thanks wiredcs,
On Oct 7, 4:38 am, wiredcs wrote:
> I think the error says it. If you don't specify the one side it won't
> populate that model with the setter for user profile.
Did you read the section "Abbreviated syntax" (see the link in my
first entry)? As you can see on it the one side is
On Oct 6, 9:41 pm, Josh wrote:
> Hi all:
>
> I'm still pretty fresh to Symfony so bear with my newbie questions and
> confusions.
>
> Here's the deal:
>
> $this->product = new Product; // from BaseProduct::Product
>
> $obj = $this->product->save();
>
As far as I can tell - saving a record does n
The form book is not fully written, and IMHO, it will not be completed
(at least not soon).
My suggestion is to look into the default formatters and see how they
work. If i remember well, they just define the html using object
protected properties, so you can extend the default formatter and
simp
I want to create my own form formatter. But, how can I create it?
I searched the documentation, and at the form chapter it says:
"By default, symfony uses an HTML array to display a form. This
behavior can be changed using specific formatters, whether they're
built-in or specifically developed to
>From a best practices point of view I would suggest you never use PHP short
tags as it can cause issues later if you ever use XML documents. Just my 2
cents.
On Wed, Oct 7, 2009 at 8:09 AM, Georg Gell wrote:
>
> Guessing: you have short_open_tag=1 in php.ini on your pc, but
> short_open_tag=0 o
Hi everyone,
I'm using sf1.2 (trunk), and 2 plugins : sfPropelPlugin and
sfProtocolousPlugin.
Once I `symfony project:freeze /path/to/sf/`, I noticed that both
plugins folders in /web are... linked !
cd web && ls -l :
sfPropelPlugin -> ../../../Symfony/1.2/lib/plugins/sfPropelPlugin/web
sfProto
26 matches
Mail list logo