Jump to:

23014 Posts in 11873 Topics by 2830 members

General Questions

SilverStripe Forums » General Questions » Page.php not working anymore, can't get new CMSFields added

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 1132 Views
  • duskydesigns
    Avatar
    Community Member
    15 Posts

    Page.php not working anymore, can't get new CMSFields added Link to this post

    For some annoying reason my Page.php stopped working properly, im unsure why its doing this but i am unable to add tabs to the basic pages and all that follow. Its just not working..

    It sucks since my deadline is tommorow and right now it decides to go buggy..i dunno what went wrong, could be that its extended in homepage but i doubt it.

    Heres the code:

    public static $db = array(
          
          'ColumnRight' => 'HTMLText',
       );

       public static $has_one = array(
       );

    }

    function getCMSFields() {
    $fields = parent::getCMSFields();

          $fields->addFieldToTab("Root.Content.Main", new HTMLEditorField('ColumnRight','Column rechts inhoud'));
    return $fields;
    }

  • duskydesigns
    Avatar
    Community Member
    15 Posts

    Re: Page.php not working anymore, can't get new CMSFields added Link to this post

    Ok, anyone else ever getting similar stuff and who has a Mac OSX 10.6 operating system with XAMPP.. That is the problem. Live it works just offline it refuses to update.

    Also issues with this OS, at least from me:
    - Only able to enter admin in localhost by adding ?isDev=1 to prevent forever loading screen
    - Images just do not work, the path is always wrong.

    1132 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.