Page 1 of 1

Iframe and Site URL issue - Need help

Posted: Sun Jan 23, 2011 2:30 am
by online_michael
Hi guys,

We managed to install Hesk without any issues and everything seems to be working fine except for one thing: When you click on the Site URL to take users to the home page, the home page is loaded within the Iframe and not the full window of the browser.

We use a very popular e-commerce shopping cart and we setup Hesk to load within the main body of the site but whenever we click on the home page link (within Hesk), our home page is loaded within the iframe. In other words our web site is, more or less, duplicated.

We're still using Hesk 2.1. Should we be using 2.2 to resolve this issue?

Have we installed this incorrectly? Is there a setting somewhere that we have missed?

Any assistance would be greatly appreciated.

Re: Iframe and Site URL issue - Need help

Posted: Sun Jan 23, 2011 4:00 pm
by Klemen
Try opening index.php file in Notepad and change

Code: Select all

<a href="<?php echo $hesk_settings['site_url']; ?>" class="smaller">
to

Code: Select all

<a href="<?php echo $hesk_settings['site_url']; ?>" class="smaller" target="_top">
This needs to be done 3 times in the index.php file, 2 times in the ticket.php file, once in the submit_ticket.php file and once in the knowledgebase.php file

Re: Iframe and Site URL issue - Need help

Posted: Tue Jan 25, 2011 6:23 am
by online_michael
That certainly did the trick, thank you... However, one problem down, one to go... Links to support tickets found inside emails, seems to load Hesk inside an iframe, leaving out the rest of the web site. Can anything be done about this?

Re: Iframe and Site URL issue - Need help

Posted: Tue Jan 25, 2011 6:14 pm
by Klemen
You'd have to modify the ticket.php file for that in a way that is unfortunately out of the scope of my support, sorry.

Re: Iframe and Site URL issue - Need help

Posted: Wed Jan 26, 2011 1:57 am
by online_michael
No Problem. Thank you anyway. :(

However, I think it would be a nice touch, on future releases, that an option to choose how Hesk operates within an existing web site is handled; exactly how it's handled now or within a 'window' of an existing web site.

Also, when Hesk operates within a 'window' it eliminates the need to setup a header and footer altogether. :!: