Zeon Posted December 23, 2008 Share Posted December 23, 2008 Hey everyone, I have integrated my whmcs install into my template by using an iframe (Joomla Wrapper). I have changed the system URL in WHMCS general settings to the link of my iframe page: http://web-2u.co.nz/index.php/Management.html It's fine when WHMCS only sends out a link linking to that page ie in the welcome email however in the invoice created email it adds it's own code onto the URL to show the invoice e.g: http://web-2u.co.nz/index.php/Management.html/viewinvoice.php?id=565 Which doesn't work. Any ideas on how to overcome this? 0 Quote Link to comment Share on other sites More sharing options...
jj1987 Posted January 22, 2009 Share Posted January 22, 2009 <?php $iframeurl = "../whmcs/viewticket.php?"; $iframeurl .= "tid="; $iframeurl .= $_GET[tid]; $iframeurl .= "&c="; $iframeurl .= $_GET[c]; //$iframeurl then holds the same vars as the current page. echo $iframeurl; ?> <iframe width="653" height="900px" align frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="<?php echo $iframeurl; ?>"> <div align="left"></div> </iframe> Here's how you can pass the GET variables to the iframe. Not sure how I could modify the whmcs email variables to support this however.... 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.