17488 Posts in 4473 Topics by 1978 members
Page: 1 2
|Go to End||Next >|
24 September 2008 at 6:56pm
I've got a little Question, is it possible to change the label of the Content field shown in the Admin Center? If not, maybe disabling this field would help me too. Thanks in advance
25 September 2008 at 2:54am
This doc page shows you how to remove and rename fields. This can be applied to all, not just content.
30 September 2008 at 2:23am
This method doesn't exist anymore, I get an error and the API Doc doesn't list it.
30 September 2008 at 5:53pm
You using trunk? I know its in trunk as Im using it and I would assume its in 2.2.2 as well.
It is in the docs - http://api.silverstripe.com/forms/fields-structural/FieldSet.html
30 September 2008 at 7:45pm Last edited: 30 September 2008 7:47pm
No I'm using 2.2.2 currently, since trunk won't work for me (http://www.silverstripe.com/site-builders-forum/show/179914)
I don't see it in the doc, searched with Firefox for "renameField".
Object::__call() Method 'renameField' not found in class 'FieldSet'
30 September 2008 at 9:04pm
Yea rename field might only be in trunk sorry, But what you can do is remove the field then re add it
$fields->addFieldToTab("Root.Content.Main", new HTMLEditorField("Content", "My New Label"));
1 October 2008 at 2:04am
Still doesn't work, a message box pops up with "There has been an error" when I select the site in the CMS.
1 October 2008 at 10:53am
Can you find out what the error is? If you have Firebug for firefox installed you should view under the 'console' view in firebug you should see all the requests. Click on the little arrow next to the failing request (it will be red), click the load response button and it should show you a more useful error
Page: 1 2
|Go to Top||Next >|