| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Stripping the H1 title from the Categories page 4.1 stream | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() On http://www.shopnaturally.com.au/organic-times.html, the H1 tag with the leaf and the orange text underneath is coded in by hand in the category description. The ORGANIC TIMES just above the product thumbnails is a part of the template.
I'd like to be able to do 1 of 2 things. 1) Have this sit above the category description 2) Strip it out and just code the H1 in by hand While I have found that i can strip it out in the dialog.tpl file, this also removes it from every other static page and product on the website, and I don't want that. I just want to remove it from the category page. I have always thought it a design flaw to have the category description at the top and then the title underneath. Can anyone point me in the right direction to fix this?
__________________
Version 4.1.6 to 4.1.11 |
|||||||
#2
|
|||||||||
|
|||||||||
![]() There's a few ways to do this, but something straightforward would be:
take your dialog.tpl file - and copy it, with a new name, e.g. dialog_cat.tpl Then in dialog_cat.tpl, do the stripping out and changes you want. Then in the template for that category page, where the "capture" ends, and the dialog template is changed, alter it to call the new _cat file. Hope that helps.
__________________
Paul Dodman e-business & m-commerce consultant w: www.luminointernet.com e: xcart@luminointernet.com Professional X-Cart help, advice, support and services, specialists in Mobile X-Cart. |
|||||||||
#3
|
|||||||
|
|||||||
![]() Perfect, thank you. For those playing along at home, the necessary code was in the customer/main/subcategories.tpl file.
__________________
Version 4.1.6 to 4.1.11 |
|||||||
|
|||
X-Cart forums © 2001-2020
|