Viewing 15 posts - 1 through 15 (of 24 total)
  • Author
    Posts
  • thefc_uk Friend
    #207780

    Hi

    Anyone know how to change the code to make the acm-topbar position visible/hidden in the template layout options?

    I’d like it hidden when viewed by iPhone/Android phone users.

    Cheers 🙂

    pavit Moderator
    #575322

    Hi

    Please take a look at this post

    pavit Moderator
    #641652

    Hi

    Please take a look at this post

    pavit Moderator
    #740314

    Hi

    Please take a look at this post

    thefc_uk Friend
    #575332

    Thanks Pavit,

    That’s resolved it for now, but if I added a new block how would I be able to add/remove it via the template manager? For example if I hand over a site to a client they may want to change the settings without getting into the code.

    Cheers
    Stuart

    thefc_uk Friend
    #641662

    Thanks Pavit,

    That’s resolved it for now, but if I added a new block how would I be able to add/remove it via the template manager? For example if I hand over a site to a client they may want to change the settings without getting into the code.

    Cheers
    Stuart

    thefc_uk Friend
    #740324

    Thanks Pavit,

    That’s resolved it for now, but if I added a new block how would I be able to add/remove it via the template manager? For example if I hand over a site to a client they may want to change the settings without getting into the code.

    Cheers
    Stuart

    pavit Moderator
    #575334

    Hi

    In that case you can add the specific hidden class to the module published into position adding to the advanced tab > Module Class Suffix the hidden class for device

    This will give you a better flexibility into the module managements for the various devices resolutions


    1. Screenshot_3
    pavit Moderator
    #641664

    Hi

    In that case you can add the specific hidden class to the module published into position adding to the advanced tab > Module Class Suffix the hidden class for device

    This will give you a better flexibility into the module managements for the various devices resolutions

    pavit Moderator
    #740326

    Hi

    In that case you can add the specific hidden class to the module published into position adding to the advanced tab > Module Class Suffix the hidden class for device

    This will give you a better flexibility into the module managements for the various devices resolutions

    Ninja Lead Moderator
    #575347

    You can use this way

    + Open templates/uber/tpls/blocks/topbar.php file

    find and change

    <?php if ($this->countModules('acm-topbar')) : ?>
    <jdoc:include type="modules" name="<?php $this->_p('acm-topbar') ?>" style="raw" />
    <?php endif ?>

    to

    <?php if ($this->countModules('acm-topbar')) : ?>
    <div id="t3-section" class="wrap sections-wrap <?php $this->_c('acm-topbar') ?>">
    <jdoc:include type="modules" name="<?php $this->_p('acm-topbar') ?>" style="raw" />
    </div>
    <?php endif ?>

    + Go to Admin site -> Template Manager -> Uber template -> click eye icon if you want to hide it into iPhone/Android phone users


    1. Screen-Shot-2015-06-24-at-15.49.56
    Ninja Lead Moderator
    #641677

    You can use this way

    + Open templates/uber/tpls/blocks/topbar.php file

    find and change

    <?php if ($this->countModules('acm-topbar')) : ?>
    <jdoc:include type="modules" name="<?php $this->_p('acm-topbar') ?>" style="raw" />
    <?php endif ?>

    to

    <?php if ($this->countModules('acm-topbar')) : ?>
    <div id="t3-section" class="wrap sections-wrap <?php $this->_c('acm-topbar') ?>">
    <jdoc:include type="modules" name="<?php $this->_p('acm-topbar') ?>" style="raw" />
    </div>
    <?php endif ?>

    + Go to Admin site -> Template Manager -> Uber template -> click eye icon if you want to hide it into iPhone/Android phone users

    Ninja Lead Moderator
    #740339

    You can use this way

    + Open templates/uber/tpls/blocks/topbar.php file

    find and change

    <?php if ($this->countModules('acm-topbar')) : ?>
    <jdoc:include type="modules" name="<?php $this->_p('acm-topbar') ?>" style="raw" />
    <?php endif ?>

    to

    <?php if ($this->countModules('acm-topbar')) : ?>
    <div id="t3-section" class="wrap sections-wrap <?php $this->_c('acm-topbar') ?>">
    <jdoc:include type="modules" name="<?php $this->_p('acm-topbar') ?>" style="raw" />
    </div>
    <?php endif ?>

    + Go to Admin site -> Template Manager -> Uber template -> click eye icon if you want to hide it into iPhone/Android phone users

    thefc_uk Friend
    #575354

    Thanks Nija Lead 🙂

    thefc_uk Friend
    #641684

    Thanks Nija Lead 🙂

Viewing 15 posts - 1 through 15 (of 24 total)

This topic contains 24 replies, has 4 voices, and was last updated by  Ninja Lead 9 years, 4 months ago.

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