| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
moving tabs to search bar | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
![]() How can i move the home page tabs at the top of the home page to the search bar just below!!
__________________
X-Cart version 4.4.5 PHP 5.2.13 MySQL server 5.0.51a-community-log MySQL client 5.0.51a Web server Apache/2.2.8 (Unix) mod_ssl/2.2.8 Operation system Linux Perl 5.008008 http://temptinglysexy.co.uk |
|||||||||
#2
|
|||||||
|
|||||||
![]() The tabs are an include in head tpl. They are actually in a template called customer/top_menu.tpl. Move the chunk of code out of customer/top_menu.tpl into the speed bar of head.tpl
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||||
|
|||||||||
![]() Bing a little thick could you show me how to with some mre text please
__________________
X-Cart version 4.4.5 PHP 5.2.13 MySQL server 5.0.51a-community-log MySQL client 5.0.51a Web server Apache/2.2.8 (Unix) mod_ssl/2.2.8 Operation system Linux Perl 5.008008 http://temptinglysexy.co.uk |
|||||||||
#4
|
|||||||
|
|||||||
![]() Here's a sample of an edited head.tpl to give you an idea
look around the {include file="customer/top_menu.tpl"} Note: I have actually moved the search box in this example so that it sits above what used to be the search bar and now in the bottom right of the header background (underneath where the tabs used to sit at the top right) Code:
NOTE: If you use from this example, you may want to remove the lines {******** commented out to remove white space between search bar and side menus - moved printable topics into product.tpl instead **** and **** Remove this line to leave printable topics within head.tpl********} as otherwise your "printable version" link will disappear and everything will be pushd right up to the search bar and look untidy, unless you call the spacing or printable version in a table at the top of other templates (note: I've only included this example rather than a step-by-step as I'm new to this and doing things by trial and error)
__________________
Version 4.0.17 |
|||||||
#5
|
|||||||||
|
|||||||||
![]() cheers job done thanks
__________________
X-Cart version 4.4.5 PHP 5.2.13 MySQL server 5.0.51a-community-log MySQL client 5.0.51a Web server Apache/2.2.8 (Unix) mod_ssl/2.2.8 Operation system Linux Perl 5.008008 http://temptinglysexy.co.uk |
|||||||||
|
|||
X-Cart forums © 2001-2020
|