[symfony-users] sfForms widget and validator

2008-12-01 Thread ken

Does calling $this->setWidget('control_name', new sfWidgetXXX) also
reset its associated validator given the widget has already a declared
validator from its base class?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: 来自Kenneth Lin的 邮件

2008-12-01 Thread Eno

On Tue, 2 Dec 2008, Kenneth Lin wrote:

> Dear men or women:
>   I am sorry to apply for leaving the mailgroup. Coz there are too much 
> information everyday, I can't read. 

http://googlegroups.com/group/symfony-users/subscribe


-- 



--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] 来自Kenneth Lin的邮件

2008-12-01 Thread Kenneth Lin
Dear men or women:
  I am sorry to apply for leaving the mailgroup. Coz there are too much 
information everyday, I can't read. 


Thanks
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: What about the Symfony Guide ...

2008-12-01 Thread Eno

On Dec 1, 3:49 pm, "Nicolas Perriault" <[EMAIL PROTECTED]> wrote:

> I don't want to speak in the name of Fabien, but to me the Jobeet
> tutorials will be the new book, dedicated to 1.2. Just imagine 24x the
> the content seen in the first day.

I love the new tutorial since Ive been waiting for 1.2 for a couple of
projects and it will come in handy. Boxes highlighting 1.1 features
were added to the book, but I imagine some stuff will be too different
and would either require re-writing chapters or providing separate
"cookbooks" (like the forms one) that goes deeper into a topic.


--


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: Symfony prejudices and myths

2008-12-01 Thread Eno

On Nov 25, 3:21 pm, "Stefan Koopmanschap" <[EMAIL PROTECTED]
project.com> wrote:

> For instance,
> that symfony is slow, that you only do configuration, that it is
> extremely coupled, etc.

I think the main ones are performance and ORM usage. And as far as
configuration goes, its no better or no worse than Rails / Django. You
could also emphasize how useful the admin generator is. And how Yahoo
have been using symfony for new projects (Bookmarks, Delicious, etc).


--


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: What about the Symfony Guide ...

2008-12-01 Thread Nicolas Perriault

On Mon, Dec 1, 2008 at 7:41 PM, Reynier Perez Mira <[EMAIL PROTECTED]> wrote:

> Will be nice if these things appear in a new version of the book.

I don't want to speak in the name of Fabien, but to me the Jobeet
tutorials will be the new book, dedicated to 1.2. Just imagine 24x the
the content seen in the first day.

++

-- 
Nicolas Perriault
http://prendreuncafe.com - http://symfonians.net - http://sensiolabs.com
Phone: +33 660 92 08 67

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: 1.2 v. admin generator impossible to set up

2008-12-01 Thread PaulM

what about this page:

http://www.symfony-project.org/book/1_2/14-Generators#Administration





On Dec 1, 1:39 pm, "Jonathan Wage" <[EMAIL PROTECTED]> wrote:
> Everywhere I could find, the:
>
> _attributes: { phpName: Article }
>
> existed on all the schema definitions.
>
> Listing 8-3 gives you the schema you should be using.
>
> - Jon
>
>
>
> On Mon, Dec 1, 2008 at 11:38 AM, PaulM <[EMAIL PROTECTED]> wrote:
>
> > okay - here is the problemin the docs -  there are several
> > versions for the schema.yml...sometimes with:
>
> >  blog_article:
> >    _attributes: { phpName: Article }
> >    id:
>
> > and at other times without the phpName: Article.  and so upon building
> > the schema something goes wrong because the rest of the document
> > assumes in its commands that the phpName:Article was not used and
> > sometimes that it was usedcreating inconsistency in
> > nomenclature...
>
> > can someone fix this problem here:
> >http://www.symfony-project.org/book/1_2/08-Inside-the-Model-Layer
>
> > AND here:http://www.symfony-project.org/book/1_2/14-Generators
>
> > It is very counter-productive...
>
> > On Dec 1, 12:18 pm, Fabien Potencier <[EMAIL PROTECTED]
> > project.com> wrote:
> > > What do you have in the lib/model/filter/ directory?
>
> > > --
> > > Fabien Potencier
> > > Sensio CEO - symfony lead developer
> > > sensiolabs.com | symfony-project.com | aide-de-camp.org
> > > Tél: +33 1 40 99 80 80
>
> > > PaulM wrote:
> > > > I did everything again the exact same way and still getting the same
> > > > error:
>
> > > > Fatal error: Class 'ArticleFormFilter' not found in E:\www\symf\cache
> > > > \backend\dev\modules\autoArticle\lib
> > > > \BaseArticleGeneratorConfiguration.class.php on line 210
>
> > > > On Dec 1, 11:28 am, PaulM <[EMAIL PROTECTED]> wrote:
> > > >> no...just 1  -> 1.2 version.
>
> > > >> On Dec 1, 10:50 am, "Serkan Koyuncu" <[EMAIL PROTECTED]>
> > wrote:
>
> > > >>> are you using multiple versions of symfony? 1.0 w 1.2?
> > > >>> 2008/12/1 PaulM <[EMAIL PROTECTED]>
> > >  Let me ask you this:
> > >  1.1 Documents show :
> > >  propel:
> > >   blog_article:
> > >     _attributes: { phpName: Article }
> > >      id:
> > >     title:       varchar(255)
> > >     content:     longvarchar
> > >     created_at:
> > >   blog_comment:
> > >      _attributes: { phpName: Comment }
> > >     id:
> > >      article_id:
> > >     author:      varchar(255)
> > >     content:     longvarchar
> > >     created_at:
> > >  and 1.2 documents show:
> > >  propel:
> > >   blog_article:
> > >     id:          ~
> > >     title:       varchar(255)
> > >     content:     longvarchar
> > >     created_at:  ~
> > >   blog_comment:
> > >     id:               ~
> > >     blog_article_id:  ~
> > >     author:           varchar(255)
> > >     content:          longvarchar
> > >     created_at:       ~
> > >  which one is workable with 1.2 admin generator?
> > >  On Dec 1, 10:12 am, "Nicolas Perriault" <[EMAIL PROTECTED]>
> > wrote:
> > > > On Mon, Dec 1, 2008 at 4:09 PM, PaulM <[EMAIL PROTECTED]> wrote:
> > > >> Fatal error: Class 'ArticleFormFilter' not found in
> > E:\www\symf\cache
> > > >> \backend2\dev\modules\autoArticle\lib
> > > >> \BaseArticleGeneratorConfiguration.class.php on line 210
> > > > You need to run ./symfony propel:build-filters
> > > > Then symfony cc
> > > > ++
> > > > --
> > > > Nicolas Perriaulthttp://prendreuncafe.com-http://symfonians.net-
> > > http://sensiolabs.com
> > > > Phone: +33 660 92 08 67
>
> --
> Jonathan H. Wage
> Open Source Software Developer & 
> Evangelisthttp://www.jwage.comhttp://www.doctrine-project.orghttp://www.symfony-project.org
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: symfony 1.2 has been released

2008-12-01 Thread Cinxgler Mariaca Minda

2008/12/1 Lee Bolding <[EMAIL PROTECTED]>:
>
> Thanks!
>
> Shouldn't this be in the 1.2 version of the book though?
>
>

+1

A user contributed notes under each book chapter would be nice, like
the one in the online php manual, that's very useful, I think

-- 
Cinxgler Mariaca Minda

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: Changed images/CSS/JS after a new build...

2008-12-01 Thread Eno

On Nov 29, 6:06 am, Sumedh <[EMAIL PROTECTED]> wrote:

> When one changes some code on live site...there might be some changes
> in files that get cached (like images and CSS and JS)...
>
> How can one make the browsers reload these new items after the build?

One way is to add a query string when you load CSS and JS files in you
templates, i.e.:

"
media="screen,print" rel="stylesheet" title="Default Text" type="text/
css"/>

or:

">

You can put this in your layout file if these are global resources.


--


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: Symfony prejudices and myths

2008-12-01 Thread Richtermeister

Another myth I've encountered is that sf forces you to use an ORM or
DBA..

I'd love to see that talk, but I won't be able to go to the
conference. Is it in english, and is there a way for you to tape it
and put it online? :)



