| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Catagory Subheader removal | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Hello, a quick question
![]() Teststore :: TestCatagory TestCatagory // <---- This is what i want removed |-------------------------------------------- | PRODUCTS Sort by: blabla |-------------------------------------------- | | | Basically I see no point in having the top navigation line (which is good) and then have the current catagory name again below it just above the product table.... As the current catagory can be read from the top nav line anway and it looks weird having the same name double all the time... (and wastes space). How can I remove this line ? Which .tlp file do I need to edit ? Thanks!
__________________
Version 4.2 |
|||||||
#2
|
|||||||||
|
|||||||||
![]() What you are referring to is the "title". The problem is, it shows up on all pages, not just in your categories.
Open skin1/customer/main/subcategories.tpl for editing and find .. {include file="dialog.tpl" title=$current_category.category content=$smarty.capture.dialog extra='width="100%"'} Change it to... {include file="dialog.tpl" content=$smarty.capture.dialog extra='width="100%"'} Save and upload. This should make it not display the title. If the title still shows up then the next easiest way to achieve what you want is to make a copy of skin1/dialog.tpl named dialog-blank.tpl (I use "-" instead of "_" so I will know I made it and it is not a x-cart default file). Then, in dialog-blank.tpl find where it says... <tr> <td class="DialogTitle">{$title}</td> </tr> and comment it out so it looks like this... {* <tr> <td class="DialogTitle">{$title}</td> </tr> *} Save it, then upload to skin1/dialog-blank.tpl. Re-open skin1/customer/main/subcategories.tpl for editing and find where you edited... {include file="dialog.tpl" title=$current_category.category content=$smarty.capture.dialog extra='width="100%"'} Change it to... {include file="dialog-blank.tpl" content=$smarty.capture.dialog extra='width="100%"'} Save and upload.
__________________
Two Separate X-Cart Stores Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series. Integrated with Stone Edge Order Manager + POS Version 4.1.12 Gold (fresh install) - X-AOM - Linux Mods - XCSEO free |
|||||||||
#3
|
|||||||
|
|||||||
![]() Tried both methods mentioned, neither work. I am using X-cart 4.2 and my subcategories.tpl file is a little different then what you mentioned, in mine i orignally had:
{include file="customer/dialog.tpl" title=$lng.lbl_products content=`$smarty.capture.dialog` products_sort_url="home.php?cat=`$cat`&"} and changed that into: {include file="customer/dialog.tpl" content=`$smarty.capture.dialog` products_sort_url="home.php?cat=`$cat`&"} The other file was the same as what you mentioned. But commenting out the lines there in combination with the changes i mention above don't erase the title.
__________________
Version 4.2 |
|||||||
#4
|
|||||||
|
|||||||
![]() Please update your signature so that we don't waste our time supplying an answer that doesn't apply to your version.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#5
|
|||||||
|
|||||||
![]() Well I didn't even touch my signature, the forum itself added that there, wouldn't even know how to change it
![]() EDIT: Found where to change it ![]()
__________________
Version 4.2 |
|||||||
#6
|
|||||||||
|
|||||||||
![]() OK, for 4.2 in skin1/customer/main/subcategories.tpl (it is different) find and comment out..
<h1 class="category">{$current_category.category}</h1> or depending how you have your store set up.... <img class="subcategory-image" src="{$current_category.icon_url|amp}" alt="{$current_category.category|escape}"{if $current_category.image_x} width="{$current_category.image_x}"{/if}{if $current_category.image_y} height="{$current_category.image_y}"{/if} />
__________________
Two Separate X-Cart Stores Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series. Integrated with Stone Edge Order Manager + POS Version 4.1.12 Gold (fresh install) - X-AOM - Linux Mods - XCSEO free |
|||||||||
|
|||
X-Cart forums © 2001-2020
|