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.

General Questions

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

SiteTree.php and Labels / Labeling fields


3 Posts   901 Views


15 May 2010 at 9:40am Community Member, 224 Posts


I need to give more of a description to the field names. Like "Page name", I want to add an description to the field, more than just a name.

Where do I go to update this? I have gone into the SiteTree.php file under core/model and tried there, but nothing changed - around line 1340

Is there a better way to do this - I do not care if I adjust the core files and this system is becoming highly customized already.

Thank you,
Steve Nyhof


15 May 2010 at 1:39pm Community Member, 133 Posts

In SS 2.3.7 you want the Sapphire lang file:

$lang['en_US']['SiteTree']['PAGETITLE'] = 'Page name';


15 May 2010 at 2:54pm Community Member, 224 Posts

Thank you very much! That is exactly what I was looking for.