Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Customising the CMS /

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

Adding a description to existing field names


Go to End


4 Posts   2175 Views

Avatar
steve_nyhof

Community Member, 224 Posts

14 January 2010 at 1:35pm

Does anyone know how to add a description to the existing field names...

Title: This is used for ...

Description: This is used for ...

Keywords: Separate each keyword, or keyword phrase with a comma... shoes, red shoes,

I could gain hours a week ust by adding this info, and not having to explain it all.

Thank you,
Steve

Avatar
baba-papa

Community Member, 279 Posts

16 January 2010 at 1:31am

How about a ReadonlyField?

Avatar
steve_nyhof

Community Member, 224 Posts

16 January 2010 at 5:38am

$fields->addFieldToTab ("Root.Content.ExtraMeta",new ReadonlyField('MetaDescription','This is a description'));

Can you expand a little here. I tried this, but it only removed the description field.???

Avatar
svandragt

Community Member, 44 Posts

10 November 2012 at 3:53am

Any people looking for this, please see my github gist for an easy way to autopopulate field descriptions to form fields

https://gist.github.com/4045237