On Nov 25, 12:21 pm, "Stefan Koopmanschap"
<[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I would like to call on the community for the preparation of a new
> talk I will be giving. The talk has been accepted into the PHPCon
> Italy. The name of the talk is "Myphp-busters: symfony framework". In
> this talk I will be busting some myths about symfony. For instance,
> that symfony is slow, that you only do configuration, that it is
> extremely coupled, etc.
>
> However, I am sure that there are more myths out there that I haven't
> encountered yet or have forgotten about. So feel free to (preferably
> off-list) send me any experience you have with people who didn't like
> symfony without really knowing what symfony is. I want prejudices and
> urban legends about our beloved frameworks that I can defuse and clear
> up for those present.
>
> Thanks in advance for any help you guys can give me in this, and I
> look forward to your responses.
>
> Sincerely,
>
> Stefan Koopmanschap
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: What about the Symfony Guide ...

2008-12-01 Thread Reynier Perez Mira

> -> http://www.symfony-project.org/book/forms/1_2/en/

I agree with you Fabian we can use this book (that remains incomplete yet) but 
this is not the only thing that changes in the new Symfony 1.2. There are a 
lots of things changed here for example:

 * Routing
 * Forms
 * Request 
 * and much more as this article said 
(http://www.symfony-project.org/tutorial/1_2/whats-new) 

Will be nice if these things appear in a new version of the book. Also I think 
now that Symfony 1.2 was released as stable the developers will upgrade their 
applications and a lot of doubts rain in the list and if we have a book where 
find first then will be a help for every one.

This is what I mean
Regards
Ing. Reynier Pérez Mira
Dirección Técnica IP 



--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: 1.2 v. admin generator impossible to set up

2008-12-01 Thread Jonathan Wage
Everywhere I could find, the:

_attributes: { phpName: Article }

existed on all the schema definitions.

Listing 8-3 gives you the schema you should be using.

- Jon

On Mon, Dec 1, 2008 at 11:38 AM, PaulM <[EMAIL PROTECTED]> wrote:

>
> okay - here is the problemin the docs -  there are several
> versions for the schema.yml...sometimes with:
>
>  blog_article:
>_attributes: { phpName: Article }
>id:
>
>
>
> and at other times without the phpName: Article.  and so upon building
> the schema something goes wrong because the rest of the document
> assumes in its commands that the phpName:Article was not used and
> sometimes that it was usedcreating inconsistency in
> nomenclature...
>
> can someone fix this problem here:
> http://www.symfony-project.org/book/1_2/08-Inside-the-Model-Layer
>
> AND here: http://www.symfony-project.org/book/1_2/14-Generators
>
>
> It is very counter-productive...
>
> On Dec 1, 12:18 pm, Fabien Potencier <[EMAIL PROTECTED]
> project.com> wrote:
> > What do you have in the lib/model/filter/ directory?
> >
> > --
> > Fabien Potencier
> > Sensio CEO - symfony lead developer
> > sensiolabs.com | symfony-project.com | aide-de-camp.org
> > Tél: +33 1 40 99 80 80
> >
> > PaulM wrote:
> > > I did everything again the exact same way and still getting the same
> > > error:
> >
> > > Fatal error: Class 'ArticleFormFilter' not found in E:\www\symf\cache
> > > \backend\dev\modules\autoArticle\lib
> > > \BaseArticleGeneratorConfiguration.class.php on line 210
> >
> > > On Dec 1, 11:28 am, PaulM <[EMAIL PROTECTED]> wrote:
> > >> no...just 1  -> 1.2 version.
> >
> > >> On Dec 1, 10:50 am, "Serkan Koyuncu" <[EMAIL PROTECTED]>
> wrote:
> >
> > >>> are you using multiple versions of symfony? 1.0 w 1.2?
> > >>> 2008/12/1 PaulM <[EMAIL PROTECTED]>
> >  Let me ask you this:
> >  1.1 Documents show :
> >  propel:
> >   blog_article:
> > _attributes: { phpName: Article }
> >  id:
> > title:   varchar(255)
> > content: longvarchar
> > created_at:
> >   blog_comment:
> >  _attributes: { phpName: Comment }
> > id:
> >  article_id:
> > author:  varchar(255)
> > content: longvarchar
> > created_at:
> >  and 1.2 documents show:
> >  propel:
> >   blog_article:
> > id:  ~
> > title:   varchar(255)
> > content: longvarchar
> > created_at:  ~
> >   blog_comment:
> > id:   ~
> > blog_article_id:  ~
> > author:   varchar(255)
> > content:  longvarchar
> > created_at:   ~
> >  which one is workable with 1.2 admin generator?
> >  On Dec 1, 10:12 am, "Nicolas Perriault" <[EMAIL PROTECTED]>
> wrote:
> > > On Mon, Dec 1, 2008 at 4:09 PM, PaulM <[EMAIL PROTECTED]> wrote:
> > >> Fatal error: Class 'ArticleFormFilter' not found in
> E:\www\symf\cache
> > >> \backend2\dev\modules\autoArticle\lib
> > >> \BaseArticleGeneratorConfiguration.class.php on line 210
> > > You need to run ./symfony propel:build-filters
> > > Then symfony cc
> > > ++
> > > --
> > > Nicolas Perriaulthttp://prendreuncafe.com-http://symfonians.net-
> > http://sensiolabs.com
> > > Phone: +33 660 92 08 67
> >
>


-- 
Jonathan H. Wage
Open Source Software Developer & Evangelist
http://www.jwage.com
http://www.doctrine-project.org
http://www.symfony-project.org

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: Admin's Customization with Symfony 1.2

2008-12-01 Thread Jonathan Wage
Just create the directory `apps/my_app/name_of_module/templates` and if you
create a template with the same name it will use that file instead of the
auto generated cache version.

- Jon

On Mon, Dec 1, 2008 at 8:38 AM, Necho <[EMAIL PROTECTED]> wrote:

>
> Hi !
>
> I would like to custom the admin of my module "Staff". I have read the
> tutorial
> http://www.symfony-project.org/blog/2008/10/31/new-in-symfony-1-2-the-admin-generator
> and i have seen that it's possible! I must edit the code but where is
> this code file?
>
> The code file of admin generator for one module :
> _assets.php
> _filters.php
> _filters_field.php
> _flashes.php
> _form.php
> _form_actions.php
> _form_field.php
> _form_fieldset.php
> _form_footer.php
> _form_header.php
> _list.php
> _list_actions.php
> _list_batch_actions.php
> _list_field_boolean.php
> _list_footer.php
> _list_header.php
> _list_td_actions.php
> _list_td_batch_actions.php
> _list_td_stacked.php
> _list_td_tabular.php
> _list_th_stacked.php
> _list_th_tabular.php
> _pagination.php
> editSuccess.php
> indexSuccess.php
> newSuccess.php
>
> >
>


-- 
Jonathan H. Wage
Open Source Software Developer & Evangelist
http://www.jwage.com
http://www.doctrine-project.org
http://www.symfony-project.org

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: multiple connections default?

2008-12-01 Thread Jonathan Wage
In Doctrine the last connection in databases.yml is the default. Currently
no way exists to mark one of them as the default in databases.yml. You can
set the default though with direct Doctrine code like this.

Doctrine_Manager::getInstance()->setCurrentConnection('conn_name');

- Jon

On Mon, Dec 1, 2008 at 8:31 AM, gimler <[EMAIL PROTECTED]> wrote:

>
> hallo,
>
> how can i set one connection as default when i use multiple
> connections?
>
>
> greetings
> Gimler
>
> >
>


-- 
Jonathan H. Wage
Open Source Software Developer & Evangelist
http://www.jwage.com
http://www.doctrine-project.org
http://www.symfony-project.org

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: What about the Symfony Guide ...

2008-12-01 Thread Fabian Lange

Hi,
it is not:

"This chapter describes the way forms were implemented in symfony 1.0.  
For compatibility reason and because of the admin generator feature  
still uses this system, this information is also valuable for symfony  
1.1. However, if you start a new project with symfony 1.1, you also  
want to read the "symfony Forms in Action" book for more information  
on the new form framework."

-> http://www.symfony-project.org/book/forms/1_2/en/

Fabian

On Dec 1, 2008, at 7:24 PM, Reynier Perez Mira wrote:

>
>> http://www.symfony-project.org/book/1_2/
> This is outdate see by yourself the Chapter 10 Forms for example
>
> Ing. Reynier Pérez Mira
> Dirección Técnica IP
>
> >


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: What about the Symfony Guide ...

2008-12-01 Thread Reynier Perez Mira

> http://www.symfony-project.org/book/1_2/
This is outdate see by yourself the Chapter 10 Forms for example

Ing. Reynier Pérez Mira
Dirección Técnica IP 

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Looks like the docs for Admin Generators need major update

2008-12-01 Thread PaulM

Can someone please do exactly as the docs suggest and eliminate the
confusing errors that make it difficult for everyone to learn the new
admin generator?

the schema does not correspond to the commands followed in the
documentation...and the schema from one section of the doc "model"  is
different than the one in "admin generator"  which is inconsistent and
difficult to work with, since to get the admin generator to work well,
one has to set up database connectivity and already has the classes
built with propel:build-model.but those dont work with admin
generator schema...




--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: 1.2 v. admin generator impossible to set up

2008-12-01 Thread PaulM

yes but if thats the case then this command should not read as it is
in the doc:

php symfony propel:generate-admin backend Article

it shoudl say:

php symfony propel:generate-admin backend BlogArticle

right?

Please fix for others


On Dec 1, 12:22 pm, Fabien Potencier <[EMAIL PROTECTED]
project.com> wrote:
> PaulM wrote:
> > Someone must redo the entire doc for the admin generator. Here is why:
>
> > generator:
> >   class: sfPropelGenerator
> >   param:
> >     model_class:           BlogArticle
> >     theme:                 admin
> >     non_verbose_templates: true
> >     with_show:             false
> >     singular:              ~
> >     plural:                ~
> >     route_prefix:          article
> >     with_propel_route:     1
>
> > Should the model_class be Article as opposed to BlogArticle?
>
> No, in the schema, there is no _attributes, so the class name is named
> after the table name (blog_article -> BlogArticle).
>
> Fabien
>
>
>
> > On Dec 1, 11:28 am, PaulM <[EMAIL PROTECTED]> wrote:
> >> no...just 1  -> 1.2 version.
>
> >> On Dec 1, 10:50 am, "Serkan Koyuncu" <[EMAIL PROTECTED]> wrote:
>
> >>> are you using multiple versions of symfony? 1.0 w 1.2?
> >>> 2008/12/1 PaulM <[EMAIL PROTECTED]>
>  Let me ask you this:
>  1.1 Documents show :
>  propel:
>   blog_article:
>     _attributes: { phpName: Article }
>      id:
>     title:       varchar(255)
>     content:     longvarchar
>     created_at:
>   blog_comment:
>      _attributes: { phpName: Comment }
>     id:
>      article_id:
>     author:      varchar(255)
>     content:     longvarchar
>     created_at:
>  and 1.2 documents show:
>  propel:
>   blog_article:
>     id:          ~
>     title:       varchar(255)
>     content:     longvarchar
>     created_at:  ~
>   blog_comment:
>     id:               ~
>     blog_article_id:  ~
>     author:           varchar(255)
>     content:          longvarchar
>     created_at:       ~
>  which one is workable with 1.2 admin generator?
>  On Dec 1, 10:12 am, "Nicolas Perriault" <[EMAIL PROTECTED]> wrote:
> > On Mon, Dec 1, 2008 at 4:09 PM, PaulM <[EMAIL PROTECTED]> wrote:
> >> Fatal error: Class 'ArticleFormFilter' not found in E:\www\symf\cache
> >> \backend2\dev\modules\autoArticle\lib
> >> \BaseArticleGeneratorConfiguration.class.php on line 210
> > You need to run ./symfony propel:build-filters
> > Then symfony cc
> > ++
> > --
> > Nicolas Perriaulthttp://prendreuncafe.com-http://symfonians.net-
> http://sensiolabs.com
> > Phone: +33 660 92 08 67
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: symfony 1.2 has been released

2008-12-01 Thread Lee Bolding

Thanks!

Shouldn't this be in the 1.2 version of the book though?


On 1 Dec 2008, at 17:39, Eno wrote:

>
> On Dec 1, 7:21 am, Lee Bolding <[EMAIL PROTECTED]> wrote:
>
>> In the What's new documentation there are a lot of mentions of Propel
>> this and Propel-that (things like ObjectRouting) are the Doctrine
>> versions analogous with the Propel ones? or is Doctrine not supported
>> unless specifically mentioned?
>>
>> Also, where are the docs for the RESTful routing? (I'm currently  
>> using
>> a mod that Francois posted on his blog for Symfony 1.1)
>
> There was a post about that too a few months ago:
> http://www.symfony-project.org/blog/2008/09/04/new-in-symfony-1-2-toward-a-restful-architecture-part-1
>
>
> >


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: symfony 1.2 has been released

2008-12-01 Thread Eno

On Dec 1, 7:21 am, Lee Bolding <[EMAIL PROTECTED]> wrote:

> In the What's new documentation there are a lot of mentions of Propel  
> this and Propel-that (things like ObjectRouting) are the Doctrine  
> versions analogous with the Propel ones? or is Doctrine not supported  
> unless specifically mentioned?
>
> Also, where are the docs for the RESTful routing? (I'm currently using  
> a mod that Francois posted on his blog for Symfony 1.1)

There was a post about that too a few months ago:
http://www.symfony-project.org/blog/2008/09/04/new-in-symfony-1-2-toward-a-restful-architecture-part-1


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: 1.2 v. admin generator impossible to set up

2008-12-01 Thread PaulM

Okay - finaly I am at the bottom of this thing:

symfony cc  does not empty the cache folderis this a problem?
this is why stuff gets not purged 



On Dec 1, 12:38 pm, PaulM <[EMAIL PROTECTED]> wrote:
> okay - here is the problemin the docs -  there are several
> versions for the schema.yml...sometimes with:
>
>   blog_article:
>     _attributes: { phpName: Article }
>     id:
>
> and at other times without the phpName: Article.  and so upon building
> the schema something goes wrong because the rest of the document
> assumes in its commands that the phpName:Article was not used and
> sometimes that it was usedcreating inconsistency in
> nomenclature...
>
> can someone fix this problem here:  
> http://www.symfony-project.org/book/1_2/08-Inside-the-Model-Layer
>
> AND here:http://www.symfony-project.org/book/1_2/14-Generators
>
> It is very counter-productive...
>
> On Dec 1, 12:18 pm, Fabien Potencier <[EMAIL PROTECTED]
>
> project.com> wrote:
> > What do you have in the lib/model/filter/ directory?
>
> > --
> > Fabien Potencier
> > Sensio CEO - symfony lead developer
> > sensiolabs.com | symfony-project.com | aide-de-camp.org
> > Tél: +33 1 40 99 80 80
>
> > PaulM wrote:
> > > I did everything again the exact same way and still getting the same
> > > error:
>
> > > Fatal error: Class 'ArticleFormFilter' not found in E:\www\symf\cache
> > > \backend\dev\modules\autoArticle\lib
> > > \BaseArticleGeneratorConfiguration.class.php on line 210
>
> > > On Dec 1, 11:28 am, PaulM <[EMAIL PROTECTED]> wrote:
> > >> no...just 1  -> 1.2 version.
>
> > >> On Dec 1, 10:50 am, "Serkan Koyuncu" <[EMAIL PROTECTED]> wrote:
>
> > >>> are you using multiple versions of symfony? 1.0 w 1.2?
> > >>> 2008/12/1 PaulM <[EMAIL PROTECTED]>
> >  Let me ask you this:
> >  1.1 Documents show :
> >  propel:
> >   blog_article:
> >     _attributes: { phpName: Article }
> >      id:
> >     title:       varchar(255)
> >     content:     longvarchar
> >     created_at:
> >   blog_comment:
> >      _attributes: { phpName: Comment }
> >     id:
> >      article_id:
> >     author:      varchar(255)
> >     content:     longvarchar
> >     created_at:
> >  and 1.2 documents show:
> >  propel:
> >   blog_article:
> >     id:          ~
> >     title:       varchar(255)
> >     content:     longvarchar
> >     created_at:  ~
> >   blog_comment:
> >     id:               ~
> >     blog_article_id:  ~
> >     author:           varchar(255)
> >     content:          longvarchar
> >     created_at:       ~
> >  which one is workable with 1.2 admin generator?
> >  On Dec 1, 10:12 am, "Nicolas Perriault" <[EMAIL PROTECTED]> wrote:
> > > On Mon, Dec 1, 2008 at 4:09 PM, PaulM <[EMAIL PROTECTED]> wrote:
> > >> Fatal error: Class 'ArticleFormFilter' not found in E:\www\symf\cache
> > >> \backend2\dev\modules\autoArticle\lib
> > >> \BaseArticleGeneratorConfiguration.class.php on line 210
> > > You need to run ./symfony propel:build-filters
> > > Then symfony cc
> > > ++
> > > --
> > > Nicolas Perriaulthttp://prendreuncafe.com-http://symfonians.net-
> > http://sensiolabs.com
> > > Phone: +33 660 92 08 67
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: 1.2 v. admin generator impossible to set up

2008-12-01 Thread PaulM

okay - here is the problemin the docs -  there are several
versions for the schema.yml...sometimes with:

  blog_article:
_attributes: { phpName: Article }
id:



and at other times without the phpName: Article.  and so upon building
the schema something goes wrong because the rest of the document
assumes in its commands that the phpName:Article was not used and
sometimes that it was usedcreating inconsistency in
nomenclature...

can someone fix this problem here:  
http://www.symfony-project.org/book/1_2/08-Inside-the-Model-Layer

AND here: http://www.symfony-project.org/book/1_2/14-Generators


It is very counter-productive...

On Dec 1, 12:18 pm, Fabien Potencier <[EMAIL PROTECTED]
project.com> wrote:
> What do you have in the lib/model/filter/ directory?
>
> --
> Fabien Potencier
> Sensio CEO - symfony lead developer
> sensiolabs.com | symfony-project.com | aide-de-camp.org
> Tél: +33 1 40 99 80 80
>
> PaulM wrote:
> > I did everything again the exact same way and still getting the same
> > error:
>
> > Fatal error: Class 'ArticleFormFilter' not found in E:\www\symf\cache
> > \backend\dev\modules\autoArticle\lib
> > \BaseArticleGeneratorConfiguration.class.php on line 210
>
> > On Dec 1, 11:28 am, PaulM <[EMAIL PROTECTED]> wrote:
> >> no...just 1  -> 1.2 version.
>
> >> On Dec 1, 10:50 am, "Serkan Koyuncu" <[EMAIL PROTECTED]> wrote:
>
> >>> are you using multiple versions of symfony? 1.0 w 1.2?
> >>> 2008/12/1 PaulM <[EMAIL PROTECTED]>
>  Let me ask you this:
>  1.1 Documents show :
>  propel:
>   blog_article:
>     _attributes: { phpName: Article }
>      id:
>     title:       varchar(255)
>     content:     longvarchar
>     created_at:
>   blog_comment:
>      _attributes: { phpName: Comment }
>     id:
>      article_id:
>     author:      varchar(255)
>     content:     longvarchar
>     created_at:
>  and 1.2 documents show:
>  propel:
>   blog_article:
>     id:          ~
>     title:       varchar(255)
>     content:     longvarchar
>     created_at:  ~
>   blog_comment:
>     id:               ~
>     blog_article_id:  ~
>     author:           varchar(255)
>     content:          longvarchar
>     created_at:       ~
>  which one is workable with 1.2 admin generator?
>  On Dec 1, 10:12 am, "Nicolas Perriault" <[EMAIL PROTECTED]> wrote:
> > On Mon, Dec 1, 2008 at 4:09 PM, PaulM <[EMAIL PROTECTED]> wrote:
> >> Fatal error: Class 'ArticleFormFilter' not found in E:\www\symf\cache
> >> \backend2\dev\modules\autoArticle\lib
> >> \BaseArticleGeneratorConfiguration.class.php on line 210
> > You need to run ./symfony propel:build-filters
> > Then symfony cc
> > ++
> > --
> > Nicolas Perriaulthttp://prendreuncafe.com-http://symfonians.net-
> http://sensiolabs.com
> > Phone: +33 660 92 08 67
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: What about the Symfony Guide ...

2008-12-01 Thread Eno

On Dec 1, 9:07 am, PaulM <[EMAIL PROTECTED]> wrote:

> i have the same question

http://www.symfony-project.org/book/1_2/


?


--


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: 1.2 v. admin generator impossible to set up

2008-12-01 Thread Fabien Potencier

PaulM wrote:
> Someone must redo the entire doc for the admin generator. Here is why:
> 
> generator:
>   class: sfPropelGenerator
>   param:
> model_class:   BlogArticle
> theme: admin
> non_verbose_templates: true
> with_show: false
> singular:  ~
> plural:~
> route_prefix:  article
> with_propel_route: 1
> 
> 
> Should the model_class be Article as opposed to BlogArticle?

No, in the schema, there is no _attributes, so the class name is named 
after the table name (blog_article -> BlogArticle).

Fabien

> 
> On Dec 1, 11:28 am, PaulM <[EMAIL PROTECTED]> wrote:
>> no...just 1  -> 1.2 version.
>>
>> On Dec 1, 10:50 am, "Serkan Koyuncu" <[EMAIL PROTECTED]> wrote:
>>
>>> are you using multiple versions of symfony? 1.0 w 1.2?
>>> 2008/12/1 PaulM <[EMAIL PROTECTED]>
 Let me ask you this:
 1.1 Documents show :
 propel:
  blog_article:
_attributes: { phpName: Article }
 id:
title:   varchar(255)
content: longvarchar
created_at:
  blog_comment:
 _attributes: { phpName: Comment }
id:
 article_id:
author:  varchar(255)
content: longvarchar
created_at:
 and 1.2 documents show:
 propel:
  blog_article:
id:  ~
title:   varchar(255)
content: longvarchar
created_at:  ~
  blog_comment:
id:   ~
blog_article_id:  ~
author:   varchar(255)
content:  longvarchar
created_at:   ~
 which one is workable with 1.2 admin generator?
 On Dec 1, 10:12 am, "Nicolas Perriault" <[EMAIL PROTECTED]> wrote:
> On Mon, Dec 1, 2008 at 4:09 PM, PaulM <[EMAIL PROTECTED]> wrote:
>> Fatal error: Class 'ArticleFormFilter' not found in E:\www\symf\cache
>> \backend2\dev\modules\autoArticle\lib
>> \BaseArticleGeneratorConfiguration.class.php on line 210
> You need to run ./symfony propel:build-filters
> Then symfony cc
> ++
> --
> Nicolas Perriaulthttp://prendreuncafe.com-http://symfonians.net-
 http://sensiolabs.com
> Phone: +33 660 92 08 67
> > 
> 

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: Changed images/CSS/JS after a new build...

2008-12-01 Thread pghoratiu

You have to use versioning for your resource files, one way to do it
is described here:

http://particletree.com/notebook/automatically-version-your-css-and-javascript-files/

Regards,

   gabriel


On Dec 1, 1:58 pm, Sumedh <[EMAIL PROTECTED]> wrote:
> Someone plz look here? :)
>
> On Nov 29, 4:06 pm, Sumedh <[EMAIL PROTECTED]> wrote:
>
> > When one changes some code on live site...there might be some changes
> > in files that get cached (like images and CSS and JS)...
>
> > How can one make the browsers reload these new items after the build?
> > Yes, cleaning browser cache would fetch a clean page, but for the
> > users who have old copies in the cache, it might result in weird
> > rendering of the page as some files are new and some are old...
>
> > Do you face this problem?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: 1.2 v. admin generator impossible to set up

2008-12-01 Thread Fabien Potencier

What do you have in the lib/model/filter/ directory?

--
Fabien Potencier
Sensio CEO - symfony lead developer
sensiolabs.com | symfony-project.com | aide-de-camp.org
Tél: +33 1 40 99 80 80


PaulM wrote:
> I did everything again the exact same way and still getting the same
> error:
> 
> 
> 
> Fatal error: Class 'ArticleFormFilter' not found in E:\www\symf\cache
> \backend\dev\modules\autoArticle\lib
> \BaseArticleGeneratorConfiguration.class.php on line 210
> 
> On Dec 1, 11:28 am, PaulM <[EMAIL PROTECTED]> wrote:
>> no...just 1  -> 1.2 version.
>>
>> On Dec 1, 10:50 am, "Serkan Koyuncu" <[EMAIL PROTECTED]> wrote:
>>
>>> are you using multiple versions of symfony? 1.0 w 1.2?
>>> 2008/12/1 PaulM <[EMAIL PROTECTED]>
 Let me ask you this:
 1.1 Documents show :
 propel:
  blog_article:
_attributes: { phpName: Article }
 id:
title:   varchar(255)
content: longvarchar
created_at:
  blog_comment:
 _attributes: { phpName: Comment }
id:
 article_id:
author:  varchar(255)
content: longvarchar
created_at:
 and 1.2 documents show:
 propel:
  blog_article:
id:  ~
title:   varchar(255)
content: longvarchar
created_at:  ~
  blog_comment:
id:   ~
blog_article_id:  ~
author:   varchar(255)
content:  longvarchar
created_at:   ~
 which one is workable with 1.2 admin generator?
 On Dec 1, 10:12 am, "Nicolas Perriault" <[EMAIL PROTECTED]> wrote:
> On Mon, Dec 1, 2008 at 4:09 PM, PaulM <[EMAIL PROTECTED]> wrote:
>> Fatal error: Class 'ArticleFormFilter' not found in E:\www\symf\cache
>> \backend2\dev\modules\autoArticle\lib
>> \BaseArticleGeneratorConfiguration.class.php on line 210
> You need to run ./symfony propel:build-filters
> Then symfony cc
> ++
> --
> Nicolas Perriaulthttp://prendreuncafe.com-http://symfonians.net-
 http://sensiolabs.com
> Phone: +33 660 92 08 67
> > 
> 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: 1.2 v. admin generator impossible to set up

2008-12-01 Thread PaulM

Someone must redo the entire doc for the admin generator. Here is why:

generator:
  class: sfPropelGenerator
  param:
model_class:   BlogArticle
theme: admin
non_verbose_templates: true
with_show: false
singular:  ~
plural:~
route_prefix:  article
with_propel_route: 1


Should the model_class be Article as opposed to BlogArticle?

On Dec 1, 11:28 am, PaulM <[EMAIL PROTECTED]> wrote:
> no...just 1  -> 1.2 version.
>
> On Dec 1, 10:50 am, "Serkan Koyuncu" <[EMAIL PROTECTED]> wrote:
>
> > are you using multiple versions of symfony? 1.0 w 1.2?
>
> > 2008/12/1 PaulM <[EMAIL PROTECTED]>
>
> > > Let me ask you this:
>
> > > 1.1 Documents show :
>
> > > propel:
> > >  blog_article:
> > >    _attributes: { phpName: Article }
> > >     id:
> > >    title:       varchar(255)
> > >    content:     longvarchar
> > >    created_at:
> > >  blog_comment:
> > >     _attributes: { phpName: Comment }
> > >    id:
> > >     article_id:
> > >    author:      varchar(255)
> > >    content:     longvarchar
> > >    created_at:
>
> > > and 1.2 documents show:
>
> > > propel:
> > >  blog_article:
> > >    id:          ~
> > >    title:       varchar(255)
> > >    content:     longvarchar
> > >    created_at:  ~
> > >  blog_comment:
> > >    id:               ~
> > >    blog_article_id:  ~
> > >    author:           varchar(255)
> > >    content:          longvarchar
> > >    created_at:       ~
>
> > > which one is workable with 1.2 admin generator?
>
> > > On Dec 1, 10:12 am, "Nicolas Perriault" <[EMAIL PROTECTED]> wrote:
> > > > On Mon, Dec 1, 2008 at 4:09 PM, PaulM <[EMAIL PROTECTED]> wrote:
> > > > > Fatal error: Class 'ArticleFormFilter' not found in E:\www\symf\cache
> > > > > \backend2\dev\modules\autoArticle\lib
> > > > > \BaseArticleGeneratorConfiguration.class.php on line 210
>
> > > > You need to run ./symfony propel:build-filters
>
> > > > Then symfony cc
>
> > > > ++
>
> > > > --
> > > > Nicolas Perriaulthttp://prendreuncafe.com-http://symfonians.net-
> > >http://sensiolabs.com
> > > > Phone: +33 660 92 08 67
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: 1.2 v. admin generator impossible to set up

2008-12-01 Thread PaulM

Okay - I did  Propel:build-filters  and now its working

but HOLY COW - why so much work for something so simple...

there has to be a better way!

On Dec 1, 11:28 am, PaulM <[EMAIL PROTECTED]> wrote:
> no...just 1  -> 1.2 version.
>
> On Dec 1, 10:50 am, "Serkan Koyuncu" <[EMAIL PROTECTED]> wrote:
>
> > are you using multiple versions of symfony? 1.0 w 1.2?
>
> > 2008/12/1 PaulM <[EMAIL PROTECTED]>
>
> > > Let me ask you this:
>
> > > 1.1 Documents show :
>
> > > propel:
> > >  blog_article:
> > >    _attributes: { phpName: Article }
> > >     id:
> > >    title:       varchar(255)
> > >    content:     longvarchar
> > >    created_at:
> > >  blog_comment:
> > >     _attributes: { phpName: Comment }
> > >    id:
> > >     article_id:
> > >    author:      varchar(255)
> > >    content:     longvarchar
> > >    created_at:
>
> > > and 1.2 documents show:
>
> > > propel:
> > >  blog_article:
> > >    id:          ~
> > >    title:       varchar(255)
> > >    content:     longvarchar
> > >    created_at:  ~
> > >  blog_comment:
> > >    id:               ~
> > >    blog_article_id:  ~
> > >    author:           varchar(255)
> > >    content:          longvarchar
> > >    created_at:       ~
>
> > > which one is workable with 1.2 admin generator?
>
> > > On Dec 1, 10:12 am, "Nicolas Perriault" <[EMAIL PROTECTED]> wrote:
> > > > On Mon, Dec 1, 2008 at 4:09 PM, PaulM <[EMAIL PROTECTED]> wrote:
> > > > > Fatal error: Class 'ArticleFormFilter' not found in E:\www\symf\cache
> > > > > \backend2\dev\modules\autoArticle\lib
> > > > > \BaseArticleGeneratorConfiguration.class.php on line 210
>
> > > > You need to run ./symfony propel:build-filters
>
> > > > Then symfony cc
>
> > > > ++
>
> > > > --
> > > > Nicolas Perriaulthttp://prendreuncafe.com-http://symfonians.net-
> > >http://sensiolabs.com
> > > > Phone: +33 660 92 08 67
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: 1.2 v. admin generator impossible to set up

2008-12-01 Thread PaulM

I did everything again the exact same way and still getting the same
error:



Fatal error: Class 'ArticleFormFilter' not found in E:\www\symf\cache
\backend\dev\modules\autoArticle\lib
\BaseArticleGeneratorConfiguration.class.php on line 210

On Dec 1, 11:28 am, PaulM <[EMAIL PROTECTED]> wrote:
> no...just 1  -> 1.2 version.
>
> On Dec 1, 10:50 am, "Serkan Koyuncu" <[EMAIL PROTECTED]> wrote:
>
> > are you using multiple versions of symfony? 1.0 w 1.2?
>
> > 2008/12/1 PaulM <[EMAIL PROTECTED]>
>
> > > Let me ask you this:
>
> > > 1.1 Documents show :
>
> > > propel:
> > >  blog_article:
> > >    _attributes: { phpName: Article }
> > >     id:
> > >    title:       varchar(255)
> > >    content:     longvarchar
> > >    created_at:
> > >  blog_comment:
> > >     _attributes: { phpName: Comment }
> > >    id:
> > >     article_id:
> > >    author:      varchar(255)
> > >    content:     longvarchar
> > >    created_at:
>
> > > and 1.2 documents show:
>
> > > propel:
> > >  blog_article:
> > >    id:          ~
> > >    title:       varchar(255)
> > >    content:     longvarchar
> > >    created_at:  ~
> > >  blog_comment:
> > >    id:               ~
> > >    blog_article_id:  ~
> > >    author:           varchar(255)
> > >    content:          longvarchar
> > >    created_at:       ~
>
> > > which one is workable with 1.2 admin generator?
>
> > > On Dec 1, 10:12 am, "Nicolas Perriault" <[EMAIL PROTECTED]> wrote:
> > > > On Mon, Dec 1, 2008 at 4:09 PM, PaulM <[EMAIL PROTECTED]> wrote:
> > > > > Fatal error: Class 'ArticleFormFilter' not found in E:\www\symf\cache
> > > > > \backend2\dev\modules\autoArticle\lib
> > > > > \BaseArticleGeneratorConfiguration.class.php on line 210
>
> > > > You need to run ./symfony propel:build-filters
>
> > > > Then symfony cc
>
> > > > ++
>
> > > > --
> > > > Nicolas Perriaulthttp://prendreuncafe.com-http://symfonians.net-
> > >http://sensiolabs.com
> > > > Phone: +33 660 92 08 67
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: 1.2 v. admin generator impossible to set up

2008-12-01 Thread PaulM

no...just 1  -> 1.2 version.

On Dec 1, 10:50 am, "Serkan Koyuncu" <[EMAIL PROTECTED]> wrote:
> are you using multiple versions of symfony? 1.0 w 1.2?
>
> 2008/12/1 PaulM <[EMAIL PROTECTED]>
>
>
>
> > Let me ask you this:
>
> > 1.1 Documents show :
>
> > propel:
> >  blog_article:
> >    _attributes: { phpName: Article }
> >     id:
> >    title:       varchar(255)
> >    content:     longvarchar
> >    created_at:
> >  blog_comment:
> >     _attributes: { phpName: Comment }
> >    id:
> >     article_id:
> >    author:      varchar(255)
> >    content:     longvarchar
> >    created_at:
>
> > and 1.2 documents show:
>
> > propel:
> >  blog_article:
> >    id:          ~
> >    title:       varchar(255)
> >    content:     longvarchar
> >    created_at:  ~
> >  blog_comment:
> >    id:               ~
> >    blog_article_id:  ~
> >    author:           varchar(255)
> >    content:          longvarchar
> >    created_at:       ~
>
> > which one is workable with 1.2 admin generator?
>
> > On Dec 1, 10:12 am, "Nicolas Perriault" <[EMAIL PROTECTED]> wrote:
> > > On Mon, Dec 1, 2008 at 4:09 PM, PaulM <[EMAIL PROTECTED]> wrote:
> > > > Fatal error: Class 'ArticleFormFilter' not found in E:\www\symf\cache
> > > > \backend2\dev\modules\autoArticle\lib
> > > > \BaseArticleGeneratorConfiguration.class.php on line 210
>
> > > You need to run ./symfony propel:build-filters
>
> > > Then symfony cc
>
> > > ++
>
> > > --
> > > Nicolas Perriaulthttp://prendreuncafe.com-http://symfonians.net-
> >http://sensiolabs.com
> > > Phone: +33 660 92 08 67
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: 1.2 v. admin generator impossible to set up

2008-12-01 Thread Serkan Koyuncu
are you using multiple versions of symfony? 1.0 w 1.2?



2008/12/1 PaulM <[EMAIL PROTECTED]>

>
> Let me ask you this:
>
> 1.1 Documents show :
>
> propel:
>  blog_article:
>_attributes: { phpName: Article }
> id:
>title:   varchar(255)
>content: longvarchar
>created_at:
>  blog_comment:
> _attributes: { phpName: Comment }
>id:
> article_id:
>author:  varchar(255)
>content: longvarchar
>created_at:
>
>
> and 1.2 documents show:
>
> propel:
>  blog_article:
>id:  ~
>title:   varchar(255)
>content: longvarchar
>created_at:  ~
>  blog_comment:
>id:   ~
>blog_article_id:  ~
>author:   varchar(255)
>content:  longvarchar
>created_at:   ~
>
> which one is workable with 1.2 admin generator?
>
> On Dec 1, 10:12 am, "Nicolas Perriault" <[EMAIL PROTECTED]> wrote:
> > On Mon, Dec 1, 2008 at 4:09 PM, PaulM <[EMAIL PROTECTED]> wrote:
> > > Fatal error: Class 'ArticleFormFilter' not found in E:\www\symf\cache
> > > \backend2\dev\modules\autoArticle\lib
> > > \BaseArticleGeneratorConfiguration.class.php on line 210
> >
> > You need to run ./symfony propel:build-filters
> >
> > Then symfony cc
> >
> > ++
> >
> > --
> > Nicolas Perriaulthttp://prendreuncafe.com-http://symfonians.net-
> http://sensiolabs.com
> > Phone: +33 660 92 08 67
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: 1.2 v. admin generator impossible to set up

2008-12-01 Thread PaulM

Let me ask you this:

1.1 Documents show :

propel:
  blog_article:
_attributes: { phpName: Article }
id:
title:   varchar(255)
content: longvarchar
created_at:
  blog_comment:
_attributes: { phpName: Comment }
id:
article_id:
author:  varchar(255)
content: longvarchar
created_at:


and 1.2 documents show:

propel:
  blog_article:
id:  ~
title:   varchar(255)
content: longvarchar
created_at:  ~
  blog_comment:
id:   ~
blog_article_id:  ~
author:   varchar(255)
content:  longvarchar
created_at:   ~

which one is workable with 1.2 admin generator?

On Dec 1, 10:12 am, "Nicolas Perriault" <[EMAIL PROTECTED]> wrote:
> On Mon, Dec 1, 2008 at 4:09 PM, PaulM <[EMAIL PROTECTED]> wrote:
> > Fatal error: Class 'ArticleFormFilter' not found in E:\www\symf\cache
> > \backend2\dev\modules\autoArticle\lib
> > \BaseArticleGeneratorConfiguration.class.php on line 210
>
> You need to run ./symfony propel:build-filters
>
> Then symfony cc
>
> ++
>
> --
> Nicolas 
> Perriaulthttp://prendreuncafe.com-http://symfonians.net-http://sensiolabs.com
> Phone: +33 660 92 08 67
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: 1.2 v. admin generator impossible to set up

2008-12-01 Thread PaulM

Still the same.should I reinstall Symfony?  ;)  do a Symfony
Reboot?

