We moved to new unified forum!

Please post all new support queries in our New Forum.

T3 Community Discussion & Support

Let's build the best free Joomla template framework, together!
  1. Lee Tempest
  2. Sherlock Holmes
  3. General Discussion
  4. Thursday, 05 February 2015
  5.  Subscribe via email
Hello,
I have customised my header.php file to include two new module locations:


<?php if ($this->countModules('head-right')) : ?>
<!-- LANGUAGE SWITCHER -->
<div class="languageswitcherload">
<jdoc:include type="modules" name="<?php $this->_p('head-middle') ?>" style="raw" />
<jdoc:include type="modules" name="<?php $this->_p('head-right') ?>" style="raw" />
</div>
<!-- //LANGUAGE SWITCHER -->
<?php endif ?>


However when I view the Responsive layout settings I cannot hide these modules as I can with others as the 'eye' icon is not visible. See attached screenshot.

How can I have the eye option on these module locations?

Thanks

Lee
Attachments (1)
Comment
There are no comments made yet.
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Lee,

To enable the option in responsive configuration, please add this to the class "<?php $this->_c('languageswitcherload') ?>" of the module position. In your case, please

Replace:

<?php if ($this->countModules('head-right')) : ?>


With:

<div class="languageswitcherload <?php $this->_c('languageswitcherload') ?>">


Regards.
Comment
There are no comments made yet.
  1. more than a month ago
  2. General Discussion
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
Dear Gardner,
Thanks for that, I have modified my code. The eye icon is now showing and I can click it on the responsive layout settings to hide as required. One issue though is when I then Save in the Template Editor, it does not appear to save the hidden settings and the eye icon remains in the visible state.

Thanks

Lee
Comment
There are no comments made yet.
  1. more than a month ago
  2. General Discussion
  3. # 2
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Lee,

Does the issue happen with other positions or just the new created one?
Comment
There are no comments made yet.
  1. more than a month ago
  2. General Discussion
  3. # 3
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Lee,

Please change the "<?php $this->_p" with "<?php $this->_c" and check again.

Regards.
Comment
There are no comments made yet.
  1. more than a month ago
  2. General Discussion
  3. # 4
Accepted Answer Pending Moderation
0
Votes
Undo
Gardner,
It appears that the positions I have added do not retain the hide / show setting when I save the page. Yet when I hide a position that already existed it does retain the setting.
This is the code I have for my module:

<div class="col-xs-12 col-sm-8 col-md-8 footer">
<jdoc:include type="modules" name="<?php $this->_p('footer-1') ?>" style="raw" />
</div>
<div class="col-xs-12 col-sm-4 col-md-4 locations">
<jdoc:include type="modules" name="<?php $this->_p('footer-2') ?>" style="T3Xhtml" />
</div>


Lee
Comment
There are no comments made yet.
  1. more than a month ago
  2. General Discussion
  3. # 5
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.