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 [email protected]
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
-~----------~----~----~----~------~----~------~--~---