On Dec 1, 10:12 am, "Nicolas Perriault" <[EMAIL PROTECTED]> wrote:
> On Mon, Dec 1, 2008 at 4:09 PM, PaulM <[EMAIL PROTECTED]> wrote:
> > Fatal error: Class 'ArticleFormFilter' not found in E:\www\symf\cache
> > \backend2\dev\modules\autoArticle\lib
> > \BaseArticleGeneratorConfiguration.class.php on line 210
>
> You need to run ./symfony propel:build-filters
>
> Then symfony cc
>
> ++
>
> --
> Nicolas 
> Perriaulthttp://prendreuncafe.com-http://symfonians.net-http://sensiolabs.com
> Phone: +33 660 92 08 67
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: 1.2 v. admin generator impossible to set up

2008-12-01 Thread Nicolas Perriault

On Mon, Dec 1, 2008 at 4:09 PM, PaulM <[EMAIL PROTECTED]> wrote:

> Fatal error: Class 'ArticleFormFilter' not found in E:\www\symf\cache
> \backend2\dev\modules\autoArticle\lib
> \BaseArticleGeneratorConfiguration.class.php on line 210

You need to run ./symfony propel:build-filters

Then symfony cc

++

-- 
Nicolas Perriault
http://prendreuncafe.com - http://symfonians.net - http://sensiolabs.com
Phone: +33 660 92 08 67

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: 1.2 v. admin generator impossible to set up

