Jump to:

11002 Posts in 2734 Topics by 1823 members

All other Modules

SilverStripe Forums » All other Modules » subsite: how to access site definition?

Discuss all other Modules here.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 1134 Views
  • chadws
    Community Member
    9 Posts

    subsite: how to access site definition? Link to this post

    I am setting up a template to use with the subsite and was wondering how I can access the site name in the subsite definition. I would like to write this in the page header since the template is used on multiple sites it cannot be hard coded. Also, am I correct that I can extend the information stored for the subsite by adding the fields to the file /subsites/code/Subsite.php or will this cause problems?


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.