[symfony-users] Re: Why config is not read from generator.yml

2009-12-25 Thread lking
looks like here is not enough spaces before
config:
here must be 4 spaces. same for other keys in this section.
filter: should have same num of spaces as list: (6 spaces, tabs is not
allowed)

On 20 дек, 14:49, George hirv...@gmail.com wrote:
 Yes cache is cleared

 George

 On 20 joulu, 00:56, Daniel Lohse annismcken...@googlemail.com wrote:



  Did you clear the cache?

  Daniel

  On Dec 19, 2009, at 10:41 AM, George wrote:

   Hi,

   Why I get  the   Affiliate List instead of   Affiliate Management
   with admin view of  Jobeet tutorial tutorial.

   It seems as if symfony does not  read the config.

   ---
   generator:
    class: sfDoctrineGenerator
    param:
      model_class:           JobeetAffiliate
      theme:                 admin
      non_verbose_templates: true
      with_show:             false
      singular:              ~
      plural:                ~
      route_prefix:          jobeet_affiliate
      with_doctrine_route:   true
      actions_base_class:    sfActions
    config:
      fields:
        is_active: { label: Active? }
      list:
        title:   Affiliate Management
        display: [is_active, url, email, token,]
        sort:    [is_active,asc]
        object_actions:
          activate:   ~
          deactivate: ~
        batch_actions:
          activate:   ~
          deactivate: ~
        actions: {}
    filter:
      display: [url, email, is_active]
   

   --

   You received this message because you are subscribed to the Google Groups 
   symfony users group.
   To post to this group, send email to symfony-us...@googlegroups.com.
   To unsubscribe from this group, send email to 
   symfony-users+unsubscr...@googlegroups.com.
   For more options, visit this group 
   athttp://groups.google.com/group/symfony-users?hl=en.

--

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




[symfony-users] Re: Why config is not read from generator.yml

2009-12-20 Thread George
Yes cache is cleared

George

On 20 joulu, 00:56, Daniel Lohse annismcken...@googlemail.com wrote:
 Did you clear the cache?

 Daniel

 On Dec 19, 2009, at 10:41 AM, George wrote:



  Hi,

  Why I get  the   Affiliate List instead of   Affiliate Management
  with admin view of  Jobeet tutorial tutorial.

  It seems as if symfony does not  read the config.

  ---
  generator:
   class: sfDoctrineGenerator
   param:
     model_class:           JobeetAffiliate
     theme:                 admin
     non_verbose_templates: true
     with_show:             false
     singular:              ~
     plural:                ~
     route_prefix:          jobeet_affiliate
     with_doctrine_route:   true
     actions_base_class:    sfActions
   config:
     fields:
       is_active: { label: Active? }
     list:
       title:   Affiliate Management
       display: [is_active, url, email, token,]
       sort:    [is_active,asc]
       object_actions:
         activate:   ~
         deactivate: ~
       batch_actions:
         activate:   ~
         deactivate: ~
       actions: {}
   filter:
     display: [url, email, is_active]
  

  --

  You received this message because you are subscribed to the Google Groups 
  symfony users group.
  To post to this group, send email to symfony-us...@googlegroups.com.
  To unsubscribe from this group, send email to 
  symfony-users+unsubscr...@googlegroups.com.
  For more options, visit this group 
  athttp://groups.google.com/group/symfony-users?hl=en.

--

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