X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   category id above category icon (https://forum.x-cart.com/showthread.php?t=17651)

jwilkers 10-31-2005 05:12 PM

category id above category icon
 
I would like to remove the category id that displays above the category icon.

I've got the name of the category embedded in the graphic for the category icon for aesthetic reasons and the category id above it makes it redundant.

Navigation path

Category id <-----want to ditch this,

Category icon

I've been doing great advancing with x-cart, but this one eludes me. Usually it's the simplest stuff for me!

I can't find the correct modification for subcategories.tpl

Thanks

J Dub

Version 4 - Unix

jwilkers 10-31-2005 05:29 PM

nevermind, but
 
I've been tinkering around some more and answered my own question.

Thought I would post it in case it would be of use for any other newbies.

In customer/main/subcategories there is a reference at the bottom of the code where the page calls on "dialog.tpl". In that statement there is a title reference:

{include file="dialog.tpl" title=$current_category.category content=$smarty.capture.dialog extra="width=100%"}

I removed title=$current_category.category, and placed in brackets above the line, commented out, in case I ever needed to go replace it:

{*title=$current_category.category (from line below)*}
{include file="dialog.tpl" content=$smarty.capture.dialog extra="width=100%"}

Probably a pretty amateur fix, but it worked.


All times are GMT -8. The time now is 02:54 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.