Add page to admin

8 posts by 2 authors in: Forums > CMS Builder
Last Post: June 11   (RSS)

By glennp - May 29 - edited: May 29

Hello,

I have a page with a search form that I'd like to add to the CMSB admin instead of it being an external page. Is this possible? What's involved?

Thanks!

Glenn

Hi Glenn, 

One simple way is to add a menu link that displays a page with an iframe.  Here's how: 

  • CMS Setup > Database Editor > Add New Editor...
    • Select: Menu Type > Advanced > Text Link
  • Then edit that menu and change: 
    • Open link in: inline iframe
    • Link URL: /path/to/your/form.php

Hope that helps!  Let me know any questions.

Dave Edis - Senior Developer
interactivetools.com

Thanks, Dave!

I was wondering about that approach. Is there a way to truly integrate it or is so complicated that it's not worth it?

Glenn

Hi Glenn, 

The other way to do it is to create a plugin. 

You can try activating the Example Plugin in the plugins section for an example.  You can combine that with a link menubar item to link to the plugin page.

Anything is possible, it just depends on what you want to do.

Dave Edis - Senior Developer
interactivetools.com

Thanks again, Dave. I'll check out the plug-in example. 

Glenn

Hey Dave,

I'm using the inline frame option. Can this external page automatically leverage or inherit the CMS Builder admin's current login session for password protection? Or does it require its own separate authentication mechanism?

Essentially, can I avoid a second login for the page displayed within the iframe if the user is already logged into the main CMSB admin?

Thanks!

Glenn

Hi Glenn,

You can control who can see the menu link or click on it through the CMS.  To do that, look under: Accounts > Section Access

But because the iframe URL is completely independent, if someone knew how to save it and accessed it directly, the CMS couldn't prevent them from doing that.

Let me know if you have any other questions.  Thanks!

Dave Edis - Senior Developer
interactivetools.com