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

Files where allocated the Metadata


Reply


2 Posts   879 Views

Avatar
breikan

Community Member, 9 Posts

18 May 2011 at 6:48am

Edited: 18/05/2011 6:50am

Hi,

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

Avatar
Willr

Forum Moderator, 5513 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