Add page to admin
8 posts by 2 authors in: Forums > CMS Builder
Last Post: June 11 (RSS)
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.
interactivetools.com
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.
interactivetools.com
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!
interactivetools.com
Thanks, Dave.
I think where I was going with this is that if someone accessed the frame directly (not through CMSB) could I use CMSB's password to protect it? I don't want anyone to access it without a password. That might be what you just said - not possible :-)