HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

problem with Apptastic

DenisSDenisS My brain hurts Buriram ✭✭

It shows in the dashboard, but not on the Apptastic theme.

Tagged:

Comments

  • hgtonighthgtonight ∞ · New Moderator

    Apptastic uses a different element to contain the panel asset. This plugin assumes the panel asset will be in an element ID'd by Panel. Modify line 45 in this plugin by replacing #Panel with aside.page-sidebar.

    That should do it.

    Search first

    Check out the Documentation! We are always looking for new content and pull requests.

    Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.

  • vrijvlindervrijvlinder Papillon-Sauvage MVP

    If you still want it in the panel you can use both

      $TthisJQuerySource =
    '<script type="text/javascript">
    jQuery(document).ready(function($){
    $(\'#Panel\').prepend(\'<!-- Begin TranslateThis Button --><div id="translate-this"><a style="width:98%!important;height:25px;display:block;" class="translate-this-button" href="http://www.translatecompany.com/" title="Translate">Translate Company</a></div></br><!-- End TranslateThis Button -->\');
    $(\'.aside.page-sidebar\').prepend(\'<!-- Begin TranslateThis Button --><div id="translate-this"><a style="width:98%!important;height:25px;display:block;" class="translate-this-button" href="http://www.translatecompany.com/" title="Translate">Translate Company</a></div></br><!-- End TranslateThis Button -->\');
    });
    </script>';
    
Sign In or Register to comment.