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, Ed, biapar, Willr, Ingo, swaiba

Files where allocated the Metadata

Go to End

2 Posts   1143 Views


Community Member, 9 Posts

18 May 2011 at 6:48am

Edited: 18/05/2011 6:50am


I would like to know where are allocated the files that have the Metadata of each page that composes a site, in order to put a Javascript code in them

Regards and thanks with anticipation


Forum Moderator, 5523 Posts

21 May 2011 at 5:32pm

I don't exactly follow your question - are you trying to alter the meta tags on your site? You cannot include javascript in metatags AFAIK, but they're generated from SiteTree.php, If you want to manually override them copy the MetaTags function from SiteTree.php to Page.php