Welcome, Guest ( Customer Panel | Login )




 All Forums
 VPCart Forum
 Customization
 Iframe Content
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

dunpeal
VP-CART New User

70 Posts

Posted - October 12 2007 :  00:47:51  Show Profile  Reply with Quote
Possible to add a iframe to the VPASP backend so i can handle support email and all my orders through the backend. ?

How is this done ?

devshb
Senior Member

United Kingdom
1904 Posts

Posted - October 12 2007 :  06:18:54  Show Profile  Visit devshb's Homepage  Reply with Quote
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
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000
0 Item(s)
$0.00