UPDATES EasyBlog 6.0.14 Released! Joomla 5.x and PHP 8.x compatible now!

Helpdesk

Your Time
Our Time
Response Time
24 — 48 hours
We strive to provide the fastest ever response possible. However, we are not super beings.

Allow at least 24 — 48 hours
  Support is offline
Our team is away during the weekend. Some answers may already be available on our documentation

Rest assured that we will get back to your posts as soon as the week starts!
  Support is offline

Cannot log into EasyBlog while site displayed within an I-Frame

Dave Beeston · ·
12:22 AM Wednesday, 15 February 2017
None
I am using EasyBlog as an internal blog site for my organization. I intend on it being the "Splash" page for my Custom build applications portal site. As such I have encapsulated the site onto the landing page of the Applications Site within an I-Frame. All works well with one very frustrating exception. I am unable to "log-in" to edit, submit etc... blogs. If I log in to a direct link site outside of the I-Frame then load the site within the I-Frame, I am logged in and all appears to work, however I would really rather that we can log into the blog site within the I-Frame on the application site... Note this is an internal site and not directly available from the internet, however I am able to allow remote login to the server if it would help... The Applications/I-Frame site and the Joomla Site are on DIFFERENT Windows 2008 R2 Servers...

Here is what I think is happening.,..

Problem: Go to http://itdev03/itapps/apps/home/index.php click on cao page link and press the login button. The login silently fails.

Info: I have tried updating the source file found at:
itdev03:C:\inetpub\wwwroot\itapps\apps\home
I think the solution is to set the target to _parent:

<script type="text/javascript">
function onLoadIF(frame)
{
var elements = frame.contentDocument.getElementsByTagName("*";), //*******************************
len = elements.length;
while( len-- ) {
elements[len].target = "_parent";
}
}
</script>

<iframe
src="http://intranetdev.islandstrust.bc.ca/index.php/cao";
target='_parent'
onload="onLoadIF(this)"
align="left"
width="<?php echo $iframe_width; ?>"
height="<?php echo $iframe_height; ?>"
style="border:none">
Error: Your browswer is not including the iframe
</iframe>

However, contentDocument on the line with the //******* gives an access denied error.
The replies under this section are restricted to logged in users or users with an active subscription with us