Jump to:

5539 Posts in 1738 Topics by 1224 members

Customising the CMS

SilverStripe Forums » Customising the CMS » Managing external apps through CMS

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

Page: 1
Go to End
Author Topic: 706 Views
  • CHD
    Community Member
    218 Posts

    Managing external apps through CMS Link to this post

    evening all,

    i've recently installed a nice PHP calendar here:

    and for my client to manage the avaiabilty of said calendar, they simply go here:

    now i'd LOVE to integrate this into the SS CMS somehow but i think im way out of my depth.
    so then i thought about just adding a link in the CMS but i cant even work out how to do that!
    i think the best option would be a new TAB either at the very top or the content page, then an iframe of the calendar admin page.

    can anybody help with this?


  • CHD
    Community Member
    218 Posts

    Re: Managing external apps through CMS Link to this post

    never mind, worked it out!

    for anybody interested... easiest way to add your own content like this to the backend seems to be using literal fields.

    so, i created a file in mysite/code called calendar.php

    within that i created a new tab for the calendar CMS page, and in there is a new literal field, and then an iframe! works perfectly.

       //CMS fields
       function getCMSFields() {
          $fields = parent::getCMSFields();
          $fields->addFieldToTab('Root.Content.Availability', new LiteralField("","<iframe src ='URL HERE' width='100%' height='400'><p>Your browser does not support iframes.</p></iframe>"));
          return $fields;   

    now i just need to workout how the session ID works for SS so that i can amend the PHP calendar login file, meaning you need to be logged in to SS before you can access the calendar admin area...hmmmm....

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.