Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • conforturis Friend
    #195649

    Hi
    Where is the code that you have created the module follow us?
    For I can build this functionality in the template JA university that does not have follow us

    pavit Moderator
    #526129

    Hi

    The follow us module on Ja Argo have settings in php and then css

    First you need to create a position for it as you can see in header.php file of the template JA Argo

    <?php if ($this->countModules('followus') || $this->countModules('login')) : ?>
    <!-- USER, FOLLOW US -->
    <div class="head-social">
    <ul class="nav">
    <?php if($this->countModules('followus')): ?>
    <li class="dropdown parent nav-connect">
    <a data-toggle="dropdown" href="#" class=" dropdown-toggle">
    <i class="icon-plus"></i><?php echo JText::_('TPL_FOLLOWUS') ?>
    </a>
    <div class="nav-child dropdown-menu">
    <div class="dropdown-menu-inner">
    <jdoc:include type="modules" name="<?php $this->_p('followus') ?>" style="T3Xhtml" />
    </div>
    </div>
    </li>
    <?php endif; ?>
    <?php if($this->countModules('login')): ?>
    <?php $user = JFactory::getUser(); ?>
    <li class="dropdown parent nav-user<?php echo ((!$user->get('guest')) ? ' logged' : ''); ?>">
    <a data-toggle="dropdown" href="#" class=" dropdown-toggle">
    <i class="icon-user"></i>
    <?php echo ((!$user->get('guest')) ? '<span class="uname">' . $user->get('name') . '</span>' : JText::_('TPL_USER')); ?>
    </a>
    <div class="nav-child dropdown-menu">
    <div class="dropdown-menu-inner">
    <jdoc:include type="modules" name="<?php $this->_p('login') ?>" style="T3Xhtml" />
    </div>
    </div>
    </li>
    <?php endif; ?>
    </ul>
    </div>
    <!-- //USER, FOLLOW US -->

    After you need to customize the position with some css styles

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

This topic contains 2 replies, has 2 voices, and was last updated by  pavit 10 years, 8 months ago.

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