Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • michowas Friend
    #731657

    I installed JA promo Bar on my website it work fine but will like the bar to be close by default when the site is loaded, I want it open only when the user click on the open & close arrow. I’ve work around the default.php file but nothing seems to be working.

    Thanks in advance

    Ninja Lead Moderator
    #752272

    Hi,

    You will have to customize the module in order to achieve that, however, this task will take time and beyond our support scope.

    If you are developer, you can have a look at modules/mod_japromobar/tmpl/default.php file


    //push page down
    <?php if($params->get('push_page_down', 1)):?>
    if(getCookie('ja_promo_bar_<?php echo $module->id?>') == 'opened' || getCookie('ja_promo_bar_<?php echo $module->id?>') == ''){
    jaPromoBarBody('opened');
    //fix conflict with t3 menu
    jaPromoBarT3Nav('opened');
    }
    <?php endif;?>

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

    Regards

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

This topic contains 2 replies, has 2 voices, and was last updated by  Ninja Lead 9 years, 1 month ago.

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