height integration problem

Post a reply


This question is a means of preventing automated form submissions by spambots.
Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :arrow: :| :mrgreen: :geek: :ugeek:

BBCode is ON
[img] is ON
[url] is ON
Smilies are ON

Topic review
   

If you wish to attach one or more files enter the details below.

Maximum filesize per attachment: 1 MiB.

Expand view Topic review: height integration problem

Re: height integration problem

by axew3 » Sat Apr 30, 2016 12:37 pm

hello,
i do not know the template you use, but: probably you have not copy/paste the code into the correct overall_footer.html template file.
On phpbb3 root folder is the only place where you need to put it. so if phpbb is installed at mysite/forum you need to put the iframeResizer.contentWindow.min.js file in forum folder. No more.

Where is the site you're testing, online? I can see? As from source we can immediately understand where is the problem.

Re: height integration problem

by v5grip » Sat Apr 30, 2016 1:10 am

Good morning,
I have the same problem as the Op, but I can't solve it.
First of all, I'm on a local server doing test.
I do what this tutorial says:
https://www.axew3.com/w3/2016/02/embed-p ... esponsive/

I have modified the html before changing the ecompile stale style components.
I have modified the html after modifyng the ecompile stale style components.
I have added the script after <!-- EVENT overall_footer_after -->
I have added the scripto before <!-- EVENT overall_footer_body_after -->
I have added the script before </body>
I have added the script two,or even 3 times on html to see if there was any change.
And,of course, the changin of Recompile stale style components did I too.

I have iframeResizer.contentWindow.min.js on all this folder:
root folder of all.
special folder named "scripts" on root,and changed the html to there (nothing too).
On phpbb3 root folder ( in my case, I have changed the name to "forum",so this folder is on www_public/forum/)
I have it on the folder of template from platesilver.

And allways the same for me.

I know I'm doing something incorrect, but don't know what...I even deleted all the .js and reupload the original template .html file and restarted again....

Thank you very much.

PS:I cleared the coockies and cache from my browsers too (chrome and firefox).

Re: height integration problem

by axew3 » Wed Apr 27, 2016 7:35 pm

Ok! :arrow: 1.2.7 is coming out in very short time.

Re: height integration problem

by oniros10 » Wed Apr 27, 2016 5:53 pm

working after clearing cache

many thanks

Re: height integration problem

by oniros10 » Wed Apr 27, 2016 5:10 pm

hi, modified overall_footer.html (style prosilver)

like this

Code: Select all

<!-- EVENT overall_footer_after -->
<script type="text/javascript">

$(document).on('mouseout', '.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="./iframeResizer.contentWindow.min.js" defer></script>
<!-- IF S_PLUPLOAD --><!-- INCLUDE plupload.html --><!-- ENDIF -->
{$SCRIPTS}
After, I loaded it in original style folder

after, I copy iframeResizer.contentWindow.min.js in /phpBB3 folder

After, I did the recompile

And I still have the same cutted window, did I miss something?

Re: height integration problem

by axew3 » Tue Apr 26, 2016 9:45 pm


Top