Page 2 of 6

Re: I may be a bit confused about template iframe embed

Posted: Wed Nov 16, 2016 7:10 pm
by chicagot
OK I found an error. In my php admin area, I cannot scroll to make any changes on the admin page. Can I circumvent this somehow? Thanks

Re: I may be a bit confused about template iframe embed

Posted: Wed Nov 16, 2016 8:10 pm
by axew3

Re: I may be a bit confused about template iframe embed

Posted: Wed Nov 16, 2016 9:09 pm
by chicagot
Ok I read that but am a bit confused. Do I put both of those boxes of script in the footer html? If so, where?

Thanks

Re: I may be a bit confused about template iframe embed

Posted: Wed Nov 16, 2016 9:25 pm
by axew3
ok i've edit the post, yes, sorry my english.
just add the unique code ('i've edit post) but look to last line: it need to match the file iframeResizer.contentWindow.min.js
that is on phpBB root.
so maybe last line to add on overall_footer.html of your admin template, will NOT be:

Code: Select all

<script type="text/javascript" src="iframeResizer.contentWindow.min.js" defer></script>
but will be

Code: Select all

<script type="text/javascript" src="../iframeResizer.contentWindow.min.js" defer></script>
or just using url instead, in your case will be

Code: Select all

<script type="text/javascript" src="http://catchwrestle.com/forum/iframeResizer.contentWindow.min.js" defer></script>

Re: I may be a bit confused about template iframe embed

Posted: Wed Nov 16, 2016 9:27 pm
by axew3
so this, using url, is the exact code to add on your admin template overall_foter.html

Code: Select all

<script type="text/javascript">

$(document).on('mouseup', '.postimage', function(){
      var w3allappend = "getw3all_lightbox";
if ('parentIFrame' in window) window.parentIFrame.sendMessage(w3allappend);
});

  $(document).on("click", "a", function() {
   var href = $(this).attr("href");
   var w3allappend = href;

 if ('parentIFrame' in window) window.parentIFrame.sendMessage(w3allappend);

});
</script>
<script type="text/javascript" src="http://catchwrestle.com/forum/iframeResizer.contentWindow.min.js" defer></script>

Re: I may be a bit confused about template iframe embed

Posted: Wed Nov 16, 2016 9:37 pm
by chicagot
I don't seem to have that in my footer. I'm sorry for being unable to grasp this. I apologize. This is my footer:
[removed]

<!-- EVENT acp_overall_footer_after -->
{$SCRIPTS}

</body>
</html>