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 [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
-~----------~----~----~----~------~----~------~--~---