21282 Posts in 5730 Topics by 2601 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 1108 Views |
-
Help with my install

18 April 2009 at 6:12am Last edited: 21 April 2009 2:19pm
I have installed 2.3.1 and I do not see the editors like I see in the demo website where there are editors for left middle and right is there anything I am missing on my install.
-
Re: Help with my install

18 April 2009 at 12:35pm Last edited: 21 April 2009 2:19pm
This is the image of the admin on my install of silverstripe 2.3.1 that has only content editor not same as the demo that has left and right editors on the page
-
Re: Help with my install

19 April 2009 at 2:07pm Last edited: 21 April 2009 2:19pm
I'm not sure what the left and right areas are that you are referring to. It sounds like you just want to add another HTML editor field to page.
If you look at http://doc.silverstripe.com/doku.php?id=tutorial:2-extending-a-basic-site you can see how to do this. Look for the section explaining this code:
function getCMSFields() {
$fields = parent::getCMSFields();$fields->addFieldToTab('Root.Content.Main', new CalendarDateField('Date'), 'Content');
$fields->addFieldToTab('Root.Content.Main', new TextField('Author'), 'Content');
return $fields;
}But what you want is to add an HTMLEditorField: http://doc.silverstripe.com/doku.php?id=HTMLEditorfield
-
Re: Help with my install

19 April 2009 at 3:54pm Last edited: 21 April 2009 2:19pm
I have been investigating and think those extra editors in demo are the tree boxes on the home page on this page http://demo.silverstripe.com/
To get the same what files do I have to modify -
Re: Help with my install

21 April 2009 at 2:18pm Last edited: 21 April 2009 2:19pm
Ok, I see what you mean. Yes, you need to write PHP code to add three more text editors on the Homepage class.
-
Re: Help with my install

21 April 2009 at 2:19pm
I've moved this away from install issues because it is not an install problem at all.
| 1108 Views | ||
|
Page:
1
|
Go to Top |


