olsonsp4c Posted December 17, 2008 Share Posted December 17, 2008 (edited) This is the support forum for the Simple Categories Menu addon: http://addons.oscommerce.com/info/6422 This will put a very simple horizontal link menu of your top level categories in your header or any other place you might desire for placement. It is EXTREMELY simple, but then, I enjoy simplicity and functionality. One step and you are done. Scott Edited December 17, 2008 by olsonsp4c Quote Addons I've crafted: osC reCaptcha | Live Support phpOnline | Store Mode | Simple Categories Header | Authorize.Net Infobox Package Tracking Plus | USPS Flat Rate Shipping | USPS Shipping Insurance | RapidSSL Infobox Link to comment Share on other sites More sharing options...
usvi4me Posted December 18, 2008 Share Posted December 18, 2008 Would you happen to have a screen shot or a link ? Quote Link to comment Share on other sites More sharing options...
usvi4me Posted December 18, 2008 Share Posted December 18, 2008 Would you happen to have a screen shot or a link ? Thanks Quote Link to comment Share on other sites More sharing options...
spiralspiral Posted January 6, 2009 Share Posted January 6, 2009 hi, i'd like to have manufacturers instead of categories how can i do that? i've changed the first part of code : $manufacturers_query = tep_db_query("select manufacturers_id, manufacturers_name from " . TABLE_MANUFACTURERS . " order by manufacturers_name"); $rows_count = tep_db_num_rows($manufacturers_query); if ($rows_count > 0) { while ($manufacturers = tep_db_fetch_array($manufacturers_query)) { $cat_id[]=$manufacturers[manufacturers_id]; $cat_name[]=$manufacturers[manufacturers_name]; } } but i'm stock now, some help, please Quote Link to comment Share on other sites More sharing options...
olsonsp4c Posted January 6, 2009 Author Share Posted January 6, 2009 hi, i'd like to have manufacturers instead of categories how can i do that? i've changed the first part of code : $manufacturers_query = tep_db_query("select manufacturers_id, manufacturers_name from " . TABLE_MANUFACTURERS . " order by manufacturers_name"); $rows_count = tep_db_num_rows($manufacturers_query); if ($rows_count > 0) { while ($manufacturers = tep_db_fetch_array($manufacturers_query)) { $cat_id[]=$manufacturers[manufacturers_id]; $cat_name[]=$manufacturers[manufacturers_name]; } } but i'm stock now, some help, please Look at the code in my addon: Manufacturers Dropdown Anywhere it should point you in the right direction Scott Quote Addons I've crafted: osC reCaptcha | Live Support phpOnline | Store Mode | Simple Categories Header | Authorize.Net Infobox Package Tracking Plus | USPS Flat Rate Shipping | USPS Shipping Insurance | RapidSSL Infobox Link to comment Share on other sites More sharing options...
spiralspiral Posted January 7, 2009 Share Posted January 7, 2009 Look at the code in my addon: Manufacturers Dropdown Anywhere it should point you in the right direction Scott thanx for your answer but i looked at the code and i really don't know where to start... Quote Link to comment Share on other sites More sharing options...
spiralspiral Posted January 11, 2009 Share Posted January 11, 2009 This is the support forum for the Simple Categories Menu addon: http://addons.oscommerce.com/info/6422 This will put a very simple horizontal link menu of your top level categories in your header or any other place you might desire for placement. It is EXTREMELY simple, but then, I enjoy simplicity and functionality. One step and you are done. Scott hello scott new question : when i log in, the simple menu categorie loose session id how to fix that? thanx Quote Link to comment Share on other sites More sharing options...
olsonsp4c Posted January 11, 2009 Author Share Posted January 11, 2009 hello scott new question : when i log in, the simple menu categorie loose session id how to fix that? thanx I apologize, but it doesn't do this on my store, so if I can't reproduce it, it is difficult to fix. Have you checked to verify that your cookie settings are set up properly in the config... both http and https should read "www.your-domain.com" without the "http://" - some servers might want it ".your-domain.com" or "your-domain.com" too... It might be helpful to know specifically what is happening too. Describe it step by step... Scott Quote Addons I've crafted: osC reCaptcha | Live Support phpOnline | Store Mode | Simple Categories Header | Authorize.Net Infobox Package Tracking Plus | USPS Flat Rate Shipping | USPS Shipping Insurance | RapidSSL Infobox Link to comment Share on other sites More sharing options...
spiralspiral Posted January 17, 2009 Share Posted January 17, 2009 I apologize, but it doesn't do this on my store, so if I can't reproduce it, it is difficult to fix. Have you checked to verify that your cookie settings are set up properly in the config... both http and https should read "www.your-domain.com" without the "http://" - some servers might want it ".your-domain.com" or "your-domain.com" too... It might be helpful to know specifically what is happening too. Describe it step by step... Scott $thanx for your answer i'm in development, so i'm in localhost, but i will try without http:// (it's bit strange, 1st time i hear this, but why not) the thing is :when i log in as a customer, if i click on a caterogy, i loose log off and of course session, it's like if i was clicked on log off i will let you know if it works with the http thing Quote Link to comment Share on other sites More sharing options...
lbretth Posted January 18, 2009 Share Posted January 18, 2009 I've installed your add on and got it working perfectly. I have added a stylesheet class to it which has set the font, size, background etc correctly but for some reason I cannot get the standard text colour to change in line with the CSS at all. Any ideas? Cheers, Luke Quote Link to comment Share on other sites More sharing options...
olsonsp4c Posted January 18, 2009 Author Share Posted January 18, 2009 I've installed your add on and got it working perfectly. I have added a stylesheet class to it which has set the font, size, background etc correctly but for some reason I cannot get the standard text colour to change in line with the CSS at all. Any ideas? Cheers, Luke Post the code for the menu AND the css so I can take a look please... Scott Quote Addons I've crafted: osC reCaptcha | Live Support phpOnline | Store Mode | Simple Categories Header | Authorize.Net Infobox Package Tracking Plus | USPS Flat Rate Shipping | USPS Shipping Insurance | RapidSSL Infobox Link to comment Share on other sites More sharing options...
Guest Posted January 21, 2009 Share Posted January 21, 2009 Hi Scott Can the categories be split across 2 or more lines? My categories are Women's Basques | Women's Bras | Women's Bustiers | Women's Camisoles | Women's G Strings | Women's Panties | Women's Thongs | Men's Boxers | Men's Briefs | Men's T-shirts | Gift Vouchers | Specials Quote Link to comment Share on other sites More sharing options...
olsonsp4c Posted January 21, 2009 Author Share Posted January 21, 2009 Hi Scott Can the categories be split across 2 or more lines? My categories are Women's Basques | Women's Bras | Women's Bustiers | Women's Camisoles | Women's G Strings | Women's Panties | Women's Thongs | Men's Boxers | Men's Briefs | Men's T-shirts | Gift Vouchers | Specials I'm sure that this can be done... It would mean creating a new line using the counter in the loop... if you know you have 9 categories and you want the line break to be after the 4th category then it would be something like: <!-- BOF: Simple Categories Menu //--> <table width="100%" border="0" align="center" cellspacing="0" cellpadding="0"> <tr> <td height="0"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <?php $temp = count($cat_name); for ($t=0; $t<$temp; $t++) { ?> <td align="center"><?php echo '<a href="index.php?cPath=' . $cat_id[$t] . '">' . $cat_name[$t] . '</a>' ?></td> <?php if ($temp == "4") { echo '<br>'; } else { ?> if ($t == ($temp-1)) { } else { ?> <td align="center"> | </td> <?php } } } ?> </tr> </table> </td> </tr> </table> </body> </html> <!-- EOF: Simple Categories Menu //--> This is an idea for you to play around with... Scott Quote Addons I've crafted: osC reCaptcha | Live Support phpOnline | Store Mode | Simple Categories Header | Authorize.Net Infobox Package Tracking Plus | USPS Flat Rate Shipping | USPS Shipping Insurance | RapidSSL Infobox Link to comment Share on other sites More sharing options...
olsonsp4c Posted January 21, 2009 Author Share Posted January 21, 2009 Hi Scott Can the categories be split across 2 or more lines? My categories are Women's Basques | Women's Bras | Women's Bustiers | Women's Camisoles | Women's G Strings | Women's Panties | Women's Thongs | Men's Boxers | Men's Briefs | Men's T-shirts | Gift Vouchers | Specials I'm sure that this can be done... It would mean creating a new line using the counter in the loop... if you know you have 9 categories and you want the line break to be after the 4th category then it would be something like: <!-- BOF: Simple Categories Menu //--> <table width="100%" border="0" align="center" cellspacing="0" cellpadding="0"> <tr> <td height="0"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <?php $temp = count($cat_name); for ($t=0; $t<$temp; $t++) { ?> <td align="center"><?php echo '<a href="index.php?cPath=' . $cat_id[$t] . '">' . $cat_name[$t] . '</a>' ?></td> <?php if ($temp == "4") { echo ' '; } else { ?> if ($t == ($temp-1)) { } else { ?> <td align="center"> | </td> <?php } } } ?> </tr> </table> </td> </tr> </table> </body> </html> <!-- EOF: Simple Categories Menu //--> This is an idea for you to play around with... Scott Quote Addons I've crafted: osC reCaptcha | Live Support phpOnline | Store Mode | Simple Categories Header | Authorize.Net Infobox Package Tracking Plus | USPS Flat Rate Shipping | USPS Shipping Insurance | RapidSSL Infobox Link to comment Share on other sites More sharing options...
VVessel Posted October 22, 2009 Share Posted October 22, 2009 I've installed your add on and got it working perfectly. I have added a stylesheet class to it which has set the font, size, background etc correctly but for some reason I cannot get the standard text colour to change in line with the CSS at all. Any ideas? Cheers, Luke Has somebody a stylesheet class to it? Thanks 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.