Guest sachie Posted October 21, 2005 Share Posted October 21, 2005 Hi all, I did a search for this but could not find anything related. Is it possible to add a second row of catagories in the Killer skin? I need this because I have quite a few catagories to add and they will make the page very wide. Thanks in advance Sachie Quote Link to comment Share on other sites More sharing options...
roban Posted October 21, 2005 Share Posted October 21, 2005 With some coding, yes it is definitely possible. You have to create a new class in layout.css, plus new versions of categories.php, viewcat.php, changing the names to something like categories1.php, etc and then incuding them in your index.tpl. Then there's the admin area to add it to so you can add categories and products. A bit of work. Definitely not a freebie. Quote Link to comment Share on other sites More sharing options...
goober999 Posted October 22, 2005 Share Posted October 22, 2005 Or you can download one for free here http://www.alexgoldberg.com/cubemods This Killer skin mod will display top level categories in the top row and second level categories in the second row. If that works for you, then you just got lucky. Good Luck /Goober Quote Link to comment Share on other sites More sharing options...
Guest Posted October 22, 2005 Share Posted October 22, 2005 Hey Alex, don't be bogartin my crazy smiley now. :w00t: Quote Link to comment Share on other sites More sharing options...
roban Posted October 22, 2005 Share Posted October 22, 2005 Someone just got lucky. Nice one Alex. Quote Link to comment Share on other sites More sharing options...
Guest sachie Posted October 22, 2005 Share Posted October 22, 2005 Thanks Alex your a star mate! I would offer money but the site hasn't yet launched but once it does I'll be sure to remember you for helping me out. Thanks Sachie Quote Link to comment Share on other sites More sharing options...
Guest sachie Posted October 22, 2005 Share Posted October 22, 2005 Hi Alex, I might be an idiot vut I am currently getting this error: MySQL Error Occured 1064: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'SELECT cat_id FROM store1_CubeCart_category WHERE cat_father_id ---------- QUERY = SELECT cat_name, cat_id FROM store1_CubeCart_category WHERE cat_father_id in (SELECT cat_id FROM store1_CubeCart_category WHERE cat_father_id = 0) ORDER BY cat_name ---------- Don't suppose younow whats causing the error. Is the mod compatible with 3.04? Cheers Sachie Quote Link to comment Share on other sites More sharing options...
goober999 Posted October 22, 2005 Share Posted October 22, 2005 Hi, This is MySQL compatibility problem, bummer I downgraded the mod code to be more campatible with MySQL. Download and reinstall the mod. Let me know how it works out. thanks /Goober Quote Link to comment Share on other sites More sharing options...
markscarts Posted October 22, 2005 Share Posted October 22, 2005 Hey Goober, I don't find a "buy" "Add to cart" or "Download" link for that mod at your site. Also, I need to purchase the usergroup mod - is the site functioning for all that? If not, please PM instructions :) Quote Link to comment Share on other sites More sharing options...
Guest vrakas Posted October 22, 2005 Share Posted October 22, 2005 I cant find the d/l link, OK who ever stole it bring it back. LOL :) Quote Link to comment Share on other sites More sharing options...
Guest idara Posted October 22, 2005 Share Posted October 22, 2005 I promise I didn't stole it, I JUST downloaded it when the link was there but I want to download it again as there is some compatibility issue So plz bring the link back goober Yunus Quote Link to comment Share on other sites More sharing options...
goober999 Posted October 22, 2005 Share Posted October 22, 2005 Sorry, guys.... I took a slow pill this morning. the link is back /Goober Quote Link to comment Share on other sites More sharing options...
Guest idara Posted October 22, 2005 Share Posted October 22, 2005 Thanks goober for the download link hope you have updated mod ? :) Quote Link to comment Share on other sites More sharing options...
goober999 Posted October 22, 2005 Share Posted October 22, 2005 Thanks goober for the download link hope you have updated mod ? Yes, I did update the link Please let me know if it works. MySQL on my server supported nested SQL statements so can't replicate the error above. Thanks /Goober Quote Link to comment Share on other sites More sharing options...
markscarts Posted October 23, 2005 Share Posted October 23, 2005 Thanx Goob, Got bof'em! :rolleyes: Quote Link to comment Share on other sites More sharing options...
Guest sachie Posted October 23, 2005 Share Posted October 23, 2005 Hi goober, Installed the mod and all working now. All I need to do now is sort out my sub catagories. Thanks again goober its really appreciated. Sachie Quote Link to comment Share on other sites More sharing options...
Guest sachie Posted October 23, 2005 Share Posted October 23, 2005 Hi goober, just one thing.... As I have the same sub catagories for each of the main catagories. Is it posible to have the mod for the second row only to look at one of the main catagories to get the second row? Cheers Sachie btw my site is here: Quote Link to comment Share on other sites More sharing options...
Guest vrakas Posted October 23, 2005 Share Posted October 23, 2005 So the owner kept it safe. lol Thanks for this excelent mod :) Quote Link to comment Share on other sites More sharing options...
Guest sachie Posted October 23, 2005 Share Posted October 23, 2005 I'm just wondering if the parent catagory id can be coded into the catagories.inc.php file for the second row. So that it only pulls sub catagories from that id rather than all of them. I have tried a few thing but not had any luck. Mind you I am a complete newbie whenit comes to php. Could you reccommend a good book to start learning? cheers sachie Quote Link to comment Share on other sites More sharing options...
goober999 Posted October 23, 2005 Share Posted October 23, 2005 I'm just wondering if the parent catagory id can be coded into the catagories.inc.php file for the second row. So that it only pulls sub catagories from that id rather than all of them. I have tried a few thing but not had any luck. Mind you I am a complete newbie whenit comes to php. Could you reccommend a good book to start learning? cheers sachie Sachie, just replace the second row query statement on line 78 with this$results = $db->select("SELECT cat_name, cat_id FROM ".$glob['dbprefix']."CubeCart_category WHERE cat_father_id = 0"); Replace the 0 with the id of any category that would be used to pull subcategories for second row. /Goober Quote Link to comment Share on other sites More sharing options...
Guest sachie Posted October 23, 2005 Share Posted October 23, 2005 Thanks goober!!!! It did the trick! Thanks a lot mate! Quote Link to comment Share on other sites More sharing options...
Guest speak2stv Posted November 7, 2005 Share Posted November 7, 2005 Hey, Goober. I have two categories that have sub-categories. If I say, "WHERE cat_father_id in ($father_cats)", I get all the sub-categories. However, I'd rather have the subcategories display only when the main category is pressed (similar to a drop down box). For example, in my case, if "Breads" is pressed, I'd like to have the second category show on the 2nd line with the sub-categories/types of breads. Same thing for a different sub-category, "Empanadas." If I have both subcategories showing at the same time, it gets confusing. Any ideas how to go about setting this up? Am I missing something? Example: www.bakery1.com Thanks in advance for any help you can provide! -speak2stv Quote Link to comment Share on other sites More sharing options...
goober999 Posted November 22, 2005 Share Posted November 22, 2005 Hi all, I did a search for this but could not find anything related. Is it possible to add a second row of catagories in the Killer skin? I need this because I have quite a few catagories to add and they will make the page very wide. Thanks in advance Sachie Hi all, I just created, and uploaded to the downloads section, a new take on the double row of categories mod for the "Killer" skin. This new mod will break up the top level categories on two rows. The mod has a variable that can be set to control the number of tabs for the first row with the rest of the tabs going to the second row. The mod is available in the "Downloads" section of this forum or on my website here Let me know what you think. Thanks /Goober Quote Link to comment Share on other sites More sharing options...
Guest sachie Posted November 22, 2005 Share Posted November 22, 2005 Hi goober999, Thanks alot for this, I'm going to give it a try and let you know the outcome. Thanks again Sachie Quote Link to comment Share on other sites More sharing options...
Guest idara Posted November 24, 2005 Share Posted November 24, 2005 Hi Goober I am using the Killer skin mod that display top level categories in the top row and second level categories in the second row (ur first mod). It is working fine ! BUT When I select other skin "Classic or Legend" the top level categories are vanished, only Home Page is displayed at the left Shop by Category box, any help ? using CC v3.0.6 Regards Yunus 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.