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.

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   1267 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, 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