by axew3 » Sat Mar 26, 2016 8:16 am
Look that this part is about the admin ACP panel, and you not need to confuse the hint about admin, that you should fix after.
You need now to edit the overall_footer.html of your active phpBB template.
ADD the code:
Code: Select all
<script type="text/javascript">
$(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>
After this, phpBB require to recompile the new template, or modifications to his template files not affect (to overall_footer.html in this case). Open phpBB ACP, and so under
Server Configuration -> Load settings -> Recompile stale style components set to YES and save. So re-set to NO and save other time the option. It is needed one time to load the template modifications on phpBB (any time you edit a phpBB template file), but this option should be ever set to NO on an online site to save server resources. It is normally set to yes only for testing purpose, or needed to apply done modifications to templates.
[quote]EDIT :
I just add these lines in adm folder https://www.axew3.com/w3/forums/viewtopic.php?f=2&t=37
empty cache but nothing change on Chrome or FF.[/quote]
Look that this part is about the admin ACP panel, and you not need to confuse the hint about admin, that you should fix after.
You need now to edit the overall_footer.html of your active phpBB template.
ADD the code:
[code]<script type="text/javascript">
$(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>[/code]
After this, phpBB require to recompile the new template, or modifications to his template files not affect (to overall_footer.html in this case). Open phpBB ACP, and so under
[b]Server Configuration -> Load settings -> Recompile stale style components set to YES and save[/b]. So re-set to NO and save other time the option. It is needed one time to load the template modifications on phpBB (any time you edit a phpBB template file), but this option should be ever set to NO on an online site to save server resources. It is normally set to yes only for testing purpose, or needed to apply done modifications to templates.