Hi guys,
I (finally) made it work !
But I have an issue: The iframe height is not adapted to the forum height. On my wp page, I juste see the headers'forum. Is that normal ? I have set a fixed height (4500 px !) to test. But it's not a good solution !
And in the Iframe I have the header and the footer from my forum, and Ijust want the "wrap" section. Should I edit my overall_header & footer files ? Thank you !
I frame height
- axew3
- w3all User
- Posts: 2883
- Joined: Fri Jan 22, 2016 5:15 pm
- Location: Italy
- Contact:
Re: I frame height
the iframe height should be auto set by the iframe resizer code:
https://www.axew3.com/w3/2016/02/embed- ... esponsive/
if you have install online, and you've further problems, post the link to the page forum.
But following the procedure, should work all fine.
Check on the page the part about:
https://www.axew3.com/w3/2016/02/embed- ... esponsive/
if you have install online, and you've further problems, post the link to the page forum.
But following the procedure, should work all fine.
Check on the page the part about:
look if this resolveNOTE: if your iframe do not resize, the problem is that the file iframeResizer.contentWindow.min.js isn’t loaded correctly: check line
Re: I frame height
Thanks for your answer.
I 've followed the procedure on the first time, and I just did it another time.
But my issue still here...
I've changed the second line with my domain and I set the "iframeResizer.contentWindow.min.js" with absolute path (https://tattooin.fr/forum/iframeResizer ... dow.min.js)
You can see my install here :
Forum :
https://tattooin.fr/forum
Forum in my wp page :
https://tattooin.fr/board (here is the issue)
I 've followed the procedure on the first time, and I just did it another time.
But my issue still here...
I've changed the second line with my domain and I set the "iframeResizer.contentWindow.min.js" with absolute path (https://tattooin.fr/forum/iframeResizer ... dow.min.js)
You can see my install here :
Forum :
https://tattooin.fr/forum
Forum in my wp page :
https://tattooin.fr/board (here is the issue)
- axew3
- w3all User
- Posts: 2883
- Joined: Fri Jan 22, 2016 5:15 pm
- Location: Italy
- Contact:
Re: I frame height
check that you have setup not correctly into overall_footer.html the document.domain setting.
it is set as https://tattooin.fr that is wrong
while it need to be
domain name setting do not need to be a link.
if after this the iframe still not resize to bottom (but should)
open WP template folder of your theme, than open created file for page forum, that you named board in your case, so you'll search and open the file
page-board.php
inside it you'll find a line of code:
remove // in front to activate a differen heightCalculationMethod for the iframe, so this line will become:
if still not resize, try out another of the available which are:
it is set as https://tattooin.fr that is wrong
Code: Select all
document.domain = 'https://tattooin.fr'; // THIS IS MANDATORY! Set/Change this value to your domain (example: axew3.com (or leave localhost if on localhost))
Code: Select all
document.domain = 'tattooin.fr'; // THIS IS MANDATORY! Set/Change this value to your domain (example: axew3.com (or leave localhost if on localhost))
if after this the iframe still not resize to bottom (but should)
open WP template folder of your theme, than open created file for page forum, that you named board in your case, so you'll search and open the file
page-board.php
inside it you'll find a line of code:
Code: Select all
// heightCalculationMethod: 'bodyOffset', // If page not resize to phpBB template bottom, un-comment (or change with one of others available resize methods)
Code: Select all
heightCalculationMethod: 'bodyOffset', // If page not resize to phpBB template bottom, un-comment (or change with one of others available resize methods)
Code: Select all
values: 'bodyOffset' | 'bodyScroll' | 'documentElementOffset' | 'documentElementScroll' |
'max' | 'min' | 'grow' | 'lowestElement' | 'taggedElement'
- axew3
- w3all User
- Posts: 2883
- Joined: Fri Jan 22, 2016 5:15 pm
- Location: Italy
- Contact:
Re: I frame height
answer above updated
Re: I frame height
Thank you very much axew3 !
It work with
It worked with but in this case it was the scroll wheel that doesn't work !
Grazie
It work with
Code: Select all
'documentElementOffset'
Code: Select all
'bodyScroll'
Grazie