Guest toosweets Posted October 11, 2005 Share Posted October 11, 2005 I was wondering if anyone found out how to remove the text at to bottom of the main catagory. Under the picture on the bottom. "There are no products in this category." example Quote Link to comment Share on other sites More sharing options...
markscarts Posted October 11, 2005 Share Posted October 11, 2005 Two ways to deal with this - go to language/en/lang.inc.php and search the file for There are no products in this category, and change it to say what you prefer. Or, go to skins/your_skin/styleTemplates/content/viewCat.tpl and find the following code: <!-- BEGIN: noProducts --> <div>{TXT_NO_PRODUCTS}</div> <!-- END: noProducts --> REPLACE with this: <!-- BEGIN: noProducts --> <!-- <div>{TXT_NO_PRODUCTS}</div> --> <!-- END: noProducts --> Quote Link to comment Share on other sites More sharing options...
Guest toosweets Posted October 11, 2005 Share Posted October 11, 2005 ty for the fast reply, and that worked great. Did the first option and just replaced with spaces.... Quote Link to comment Share on other sites More sharing options...
Guest toosweets Posted October 11, 2005 Share Posted October 11, 2005 ok, now is it possible to move the catorgory picture above the subcatagory? Quote Link to comment Share on other sites More sharing options...
markscarts Posted October 11, 2005 Share Posted October 11, 2005 hmmm, if you want it to disappear, the second option is better. First option would be if you'd rather it say something different, like"To see our products please choose a subcategory above." Of course it works for you . . . but if you ever upgrade the cart the lang.inc.php file may get overwritten. The second method turns it off in your skin by putting it between comment tags <!-- and --> so that if you ever wanted it back, or wanted to say something else in that space, you could put it back by removing those tags - and in the skin rather than the program's language file, it's unlikely you'll ever have to overwrite the file. Just a li'l food for thought. Glad to help :dizzy: Quote Link to comment Share on other sites More sharing options...
markscarts Posted October 11, 2005 Share Posted October 11, 2005 ok, now is it possible to move the catorgory picture above the subcatagory? Sure, which skin are you using? The answer to that is in the second file I posted about, viewCat.tpl OK, you've got the Killer skin. OPEN skins/Killer/styleTemplates/viewCat.tpl, you'll see this code: <!-- BEGIN: view_cat --> <div class="boxContent"> <span class="txtContentTitle">{TXT_CAT_TITLE}</span> <br clear="all" /> <!-- BEGIN: sub_cats --> <div id="subCats"> <!-- BEGIN: sub_cats_loop --> <span class="subCat"> <a href="index.php?act=viewCat&catId={TXT_LINK_CATID}" class="txtDefault"><img src="{IMG_CATEGORY}" border="0" alt="{TXT_CATEGORY}" /></a><br /> <a href="index.php?act=viewCat&catId={TXT_LINK_CATID}" class="txtDefault">{TXT_CATEGORY}</a> ({NO_PRODUCTS}) </span> <!-- END: sub_cats_loop --> </div> <!-- END: sub_cats --> <br clear="left" /> <!-- BEGIN: cat_img --> <img src="{IMG_CURENT_CATEGORY}" border="0" alt="{TXT_CURENT_CATEGORY}" /> <!-- END: cat_img --> <div><strong>{LANG_CURRENT_DIR}</strong> {CURRENT_DIR}</div> <div class="pagination">{PAGINATION}</div> <!-- BEGIN: productTable --> <table border="0" width="100%" cellspacing="0" cellpadding="3" class="tblList"> <tr> <td class="tdListTitle"><strong>{LANG_IMAGE}</strong></td> <td class="tdListTitle"><strong>{LANG_DESC}</strong></td> <td class="tdListTitle"><strong>{LANG_PRICE}</strong></td> <td class="tdListTitle"> </td> </tr> The part in red displays the category image. You need to cut & paste, move it up like this: <!-- BEGIN: view_cat --> <div class="boxContent"> <span class="txtContentTitle">{TXT_CAT_TITLE}</span> <br clear="all" /> <!-- BEGIN: cat_img --> <img src="{IMG_CURENT_CATEGORY}" border="0" alt="{TXT_CURENT_CATEGORY}" /> <!-- END: cat_img --> <br clear="all" /> <!-- BEGIN: sub_cats --> <div id="subCats"> <!-- BEGIN: sub_cats_loop --> <span class="subCat"> <a href="index.php?act=viewCat&catId={TXT_LINK_CATID}" class="txtDefault"><img src="{IMG_CATEGORY}" border="0" alt="{TXT_CATEGORY}" /></a><br /> <a href="index.php?act=viewCat&catId={TXT_LINK_CATID}" class="txtDefault">{TXT_CATEGORY}</a> ({NO_PRODUCTS}) </span> <!-- END: sub_cats_loop --> </div> <!-- END: sub_cats --> <br clear="left" /> <div><strong>{LANG_CURRENT_DIR}</strong> {CURRENT_DIR}</div> <div class="pagination">{PAGINATION}</div> <!-- BEGIN: productTable --> <table border="0" width="100%" cellspacing="0" cellpadding="3" class="tblList"> <tr> <td class="tdListTitle"><strong>{LANG_IMAGE}</strong></td> <td class="tdListTitle"><strong>{LANG_DESC}</strong></td> <td class="tdListTitle"><strong>{LANG_PRICE}</strong></td> <td class="tdListTitle"> </td> </tr> I added a <br clear="all" /> when I moved it. May not be necessary, I'd have to test it to see :dizzy: Quote Link to comment Share on other sites More sharing options...
Guest toosweets Posted October 11, 2005 Share Posted October 11, 2005 for now it will be the legend , but will use killer in later time By the way thank on the infor from before again, and if you didnt't notice thanks for the line. I liked it so much that i'm using it.... :dizzy: Quote Link to comment Share on other sites More sharing options...
markscarts Posted October 11, 2005 Share Posted October 11, 2005 OK, I went to your link and saw the Killer after I posted. Instructions above. Basically the same in all the skins . . . go with the principle of the thang :lol: Quote Link to comment Share on other sites More sharing options...
Guest toosweets Posted October 11, 2005 Share Posted October 11, 2005 yea, sorry about checking out logos on different one and types out there. Thank alot i should be able to get around better with this. ty. :lol: Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.