Support Forum

Please note that this forum is only available to you in read only mode. In order to contribute to this conversation you will need to renew your subscription.

ZGF4 adding a module position documentation

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Hi All,
is there any documentation around or in the pipeline on how to add a module position to the new framework?
especially within the mobile area of the .mean-container.mean-bar
or would it be as simple as adding {loadposition} and {loadmodule} in the javascript?!

thanks in advance
  • woodsy's Avatar
  • woodsy
  • LIfetime Developer - Big Bamboo
  • 42 posts
  • 2 Thanks
  • Karma: 1
The administrator has disabled public write access.
Hi

With looking to add a module in the mobile area what are you looking to add?

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
a phone number in the top area
  • woodsy's Avatar
  • woodsy
  • LIfetime Developer - Big Bamboo
  • 42 posts
  • 2 Thanks
  • Karma: 1
The administrator has disabled public write access.
  • woodsy's Avatar
  • woodsy
  • LIfetime Developer - Big Bamboo
  • 42 posts
  • 2 Thanks
  • Karma: 1
The administrator has disabled public write access.
  • woodsy's Avatar
  • woodsy
  • LIfetime Developer - Big Bamboo
  • 42 posts
  • 2 Thanks
  • Karma: 1
The administrator has disabled public write access.
Do you have a link for the site?

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Hi Paul
there is an open ticket
SUPPORT-OM460Z55G5
  • woodsy's Avatar
  • woodsy
  • LIfetime Developer - Big Bamboo
  • 42 posts
  • 2 Thanks
  • Karma: 1
The administrator has disabled public write access.
Thanks I'll check on that one with the team

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
thanks
  • woodsy's Avatar
  • woodsy
  • LIfetime Developer - Big Bamboo
  • 42 posts
  • 2 Thanks
  • Karma: 1
The administrator has disabled public write access.
No problem
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Hi

Following feedback from Anthony :)

in the tmpl/default.php you would add this:

<?php if($zen->is_mobile) { ?>
Enter mobile specific content here
<?php } ?>

and in the block it self it would be:

<?php if($this->is_mobile) { ?>
Enter mobile specific content here
<?php } ?>

you can test for is_mobile or is_tablet

or if its desktop do this
if(!$this->is_mobile || !$this->is_tablet) {
// desktop stuff here
}

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Hi Paul,
thanks for the info
that did not work

there must be a way to get it within the mobile area of the .mean-container.mean-bar

prior to making those changes i had it showing up below the top of the page but when in mobile the mean container made it disappear


thanks
  • woodsy's Avatar
  • woodsy
  • LIfetime Developer - Big Bamboo
  • 42 posts
  • 2 Thanks
  • Karma: 1
Last Edit: 5 years 2 months ago by woodsy.
The administrator has disabled public write access.
That was a different template - is that correct?

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Happy Campers