| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
How to change order of Tabs??? | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
How to change order of Tabs???
Can anyone point me in the right direction and to where to look.? I want to change the order in which the tabs appear in the products tab menu pictured below.. i.e. put 'Detailed Image" as the default tab to appear ontop.
Many thanks Nick
__________________
4.1.9 X-Magnifier X-FAQ's Manager Skin-'Fashion Mosaic' Links Manager Meta Tag Pro A-O-M RSS Feed SnS Live Help Marketing Manager Pro Banner Manager |
|||||||
#2
|
|||||||||
|
|||||||||
Re: How to change order of Tabs???
Is this for 4.4.1? The only way to do this is to modify the tabs template and move them around the way you want them to appear. Use webmaster mode to find out which template exactly
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
#3
|
|||||||
|
|||||||
Re: How to change order of Tabs???
Hi
Thanks, it is 4.4 and i have located the tab.tpl (as below) but which part of the code determines the order? Or may be another way to do it is to alter the default tab to be shown as open on entering page? What we want to achieve is the detailed image to be showing first. {* $Id: ui_tabs.tpl,v 1.5 2010/07/29 14:07:41 igoryan Exp $ vim: set ts=2 sw=2 sts=2 et: *} <script type="text/javascript"> //<![CDATA[ $(function() {ldelim} var tOpts = {ldelim} idPrefix: '{$prefix|default:"ui-tabs-"}', cookie: {ldelim} expires: 1 {rdelim}{if $selected}, selected: '{$selected}'{/if} {rdelim}; $('#{$prefix}container').tabs(tOpts); {rdelim}); //]]> </script> <div id="{$prefix}container"> <ul> {foreach from=$tabs item=tab key=ind} {inc value=$ind assign="ti"} <li><a href="{if $tab.url}{$tab.url|amp}{else}#{$prefix}{$tab.ancho r|default:$ti}{/if}">{$tab.title|escape}</a></li> {/foreach} </ul> {foreach from=$tabs item=tab key=ind} {if $tab.tpl} {inc value=$ind assign="ti"} <div id="{$prefix}{$tab.anchor|default:$ti}"> {include file=$tab.tpl nodialog=true} </div> {/if} {/foreach} </div>
__________________
4.1.9 X-Magnifier X-FAQ's Manager Skin-'Fashion Mosaic' Links Manager Meta Tag Pro A-O-M RSS Feed SnS Live Help Marketing Manager Pro Banner Manager |
|||||||
#4
|
|||||||||
|
|||||||||
Re: How to change order of Tabs???
It should be a php file. I don't have XC installed in my location, but if nobody will ask you I will send you the right name by tonight.
__________________
X-Cart Next: Business 5.2 (learning and testing) X-Cart Classic: Gold and Gold Plus 4.7 Lots of Modules and Customizations OS in use: Red Hat Enterprise, Fedora, CentOS, Debian, Ubuntu, Linux Mint, Kali Linux Ideas for Server configuration (basicaly): Nginx/Pound (reverse proxy), Apache/Nginx (webserver), Squid/Varnish (cache server), HHVM or (PHP-FPM + PHP 5.6 + opcache), MariaDB/Percona MySQL Server, Redis (storing sessions) You can catch my ideas here: http://ideas.x-cart.com |
|||||||||
#5
|
|||||||
|
|||||||
Re: How to change order of Tabs???
Quote:
Yup, thats the job. Found order in "includes/products_tabs.php" Many thanks
__________________
4.1.9 X-Magnifier X-FAQ's Manager Skin-'Fashion Mosaic' Links Manager Meta Tag Pro A-O-M RSS Feed SnS Live Help Marketing Manager Pro Banner Manager |
|||||||
#6
|
|||||||||
|
|||||||||
Re: How to change order of Tabs???
You can create in that php file other tabs and based on smarty if statement you can present different content. for example some extra fields like awards, technology, youtube videos.
I know it is hard coded by manually you can fulfill your dreams. Hope QT will take in consideration one of my requests to create easier tabs in the next versions. Just hope.
__________________
X-Cart Next: Business 5.2 (learning and testing) X-Cart Classic: Gold and Gold Plus 4.7 Lots of Modules and Customizations OS in use: Red Hat Enterprise, Fedora, CentOS, Debian, Ubuntu, Linux Mint, Kali Linux Ideas for Server configuration (basicaly): Nginx/Pound (reverse proxy), Apache/Nginx (webserver), Squid/Varnish (cache server), HHVM or (PHP-FPM + PHP 5.6 + opcache), MariaDB/Percona MySQL Server, Redis (storing sessions) You can catch my ideas here: http://ideas.x-cart.com |
|||||||||
|
|||
X-Cart forums © 2001-2020
|