Jump to:

5540 Posts in 1738 Topics by 1224 members

Customising the CMS

SilverStripe Forums » Customising the CMS » Create own iframes into backend

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

Page: 1
Go to End
Author Topic: 690 Views
  • dataforlife
    Avatar
    Community Member
    10 Posts

    Create own iframes into backend Link to this post

    Hallo,

    my question is, if i can create my own iframes like the image upload iframe.

    I would like to create some other forms, uploads and databases by myself with php an then integrate it into the backend.

    I could do this by use the LiteralField to add the iframe, but by this way the iframe source isn't protected by the cms password.
    The FileUpload-Iframe is protected by the cms password, so i would like to build my own save iframe.

    Is it possible?

    I hope you understand, what i mean

    thanks a lot!

    OR: ist there a way to check by SESSION (perhaps) if an admin/user is logged in?

    thx

  • swaiba
    Avatar
    Forum Moderator
    1792 Posts

    Re: Create own iframes into backend Link to this post

    OR: ist there a way to check by SESSION (perhaps) if an admin/user is logged in?

    You can use this...

       $_SESSION['loggedInAs'];

    ... if it is set then someone is logged in.

    690 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.