-
AuthorPosts
-
thefc_uk Friend
thefc_uk
- Join date:
- May 2007
- Posts:
- 143
- Downloads:
- 89
- Uploads:
- 15
- Thanks:
- 55
- Thanked:
- 20 times in 2 posts
June 23, 2015 at 6:35 pm #207780Hi
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 Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
thefc_uk Friendthefc_uk
- Join date:
- May 2007
- Posts:
- 143
- Downloads:
- 89
- Uploads:
- 15
- Thanks:
- 55
- Thanked:
- 20 times in 2 posts
June 24, 2015 at 7:54 am #575332Thanks 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
Stuartthefc_uk Friendthefc_uk
- Join date:
- May 2007
- Posts:
- 143
- Downloads:
- 89
- Uploads:
- 15
- Thanks:
- 55
- Thanked:
- 20 times in 2 posts
June 24, 2015 at 7:54 am #641662Thanks 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
Stuartthefc_uk Friendthefc_uk
- Join date:
- May 2007
- Posts:
- 143
- Downloads:
- 89
- Uploads:
- 15
- Thanks:
- 55
- Thanked:
- 20 times in 2 posts
June 24, 2015 at 7:54 am #740324Thanks 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
Stuartpavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
June 24, 2015 at 8:00 am #575334Hi
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 Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
June 24, 2015 at 8:00 am #641664Hi
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 Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
June 24, 2015 at 8:00 am #740326Hi
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 ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
June 24, 2015 at 8:51 am #575347You 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 ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
June 24, 2015 at 8:51 am #641677You 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 ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
June 24, 2015 at 8:51 am #740339You 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 Friendthefc_uk
- Join date:
- May 2007
- Posts:
- 143
- Downloads:
- 89
- Uploads:
- 15
- Thanks:
- 55
- Thanked:
- 20 times in 2 posts
June 24, 2015 at 9:48 am #575354Thanks Nija Lead 🙂
thefc_uk Friendthefc_uk
- Join date:
- May 2007
- Posts:
- 143
- Downloads:
- 89
- Uploads:
- 15
- Thanks:
- 55
- Thanked:
- 20 times in 2 posts
June 24, 2015 at 9:48 am #641684Thanks Nija Lead 🙂
AuthorPostsThis 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
Jump to forum