I may be a bit confused about template iframe embed

chicagot
User w
User w
Posts: 19
Joined: Wed Nov 16, 2016 4:27 pm

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

Post 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
chicagot
User w
User w
Posts: 19
Joined: Wed Nov 16, 2016 4:27 pm

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

Post 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
User avatar
axew3
w3all User
w3all User
Posts: 2883
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

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

Post 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>
User avatar
axew3
w3all User
w3all User
Posts: 2883
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

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

Post 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>
chicagot
User w
User w
Posts: 19
Joined: Wed Nov 16, 2016 4:27 pm

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

Post 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>
Post Reply