2008-12-01 Thread PaulM

Fatal error: Class 'ArticleFormFilter' not found in E:\www\symf\cache
\backend2\dev\modules\autoArticle\lib
\BaseArticleGeneratorConfiguration.class.php on line 210




On Dec 1, 9:58 am, Ant Cunningham <[EMAIL PROTECTED]>
wrote:
> Did you try clearing the cache?
>
>
>
> PaulM wrote:
> > Here is what I am doing based on this documentation:
> >http://www.symfony-project.org/book/1_2/14-Generators
>
> > Step 1:
>
> > Create schema.yml:
>
> > propel:
> >   blog_article:
> >     id:          ~
> >     title:       varchar(255)
> >     content:     longvarchar
> >     created_at:  ~
> >   blog_comment:
> >     id:               ~
> >     blog_article_id:  ~
> >     author:           varchar(255)
> >     content:          longvarchar
> >     created_at:       ~
>
> > Step 2.
> > command:   symfony propel:build-module
>
> > Confirm that schema works with a database call in a simple module
> > "content".
>
> > Step 3.
> > Database connectivity works - confirmed.
>
> > Step 4.
> > command:  symfony generate:app backend
>
> > Step 5:
> > command: symfony propel:generate-admin backend Article
>
> > Result:
>
> > Documentation says:
>
> > go to:http://localhost/backend.php/articles
>
> > so I do go there and it doesnt work, so I do the singular instead:
>
> >http://localhost/backend.php/article
>
> > and this doesnt work either. Here is the error:
>
> > Fatal error: Class 'ArticleFormFilter' not found in E:\www\symf\cache
> > \backend2\dev\modules\autoArticle\lib
> > \BaseArticleGeneratorConfiguration.class.php on line 210
>
> > So - based on the documentation and after following it step by step -
> > it just simply does not work!
>
> > Please review and revise...
>
> > On Dec 1, 9:26 am, "Fabian Lange" <[EMAIL PROTECTED]>
> > wrote:
> >> There are plenty of examples on the site that work, in the blog and in
> >> chapter 14 of the book.
> >> Which doesnt work?
> >> Fabian
>
> >> On Mon, Dec 1, 2008 at 3:05 PM, PaulM <[EMAIL PROTECTED]> wrote:
>
> >>> Does someone have any example that works with the admin generator?
> >>> I followed the documentation for 1.2 from the site but it is buggy
> >>> with misspellings and commands that should work but dont.
> >>> Does anyone have any tutorials that work well?
>
> --
> Ant Cunningham
> Graphic Designer | Web Developer
> Vector Based Design
> [EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: 1.2 v. admin generator impossible to set up

2008-12-01 Thread PaulM

Yes I have tried everything.  I used symfony before and so I basically
understand how it worksbut the docs need to be updated...

On Dec 1, 9:58 am, Ant Cunningham <[EMAIL PROTECTED]>
wrote:
> Did you try clearing the cache?
>
>
>
> PaulM wrote:
> > Here is what I am doing based on this documentation:
> >http://www.symfony-project.org/book/1_2/14-Generators
>
> > Step 1:
>
> > Create schema.yml:
>
> > propel:
> >   blog_article:
> >     id:          ~
> >     title:       varchar(255)
> >     content:     longvarchar
> >     created_at:  ~
> >   blog_comment:
> >     id:               ~
> >     blog_article_id:  ~
> >     author:           varchar(255)
> >     content:          longvarchar
> >     created_at:       ~
>
> > Step 2.
> > command:   symfony propel:build-module
>
> > Confirm that schema works with a database call in a simple module
> > "content".
>
> > Step 3.
> > Database connectivity works - confirmed.
>
> > Step 4.
> > command:  symfony generate:app backend
>
> > Step 5:
> > command: symfony propel:generate-admin backend Article
>
> > Result:
>
> > Documentation says:
>
> > go to:http://localhost/backend.php/articles
>
> > so I do go there and it doesnt work, so I do the singular instead:
>
> >http://localhost/backend.php/article
>
> > and this doesnt work either. Here is the error:
>
> > Fatal error: Class 'ArticleFormFilter' not found in E:\www\symf\cache
> > \backend2\dev\modules\autoArticle\lib
> > \BaseArticleGeneratorConfiguration.class.php on line 210
>
> > So - based on the documentation and after following it step by step -
> > it just simply does not work!
>
> > Please review and revise...
>
> > On Dec 1, 9:26 am, "Fabian Lange" <[EMAIL PROTECTED]>
> > wrote:
> >> There are plenty of examples on the site that work, in the blog and in
> >> chapter 14 of the book.
> >> Which doesnt work?
> >> Fabian
>
> >> On Mon, Dec 1, 2008 at 3:05 PM, PaulM <[EMAIL PROTECTED]> wrote:
>
> >>> Does someone have any example that works with the admin generator?
> >>> I followed the documentation for 1.2 from the site but it is buggy
> >>> with misspellings and commands that should work but dont.
> >>> Does anyone have any tutorials that work well?
>
> --
> Ant Cunningham
> Graphic Designer | Web Developer
> Vector Based Design
> [EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: 1.2 v. admin generator impossible to set up

2008-12-01 Thread Ant Cunningham

Did you try clearing the cache?

PaulM wrote:
> Here is what I am doing based on this documentation:
> http://www.symfony-project.org/book/1_2/14-Generators
> 
> Step 1:
> 
> Create schema.yml:
> 
> 
> propel:
>   blog_article:
> id:  ~
> title:   varchar(255)
> content: longvarchar
> created_at:  ~
>   blog_comment:
> id:   ~
> blog_article_id:  ~
> author:   varchar(255)
> content:  longvarchar
> created_at:   ~
> 
> 
> 
> Step 2.
> command:   symfony propel:build-module
> 
> Confirm that schema works with a database call in a simple module
> "content".
> 
> Step 3.
> Database connectivity works - confirmed.
> 
> Step 4.
> command:  symfony generate:app backend
> 
> Step 5:
> command: symfony propel:generate-admin backend Article
> 
> Result:
> 
> Documentation says:
> 
> go to: http://localhost/backend.php/articles
> 
> so I do go there and it doesnt work, so I do the singular instead:
> 
> http://localhost/backend.php/article
> 
> and this doesnt work either. Here is the error:
> 
> Fatal error: Class 'ArticleFormFilter' not found in E:\www\symf\cache
> \backend2\dev\modules\autoArticle\lib
> \BaseArticleGeneratorConfiguration.class.php on line 210
> 
> 
> So - based on the documentation and after following it step by step -
> it just simply does not work!
> 
> Please review and revise...
> 
> 
> 
> On Dec 1, 9:26 am, "Fabian Lange" <[EMAIL PROTECTED]>
> wrote:
>> There are plenty of examples on the site that work, in the blog and in
>> chapter 14 of the book.
>> Which doesnt work?
>> Fabian
>>
>> On Mon, Dec 1, 2008 at 3:05 PM, PaulM <[EMAIL PROTECTED]> wrote:
>>
>>> Does someone have any example that works with the admin generator?
>>> I followed the documentation for 1.2 from the site but it is buggy
>>> with misspellings and commands that should work but dont.
>>> Does anyone have any tutorials that work well?
> > 


-- 
Ant Cunningham
Graphic Designer | Web Developer
Vector Based Design
[EMAIL PROTECTED]

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: 1.2 v. admin generator impossible to set up

2008-12-01 Thread Thomas Rabaix
symfony cc ?

On Mon, Dec 1, 2008 at 3:50 PM, PaulM <[EMAIL PROTECTED]> wrote:

>
> Here is what I am doing based on this documentation:
> http://www.symfony-project.org/book/1_2/14-Generators
>
> Step 1:
>
> Create schema.yml:
>
>
> propel:
>  blog_article:
>id:  ~
>title:   varchar(255)
>content: longvarchar
>created_at:  ~
>  blog_comment:
>id:   ~
>blog_article_id:  ~
>author:   varchar(255)
>content:  longvarchar
>created_at:   ~
>
>
>
> Step 2.
> command:   symfony propel:build-module
>
> Confirm that schema works with a database call in a simple module
> "content".
>
> Step 3.
> Database connectivity works - confirmed.
>
> Step 4.
> command:  symfony generate:app backend
>
> Step 5:
> command: symfony propel:generate-admin backend Article
>
> Result:
>
> Documentation says:
>
> go to: http://localhost/backend.php/articles
>
> so I do go there and it doesnt work, so I do the singular instead:
>
> http://localhost/backend.php/article
>
> and this doesnt work either. Here is the error:
>
> Fatal error: Class 'ArticleFormFilter' not found in E:\www\symf\cache
> \backend2\dev\modules\autoArticle\lib
> \BaseArticleGeneratorConfiguration.class.php on line 210
>
>
> So - based on the documentation and after following it step by step -
> it just simply does not work!
>
> Please review and revise...
>
>
>
> On Dec 1, 9:26 am, "Fabian Lange" <[EMAIL PROTECTED]>
> wrote:
> > There are plenty of examples on the site that work, in the blog and in
> > chapter 14 of the book.
> > Which doesnt work?
> > Fabian
> >
> > On Mon, Dec 1, 2008 at 3:05 PM, PaulM <[EMAIL PROTECTED]> wrote:
> >
> > > Does someone have any example that works with the admin generator?
> >
> > > I followed the documentation for 1.2 from the site but it is buggy
> > > with misspellings and commands that should work but dont.
> >
> > > Does anyone have any tutorials that work well?
> >
>


-- 
Thomas Rabaix
Internet Consultant

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: 1.2 v. admin generator impossible to set up

2008-12-01 Thread PaulM

Here is what I am doing based on this documentation:
http://www.symfony-project.org/book/1_2/14-Generators

Step 1:

Create schema.yml:


propel:
  blog_article:
id:  ~
title:   varchar(255)
content: longvarchar
created_at:  ~
  blog_comment:
id:   ~
blog_article_id:  ~
author:   varchar(255)
content:  longvarchar
created_at:   ~



Step 2.
command:   symfony propel:build-module

Confirm that schema works with a database call in a simple module
"content".

Step 3.
Database connectivity works - confirmed.

Step 4.
command:  symfony generate:app backend

Step 5:
command: symfony propel:generate-admin backend Article

Result:

Documentation says:

go to: http://localhost/backend.php/articles

so I do go there and it doesnt work, so I do the singular instead:

http://localhost/backend.php/article

and this doesnt work either. Here is the error:

Fatal error: Class 'ArticleFormFilter' not found in E:\www\symf\cache
\backend2\dev\modules\autoArticle\lib
\BaseArticleGeneratorConfiguration.class.php on line 210


So - based on the documentation and after following it step by step -
it just simply does not work!

Please review and revise...



On Dec 1, 9:26 am, "Fabian Lange" <[EMAIL PROTECTED]>
wrote:
> There are plenty of examples on the site that work, in the blog and in
> chapter 14 of the book.
> Which doesnt work?
> Fabian
>
> On Mon, Dec 1, 2008 at 3:05 PM, PaulM <[EMAIL PROTECTED]> wrote:
>
> > Does someone have any example that works with the admin generator?
>
> > I followed the documentation for 1.2 from the site but it is buggy
> > with misspellings and commands that should work but dont.
>
> > Does anyone have any tutorials that work well?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: 1.2 v. admin generator impossible to set up

2008-12-01 Thread Fabien Potencier

I have fixed the 
http://www.symfony-project.org/blog/2008/10/31/new-in-symfony-1-2-the-admin-generator
blog post.

--
Fabien Potencier
Sensio CEO - symfony lead developer
sensiolabs.com | symfony-project.com | aide-de-camp.org
Tél: +33 1 40 99 80 80


PaulM wrote:
> Does someone have any example that works with the admin generator?
> 
> I followed the documentation for 1.2 from the site but it is buggy
> with misspellings and commands that should work but dont.
> 
> Does anyone have any tutorials that work well?
> > 
> 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Admin's Customization with Symfony 1.2

2008-12-01 Thread Necho

Hi !

I would like to custom the admin of my module "Staff". I have read the
tutorial 
http://www.symfony-project.org/blog/2008/10/31/new-in-symfony-1-2-the-admin-generator
and i have seen that it's possible! I must edit the code but where is
this code file?

The code file of admin generator for one module :
_assets.php
_filters.php
_filters_field.php
_flashes.php
_form.php
_form_actions.php
_form_field.php
_form_fieldset.php
_form_footer.php
_form_header.php
_list.php
_list_actions.php
_list_batch_actions.php
_list_field_boolean.php
_list_footer.php
_list_header.php
_list_td_actions.php
_list_td_batch_actions.php
_list_td_stacked.php
_list_td_tabular.php
_list_th_stacked.php
_list_th_tabular.php
_pagination.php
editSuccess.php
indexSuccess.php
newSuccess.php

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] multiple connections default?

2008-12-01 Thread gimler

hallo,

how can i set one connection as default when i use multiple
connections?


greetings
Gimler

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: 1.2 v. admin generator impossible to set up

2008-12-01 Thread Fabian Lange
There are plenty of examples on the site that work, in the blog and in
chapter 14 of the book.
Which doesnt work?
Fabian

On Mon, Dec 1, 2008 at 3:05 PM, PaulM <[EMAIL PROTECTED]> wrote:

>
> Does someone have any example that works with the admin generator?
>
> I followed the documentation for 1.2 from the site but it is buggy
> with misspellings and commands that should work but dont.
>
> Does anyone have any tutorials that work well?
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: What about the Symfony Guide ...

2008-12-01 Thread PaulM

i have the same question

On Dec 1, 9:05 am, "Reynier Perez Mira" <[EMAIL PROTECTED]> wrote:
> Hi every:
> I have one doubt about the release of Symfony 1.2. Is the documentation 
> updated or not? What is the state of this?
>
> Regards and thanks in advance
> Ing. Reynier Pérez Mira
> Dirección Técnica IP
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] What about the Symfony Guide ...

