Jump to:

23480 Posts in 18951 Topics by 2878 members

General Questions

SilverStripe Forums » General Questions » Files where allocated the Metadata

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

Page: 1
Go to End
Author Topic: 866 Views
  • breikan
    Avatar
    Community Member
    9 Posts

    Files where allocated the Metadata Link to this post

    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

  • Willr
    Avatar
    Forum Moderator
    5502 Posts

    Re: Files where allocated the Metadata Link to this post

    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

    866 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.