-
AuthorPosts
-
March 15, 2014 at 7:36 am #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
Ninja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
March 19, 2014 at 6:03 am #527287Hi 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.
March 19, 2014 at 7:58 am #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.
-
Ninja Lead
Moderator
Ninja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
March 21, 2014 at 7:28 am #527586The 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.
-
AuthorPosts
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
Jump to forum