2008-12-01 Thread Reynier Perez Mira

Hi every:
I have one doubt about the release of Symfony 1.2. Is the documentation updated 
or not? What is the state of this?

Regards and thanks in advance
Ing. Reynier Pérez Mira
Dirección Técnica IP 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] 1.2 v. admin generator impossible to set up

2008-12-01 Thread PaulM

Does someone have any example that works with the admin generator?

I followed the documentation for 1.2 from the site but it is buggy
with misspellings and commands that should work but dont.

Does anyone have any tutorials that work well?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: In-place editor tag woes

2008-12-01 Thread Charley Tiggs

It could be the reason, yes.  You'll need to modify your  
asynchronously loaded script to have the parameter "'script' =>  
true".  You'll then see any javascript included in the asynchronous  
call executed.

Charley

On Nov 26, 2008, at 2:58 AM, GarethMc wrote:

>
> Just realised that perhaps this would not work if the element to be
> edited is itself inside an asynchronously loaded div that is not
> loaded with the whole page. Could this perhaps be the reason? I am
> thinking that the in_place_editor_tag javascript is not defined in the
> page head due it to not being called when the page loads?
>
> On Nov 25, 12:08 pm, GarethMc <[EMAIL PROTECTED]> wrote:
>> No one able to contribute any info? Still experiencing difficulties
>> with this. If any additional info is required please feel free to  
>> ask.
>>
>> On Nov 24, 4:34 pm, "Gareth McCumskey" <[EMAIL PROTECTED]> wrote:
>>
>>> I am attempting to use the in_place_editor_tag with symfony 1.1.4  
>>> and for
>>> some reason after following the directions in the book for symfony  
>>> 1.1 the
>>> editor just doesn't happen. Even viewing the source with Firebug  
>>> shows no
>>> additional code from this helper being inserted. The div that  
>>> wraps the text
>>> for editing is dynamic as it involves a tree structure that uses  
>>> ajax to
>>> expand and contract the tree but as far as I can figure this  
>>> should make no
>>> difference.
>>
>>> The code snippet is as follows:
>>
>>> >> >getName()
>>> ?>
>>
>>> >> >getId(),
>>> 'organisational_units/edit', array(
>>>'cols'=> 4,
>>>'rows' => 1,
>>>'submitOnBlur' => 'true',
>>>'okControl' => false,
>>>'cancelControl' => false )) ?>
>>
>>> The html that is generated for the browser is:
>>
>>> OUName
>>
>>> And thats it. No additional html/javascript to handle the in place  
>>> editing.
>>> Clicking on the Text "OUName" does nothing. I even tried turning 1.0
>>> campatibility on thinking maybe it was some unmentioned/undocuemnted
>>> limitation with the 1.1 forms class structure but no change.
>>
>>> Any help would be appreciated.
>>
>>> Gareth McCumskey
> >


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: Bug in sfTesterForm ??

