title: Silverstipe tutorial - addFieldToTab does not work
body: <p>I am following silverstripe tutorial number 2: Extending a basic site <a href="http://doc.silverstripe.org/framework/en/tutorials/2-extending-a-basic-site" rel="nofollow">http://doc.silverstripe.org/framework/en/tutorials/2-extending-a-basic-site</a></p>
  
  <p>I have downloaded ss3.0.3 and using Windows 7 WAMP 2.1</p>
  
  <p>I have created the ArticlePage and ArticleHolderPage but when I go and create a page of type ArticleHolder there are no date and author fields in the content tab.</p>
  
  <p>My code for the ArticlPage:</p>
  
  <pre><code>class ArticlePage extends Page
  {
      static $db = array(
           'Date'=&gt;'Date',
           'Author'=&gt;'Text'
        );
  
     public function getCMSFields()
     {
        $fields = parent::getCMSFields();
  
        $dateField = new DateField('Date');
        $dateField = setConfig('showcalendar', true);
        $fields-&gt;addFieldToTab('Root.Main', $dateField, 'Content');
        $fields-&gt;addFieldToTab('Root.Main', new TextField('Author'), 'Content');
  
        return $fields;
     }
  }
  </code></pre>
  
  <p>Am I doing something wrong?</p>
  
  <p>Thank you</p>