Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Customising the CMS /

Create own iframes into backend


Reply


2 Posts   731 Views

Avatar
dataforlife

Community Member, 10 Posts

16 September 2011 at 5:04am

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

Avatar
swaiba

Forum Moderator, 1799 Posts

29 September 2011 at 12:33am

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.