@ericdmartin
Thank you for sharing this change. It needs also changes on /tmpl/default.php file.
So from start, follow this instructions:
Open ../modules/mod_gk_js_members/tmpl/default.php
and find this fragment
- Code: Select all
<div class="gk_js_tabs_wrap">
<div class="gk_js_tab"><span><?php echo JText::_('NEWEST'); ?></span></div>
<div class="gk_js_tab"><span><?php echo JText::_('ACTIVE'); ?></span></div>
<div class="gk_js_tab"><span><?php echo JText::_('POPULAR'); ?></span></div>
</div>
change to this:
- Code: Select all
<div class="gk_js_tabs_wrap">
<div class="gk_js_tab"><span><?php echo JText::_('POPULAR'); ?></span></div>
<div class="gk_js_tab"><span><?php echo JText::_('NEWEST'); ?></span></div>
<div class="gk_js_tab"><span><?php echo JText::_('ACTIVE'); ?></span></div>
</div>
This will change to order of tabs text.
Now to change the respective order of tab content, open this file ../modules/mod_gk_js_members/helper.php
and find this fragment:
- Code: Select all
// content array
$this->content = array(
'newest' => '',
'active' => '',
'popular' => ''
);
change to
- Code: Select all
// content array
$this->content = array(
'popular' => '',
'active' => '',
'newest' => ''
);
Cheers