Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Page Titles

Our old forums are still available as a read-only archive.

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

Page: 1 2 3
Go to End
Author Topic: 6380 Views
  • Reflektera
    Avatar
    49 Posts

    Re: Page Titles Link to this post

    I have the same problem as dio5, can't get that global thing to work. Any solution?

  • Nathan Cox
    Avatar
    Community Member
    99 Posts

    Re: Page Titles Link to this post

    One option would be to put a SiteName() method into Page_Controller:

    function SiteName() {
    global $SiteName;
    return $SiteName;
    }

    It does take a but more code, though

  • Reflektera
    Avatar
    49 Posts

    Re: Page Titles Link to this post

    Thanks, I'm fine with that...

    6380 Views
Page: 1 2 3
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.