devshb
Senior Member
United Kingdom
1904 Posts |
Posted - October 12 2007 : 06:18:54
|
it should be possible to create a vpasp admin page which has an iframe within it, you'd just use the same kind of logic as any other admin page (ie add the new iframe parent page to the menu, and then grant out access to it)
for example, you might create a file called "myadminarea.asp", add that to your vpasp menu, and its contents would be something like:
<% option explicit %> <!-- #include file="shop$db.asp" --> <% ShopCheckAdmin "myadminarea.asp" AdminPageHeader %> <br> <center> <iframe width="100%" height="420" frameborder="0" src="myadminhomepage.asp"></iframe> </center> <% AdminPageTrailer %>
very important note; just because the parent iframe has had its admin permissions checked, doesn't mean the screens that it displays have the same check applied, so if you're using a non-vpasp page within the iframe then it too needs to have some kind of security added if it doesn't already.
Simon Barnaby Developer [email protected] www.BigYellowZone.com Web Design, Online Marketing and VPASP addons |
Edited by - devshb on October 12 2007 06:20:58 |
|
|