I may be a bit confused about template iframe embed
-
- User w
- Posts: 19
- Joined: Wed Nov 16, 2016 4:27 pm
Re: I may be a bit confused about template iframe embed
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
- axew3
- w3all User
- Posts: 2883
- Joined: Fri Jan 22, 2016 5:15 pm
- Location: Italy
- Contact:
-
- User w
- Posts: 19
- Joined: Wed Nov 16, 2016 4:27 pm
Re: I may be a bit confused about template iframe embed
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
Thanks
- axew3
- 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
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:
but will be
or just using url instead, in your case will be
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>
Code: Select all
<script type="text/javascript" src="../iframeResizer.contentWindow.min.js" defer></script>
Code: Select all
<script type="text/javascript" src="http://catchwrestle.com/forum/iframeResizer.contentWindow.min.js" defer></script>
- axew3
- 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
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>
-
- User w
- Posts: 19
- Joined: Wed Nov 16, 2016 4:27 pm
Re: I may be a bit confused about template iframe embed
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>
[removed]
<!-- EVENT acp_overall_footer_after -->
{$SCRIPTS}
</body>
</html>