2008-12-01 Thread xwolf

There are more bugs. Line 160 and 164 I think there also should be
$error->getMessage() instead of $error->getCode().

On 1 Gru, 14:00, xwolf <[EMAIL PROTECTED]> wrote:
> Hello,
> Today I have updated symfony to 1.2.0 version, run my project's tests
> and got many errors. Error shows when I try to check the error message
> in the from. For example it is always 'required' instead of the error
> I have defined in form class. In the browser error message is correct
> and also in test debuging mode error message is correct. Only tests
> are incorect.
>
> I think it is a bug in sfTesterFrom line 176. When I change $error->getCode() 
> into $error->getMessage() everything is ok. Can someone
>
> confirm that?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: sf 1.2 admin generator - action does not exist

2008-12-01 Thread Rytis Daugirdas
Well, I am not sure. Yes, /administrator does work, BUT the documentation
indicates a plural form:

http://www.symfony-project.org/book/1_2/14-Generators

http://localhost/backend.php/article*s*
>

Anyway, thanks for helping, it does work, even if not according to the
documentation.

On Mon, Dec 1, 2008 at 3:05 PM, Alistair Stead <
[EMAIL PROTECTED]> wrote:

> You have a typo in your URL should it not be administrator? singular?
> Regards
>
> Alistair
>
> 2008/12/1 Rytis Daugirdas <[EMAIL PROTECTED]>
>
> Hello,
>>
>> I've run into a problem with admin generator.
>>
>> php symfony propel:generate-admin admin Administrator
>>
>> Now I go to http://localdomain/admin_dev.php/administrators and I get
>> sfError404Exception: Action "administrators/index" does not exist.
>>
>> What could be the problem? The cache is cleared.
>>
>> --
>> Regards,
>> Rytis
>>
>>
>
>
> --
> Alistair Stead
> Senior Interactive Developer
>
> Mobile: +44 (0) 7788 107 333
> Email: [EMAIL PROTECTED]
> WWW: designdisclosure.com
>
>
> The information contained in this email is confidential and may contain
> proprietary information. It is meant solely for the intended
> recipient/recipients. Access to this email by anyone else is unauthorised.
> If you are not the intended recipient, any disclosure, copying, distribution
> or any action taken or omitted in reliance on this, is prohibited and may be
> unlawful. Please consider the environment before printing this e-mail.
>
> >
>


