Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • islandview Friend
    #968830

    Loving the Promo Bar… but one feature of it that doesn’t suit my site is the arrow to toggle it to show or hide… in my case I want it visible all the time, and I don’t want the user to be able to close it.

    Is it possible for next version to have a back-end config option to show / hide the toggle feature?.. and in the meantime is there any easy way (CSS?) to hide it?

    THANKS

    Mo0nlight Moderator
    #969675

    Hi.

    In the meantime you could try this.

    Edit the file : modules/mod_japromobar/tmpl/default.php

    Change the code :

    <span class="icon-toogle opened"><?php echo JText::_('TOGGLE_BAR'); ?></span>

    To:

    <!-- <span class="icon-toogle opened"><?php echo JText::_('TOGGLE_BAR'); ?></span> -->

    And Change the code :

    //check previous status bar
                if(getCookie('ja_promo_bar_<?php echo $module->id?>') == 'closed'){
                    jaClosePromoBar();
                }else{
                    jaOpenPromoBar();
                }

    To:

    jaOpenPromoBar();

    Regards.

Viewing 2 posts - 1 through 2 (of 2 total)

This topic contains 1 reply, has 2 voices, and was last updated by  Mo0nlight 8 years, 1 month ago.

We moved to new unified forum. Please post all new support queries in our New Forum