Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Help making category menu horizontal ?


Acknowledeged74

Recommended Posts

Hi

 

Hopefully you can help.

 

I want to make the category menu horizontal i.e. like a standard website menu along the top, rather than in the sidebar.

 

I have found http://www.oscommerce.com/community/contributions,7406/page,42 but frankly I really don't get its instructions at all.

 

Any pointers in the right direction, whether this is the right method aswell would be massively appreciated.

 

Many thanks

 

Ashley

 

--

Link to comment
Share on other sites

Hi

 

I'm surprised this isn't a fairly common issue ?

 

for instance the instructions say:

 

Upload

superfish.css to catalog.

Upload

cat_navbar.php to catalog/templates/your_templatemodules.

 

Looking at my ftp file for Os commerce there isn't a templates folder, only

 

Download

ext

pub

cache

admin

includes

images

 

? ?

Link to comment
Share on other sites

Upload

superfish.css to catalog.

Upload

cat_navbar.php to catalog/templates/your_templatemodules.

 

OK so I've uploaded this to the ftp, next:

 

" open includes/header.php find:

<div id="header-breadcrumbs"> "

 

there isn't ' div id="header-breadcrumbs" ' anywhere I can see?

 

Next:

 

Open includes/application_top.php

 

change:

 

$stylesheet='<link rel="stylesheet" type="text/css" href="templates/'.$template_name.'/stylesheet.css"/>

';

 

Ok this doesn't exist in this location either?

 

Maybe I' missing the point here but I can't see this stuff, if anyone can spare the time I would really appreciate it.

 

thanks

Link to comment
Share on other sites

http://addons.oscommerce.com/info/7263

http://addons.oscommerce.com/info/7403

 

You need to install those first.

 

I wouldn't bother as all these are flawed.

 

Go to 2.3.1 and install any menu system you like.

 

 

thanks Burt for reply, really appreciate you taking the time. I haven't used OS for a year or so (As I'm sure is obvious), very rusty.

 

in

 

/one_folder_templates_install_updated.html

 

it asked you to find $stylesheet='<link rel="stylesheet" type="text/css" href="stylesheet.css">'; includes/application_top.php

 

I've try 'find next' and this coding isn't there ?

Link to comment
Share on other sites

You will find the line after you install what Burt said. If you don't install that first you will not find any of the mentioned lines

 

okidoki, trying to run before I can walk a little sorry. :blush:

 

I've just reinstalled the store so I can start again, its now 2.3.1 does that change things ?

 

In http://addons.oscommerce.com/info/7263 there are 12 different 'History' uploads do i need to start from the oldest and install them all ?

Link to comment
Share on other sites

This addon is not made for version 2.3.1 but for 2.2rc2a. To be honest you also don't need that in the latest osCommerce version. I also don't suggest to start using the old version just because of the menu you want

 

All you need is he superfish css and js, to link to them in includes/template_top.php and a category structure as an unordered list. You can take the original addon as a base and modify it a bit.

Link to comment
Share on other sites

Mulitmixer

 

Funny I have exactly the same problem.

 

'All you need is he superfish css and js, to link to them in includes/template_top.php and a category structure as an unordered list. You can take the original addon as a base and modify it a bit. '

 

I've downloaded http://www.oscommerce.com/community/contributions,7406/page,42

 

then uploaded superfish.css to the Catalog, along with the js folder which has the files ._superfish.js and ._query-1.4.2.min.js

 

Um sorry where do I go from there ?

 

Thx

 

Con

Link to comment
Share on other sites

Mulitmixer

 

Funny I have exactly the same problem.

 

'All you need is he superfish css and js, to link to them in includes/template_top.php and a category structure as an unordered list. You can take the original addon as a base and modify it a bit. '

 

I've downloaded http://www.oscommerce.com/community/contributions,7406/page,42

 

then uploaded superfish.css to the Catalog, along with the js folder which has the files ._superfish.js and ._query-1.4.2.min.js

 

Ok so I've added:

 

<script type="text/javascript" src="js/._jquery-1.4.2.min.js"></script>

<script type="text/javascript" src="js/._superfish.js"></script>

 

<link rel="stylesheet" type="text/css" href="superfish.css" />

 

to includes/template_top.php, leaving everything as it was.

 

Um sorry where do I go from there not sure how to make the category structure as an unordered list, or using the original addons ?

 

Thx

 

Con

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...