-- 
Su pagarba,
Rytis Daugirdas

UAB "Internovitas"

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Bug in sfTesterForm ??

2008-12-01 Thread xwolf

Hello,
Today I have updated symfony to 1.2.0 version, run my project's tests
and got many errors. Error shows when I try to check the error message
in the from. For example it is always 'required' instead of the error
I have defined in form class. In the browser error message is correct
and also in test debuging mode error message is correct. Only tests
are incorect.

I think it is a bug in sfTesterFrom line 176. When I change $error-
>getCode() into $error->getMessage() everything is ok. Can someone
confirm that?

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Bug in sfTesterForm ??

2008-12-01 Thread xwolf

Hello,
Today I have updated symfony to 1.2.0 version, run my project's tests
and got many errors. Error shows when I try to check the error message
in the from. For example it is always 'required' instead of the error
I have defined in form class. In the browser error message is correct
and also in test debuging mode error message is correct. Only tests
are incorect.

I think it is a bug in sfTesterFrom line 176. When I change $error-
>getCode() into $error->getMessage() everything is ok. Can someone
confirm that?

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: sf 1.2 admin generator - action does not exist

2008-12-01 Thread Alistair Stead
You have a typo in your URL should it not be administrator? singular?
Regards

Alistair

2008/12/1 Rytis Daugirdas <[EMAIL PROTECTED]>

> Hello,
>
> I've run into a problem with admin generator.
>
> php symfony propel:generate-admin admin Administrator
>
> Now I go to http://localdomain/admin_dev.php/administrators and I get
> sfError404Exception: Action "administrators/index" does not exist.
>
> What could be the problem? The cache is cleared.
>
> --
> Regards,
> Rytis
> >
>


-- 
Alistair Stead
Senior Interactive Developer

Mobile: +44 (0) 7788 107 333
Email: [EMAIL PROTECTED]
WWW: designdisclosure.com


The information contained in this email is confidential and may contain
proprietary information. It is meant solely for the intended
recipient/recipients. Access to this email by anyone else is unauthorised.
If you are not the intended recipient, any disclosure, copying, distribution
or any action taken or omitted in reliance on this, is prohibited and may be
unlawful. Please consider the environment before printing this e-mail.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] sf 1.2 admin generator - action does not exist

2008-12-01 Thread Rytis Daugirdas
Hello,

I've run into a problem with admin generator.

php symfony propel:generate-admin admin Administrator

Now I go to http://localdomain/admin_dev.php/administrators and I get
sfError404Exception: Action "administrators/index" does not exist.

What could be the problem? The cache is cleared.

-- 
Regards,
Rytis

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



