test melih
 melih
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • skhn123 Friend
    #195803

    Hello,
    i am trying to customize t3 blank template and its going very well because of T3 framework (thanks for such great extension) but i want to ask how can i add a module position like JA Magz top bar it has login form, search etc and it open as dropdown. so 1: how can i add position like those and 2: how to open the module in lightbox / modalbox instead of dropdown.

    please tell me if there any solution.

    Thanks
    Sadique

    Ninja Lead Moderator
    #527287

    Hi Sadique,

    If possible, please send me URL of your site and the screenshot with description what you like to achieve. I will give you suggestion then.

    skhn123 Friend
    #527300

    🙂 Hello Ninja lead!

    thanks for replying, actually i want to make something like this.

    In screenshot_2.jpg (taken from JA Magz) there is login & search icon in top bar in right side. so now imagine when someone click on that icon (suppose on login icon) it will pop up a login module in modal box. which you can see in screenshot_4.jpg.

    and sorry i am currently working on localhost.


    1. Screenshot_2
    2. Screenshot_4
    Ninja Lead Moderator
    #527586

    The modal box is available in t3 blank template, you can add new position to this templates/t3_bs3_blank/tpls/blocks/header.php file.

    For instance:

    + Add login position into the header.php file as follows:


    <!-- LOGIN -->
    <?php if($this->countModules('login')): ?>
    <?php $user = JFactory::getUser(); ?>
    <li class="dropdown 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')) ? '' : JText::_('')); ?>
    </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; ?>
    <!-- //LOGIN -->

    + Go to Admin site -> Create a new login module and assign it with login position.

    Hope that helps.

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

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

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