possible bug in footer

Discussion in 'Troubleshooting' started by ccwjames, May 16, 2016.

  1. ccwjames

    ccwjames Member

    Joined:
    Sep 11, 2014
    Messages:
    430
    now using 5.1 and i see under default theme u can add logo, header and footer
    now if you have like me already coded the bottom from the layout_phtml then what ever you put in the footer does`nt work.

    on mine i have (layout)

    Code:
    <div class="am-footer-actions">
                            <a href="#top"><img src="<?php echo $this->_scriptImg('/top.png') ?>" /></a>
                        </div>
                        <div id="main-content">
    Welcome to 3wows
    </div>
    <script type="text/javascript" src="/advertisement.js"></script>
    <script type="text/javascript">
    if (document.getElementById("testadblock") == undefined)
    {
    document.getElementById('main-content').innerHTML="It seems you have adblock enabled, please disable AdBlocker and <a href=''>refresh this page</a> to see helpful images";
    }
    </script>
    </a>
                    </div>
                </div>
            </div>
            <?php echo $this->placeholder('body-finish'); ?>
    this worked as asking people to remove ad-block as some images would not load ( sorted some by diff names and in folder )
    but now updated to 5.1, if you remove ad-block and refresh, the writing wont change like it did before.

Share This Page