Re: Re : [symfony-users] Re: Problem with create Admin generator Symfony 1.2

2008-12-01 Thread Teddy Maitre
Thanks ! It does work now! I must write all the new code before the default 
rules no?

--- En date de : Lun 1.12.08, Fabien Potencier <[EMAIL PROTECTED]> a écrit :
De: Fabien Potencier <[EMAIL PROTECTED]>
Objet: Re: Re : [symfony-users] Re: Problem with create Admin generator Symfony 
1.2
À: symfony-users@googlegroups.com
Date: Lundi 1 Décembre 2008, 13h32

The routes for admin gen modules must be at the beginning of the file.

--
Fabien Potencier
Sensio CEO - symfony lead developer
sensiolabs.com | symfony-project.com | aide-de-camp.org
Tél: +33 1 40 99 80 80


Teddy Maitre wrote:
> change_culture:
>   url:   /change_culture/:culture
>   param: { module: user, action: changeCulture }
>   requirements:
> culture: (en_US|fr_FR|de_DE)
> # default rules
> homepage:
>   url:   /
>   param: { module: main, action: index }
> 
> default_index:
>   url:   /:module
>   param: { action: index }
> 
> default:
>   url:   /:module/:action/*
>  
> domaine:
>   class:sfDoctrineRouteCollection
>   options:
> model:  Envdomaine
> module: domaine
> prefix_path:domaine
> with_wildcard_routes:   true
>  
> service:
>   class:sfDoctrineRouteCollection
>   options:
> model:  Envservice
> module: service
> prefix_path:service
> with_wildcard_routes:   true
>  
> site:
>   class:sfDoctrineRouteCollection
>   options:
> model:  Envsite
> module: site
> prefix_path:site
> with_wildcard_routes:   true
> 
> personnel:
>   class:sfDoctrineRouteCollection
>   options:
> model:  Envpersonnel
> module: personnel
> prefix_path:personnel
> with_wildcard_routes:   true
> 
> 
> 
> > 






  
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



Re: Re : [symfony-users] Re: Problem with create Admin generator Symfony 1.2

2008-12-01 Thread Fabien Potencier

The routes for admin gen modules must be at the beginning of the file.

--
Fabien Potencier
Sensio CEO - symfony lead developer
sensiolabs.com | symfony-project.com | aide-de-camp.org
Tél: +33 1 40 99 80 80


Teddy Maitre wrote:
> change_culture:
>   url:   /change_culture/:culture
>   param: { module: user, action: changeCulture }
>   requirements:
> culture: (en_US|fr_FR|de_DE)
> # default rules
> homepage:
>   url:   /
>   param: { module: main, action: index }
> 
> default_index:
>   url:   /:module
>   param: { action: index }
> 
> default:
>   url:   /:module/:action/*
>  
> domaine:
>   class:sfDoctrineRouteCollection
>   options:
> model:  Envdomaine
> module: domaine
> prefix_path:domaine
> with_wildcard_routes:   true
>  
> service:
>   class:sfDoctrineRouteCollection
>   options:
> model:  Envservice
> module: service
> prefix_path:service
> with_wildcard_routes:   true
>  
> site:
>   class:sfDoctrineRouteCollection
>   options:
> model:  Envsite
> module: site
> prefix_path:site
> with_wildcard_routes:   true
> 
> personnel:
>   class:sfDoctrineRouteCollection
>   options:
> model:  Envpersonnel
> module: personnel
> prefix_path:personnel
> with_wildcard_routes:   true
> 
> 
> 
> > 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



Re : [symfony-users] Re: Problem with create Admin generator Symfony 1.2

2008-12-01 Thread Teddy Maitre
change_culture:
  url:   /change_culture/:culture
  param: { module: user, action: changeCulture }
  requirements:
    culture: (en_US|fr_FR|de_DE)
# default rules
homepage:
  url:   /
  param: { module: main, action: index }

default_index:
  url:   /:module
  param: { action: index }

default:
  url:   /:module/:action/*
  
domaine:
  class:    sfDoctrineRouteCollection
  options:
    model:  Envdomaine
    module: domaine
    prefix_path:    domaine
    with_wildcard_routes:   true
 
service:
  class:    sfDoctrineRouteCollection
  options:
    model:  Envservice
    module: service
    prefix_path:    service
    with_wildcard_routes:   true
 
site:
  class:    sfDoctrineRouteCollection
  options:
    model:  Envsite
    module: site
    prefix_path:    site
    with_wildcard_routes:   true

personnel:
  class:    sfDoctrineRouteCollection
  options:
    model:  Envpersonnel
    module: personnel
    prefix_path:    personnel
    with_wildcard_routes:   true



  
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: symfony 1.2 has been released

2008-12-01 Thread Lee Bolding

Cool.

Looks like a lot of interesting new features congratulations :)

Now, a few questions...

In the What's new documentation there are a lot of mentions of Propel  
this and Propel-that (things like ObjectRouting) are the Doctrine  
versions analogous with the Propel ones? or is Doctrine not supported  
unless specifically mentioned?

Also, where are the docs for the RESTful routing? (I'm currently using  
a mod that Francois posted on his blog for Symfony 1.1)

Cheers

Lee

On 30 Nov 2008, at 23:01, Fabian Lange wrote:

> Dear symfony community,
> I do not want you to miss our symfony 1.2 release.
> So head over to our blog and check my posting:
> http://www.symfony-project.org/blog/2008/12/01/symfony-1-2-is-already-available
>
> Read it, try the release and tell everybody that it is great, via  
> Twitter, Blogs, Forums, Mailing Lists, SMS, or I heard some people  
> actually meet in person, so better not miss that chance too!
>
> Enjoy!
> Fabian & the symfony team
>
> >


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: Problem with create Admin generator Symfony 1.2

2008-12-01 Thread Fabien Potencier

I think this is a routing problem. Can you copy/paste your routing.yml file?

--
Fabien Potencier
Sensio CEO - symfony lead developer
sensiolabs.com | symfony-project.com | aide-de-camp.org
Tél: +33 1 40 99 80 80


Necho wrote:
> Hi !
> 
> I have problems with admin generator on Symfony 1.2. When i want to
> create a new staff for exemple, i have the form but when i click on
> save, i will be redirected on the list page but i don't my new staff !
> Why?
> 
> See you
> > 
> 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: Changed images/CSS/JS after a new build...

2008-12-01 Thread Sumedh

Someone plz look here? :)

On Nov 29, 4:06 pm, Sumedh <[EMAIL PROTECTED]> wrote:
> When one changes some code on live site...there might be some changes
> in files that get cached (like images and CSS and JS)...
>
> How can one make the browsers reload these new items after the build?
> Yes, cleaning browser cache would fetch a clean page, but for the
> users who have old copies in the cache, it might result in weird
> rendering of the page as some files are new and some are old...
>
> Do you face this problem?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Problem with create Admin generator Symfony 1.2

2008-12-01 Thread Necho

Hi !

I have problems with admin generator on Symfony 1.2. When i want to
create a new staff for exemple, i have the form but when i click on
save, i will be redirected on the list page but i don't my new staff !
Why?

See you
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: symfony on shared host

2008-12-01 Thread [EMAIL PROTECTED]

Julien

I use a simpler solution, this is what I do on 1and1:

my / folder is visible so:
I have .htaccess deny from all there

I created the symfony folders projects for each of my projects and
point the folder destination for each domain/sub domain to the /
myappproject/web/ folder. the web server makes sure then that all the
requests are served from the proper folder. the root htacces is a
justincaseparanoid measure.


works like a charm, no need to hack the symfony classes.



On Nov 20, 3:22 pm, "julien Bessiere" <[EMAIL PROTECTED]>
wrote:
> Hi,
>
> I'm trying to put online a website just created using symfony 1.1.
> I found some tutorial such 
> ashttp://trac.symfony-project.org/wiki/InstallingSymfonyOnSharedHostNoSsh
> but still... I'm little bit confused (very confused...)
>
> The tutorial refers to an arborescence with a document root of the virtual
> host named /html.
> In my host, I don't have that... the document root is directly /.
> So, shall I take everything from the web folder and put at the root?
> But, I guess this is gonna break all the link controllers and stuff like
> that ?
>
> Thanks for any ligthing !
>
> Julien
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: symfony 1.2 has been released

2008-12-01 Thread [EMAIL PROTECTED]

I'm not going to tell to anyone, It's to good to be shared.
How can I download all the copies from the server?

;) Thanks!!!

Fabian Lange wrote:
> Dear symfony community,
> I do not want you to miss our symfony 1.2 release.
> So head over to our blog and check my posting:
> http://www.symfony-project.org/blog/2008/12/01/symfony-1-2-is-already-available
>
> Read it, try the release and tell everybody that it is great, via Twitter,
> Blogs, Forums, Mailing Lists, SMS, or I heard some people actually meet in
> person, so better not miss that chance too!
>
> Enjoy!
> Fabian & the symfony team
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] symfony 1.0, how to implement a little something

2008-12-01 Thread ganda...@gmail.com

Hello there,

First of all, thanks to the symfony team, 1.2 is out!

I need to make sure that users can only access content they created, I
save the author_id  (references the sfguarduser ) for every article.

1) Im using the init-admin interfaces.

The security.yml file supports something like this???:

edit:
  current_must_user_match: author_id   # meaning the current
sfGuardUserId must match the object author id?

I usually add the author_id criteria to the query, but since im using
the init-admin interface, I can only think of 3 solutions, a filter,
hack the ArtivcePeer class and add the criteria automatically, however
I think the proper one will be to override the initiated actions
involved... to bad, a lot of code to repeat.

Any ideas???

Thank's

Pablo
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] sfValidatorPropelUnique giving problems when updating sfGuardUserProfile

2008-12-01 Thread Flancer

I have this code:

new sfValidatorPropelUnique(array('model' => 'sfGuardUserProfile',
'column' => array('email','nric')))


Which I think should check the combined uniqueness of the fields with
the name of email,nric.

Strangely enough, this code prevents me from editing the record unless
i make changes to both the email and nric fields.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---