Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Menu Help


RichS

Recommended Posts

Hello,

this is my first post here.

 

I'm having a little trouble with a menu. I have built a CSS flyout style menu.

However I have found that if the menu gets too big the string is cut at the top, which breaks the menu.

 

I've had a search around the forum but have not had any luck in finding an answer.

 

If the number of menu items is small enough its no problem.

 

eg, The following is a short sample of the code,

 

<ul>

<li>item 1</li>

<li>item 2</li>

<li>item 3

<ul>

<li>item a</li>

<li>item b</li>

</ull>

</li>

</ul>

 

if it gets too long the start of the string gets lost ..

 

<li>item 2</li>

<li>item 3

<ul>

<li>item a</li>

<li>item b</li>

</ull>

</li>

<li>item 4</li>

</ul>

 

 

I am using a clean install of osCommerce v2.2 and the STS template contribution.

 

Is there a limit to the length of the categories string? Can this be extended?

 

Any one know whats going on?

 

 

Thanks,

Rich

Link to comment
Share on other sites

Hello,

this is my first post here.

 

I'm having a little trouble with a menu. I have built a CSS flyout style menu.

However I have found that if the menu gets too big the string is cut at the top, which breaks the menu.

 

I've had a search around the forum but have not had any luck in finding an answer.

 

If the number of menu items is small enough its no problem.

 

eg, The following is a short sample of the code,

 

<ul>

<li>item 1</li>

<li>item 2</li>

<li>item 3

<ul>

<li>item a</li>

<li>item b</li>

</ull>

</li>

</ul>

 

if it gets too long the start of the string gets lost ..

 

<li>item 2</li>

<li>item 3

<ul>

<li>item a</li>

<li>item b</li>

</ull>

</li>

<li>item 4</li>

</ul>

I am using a clean install of osCommerce v2.2 and the STS template contribution.

 

Is there a limit to the length of the categories string? Can this be extended?

 

Any one know whats going on?

Thanks,

Rich

There is a limit to the length of the categories string, which is set in the database on the categories_name field of the categories_description table... However, that doesn't look like the problem you're having here... It looks like your names are outputting just fine, but getting lost, unless you're setting that html block as the actual categories_name... is that the case?

 

Richard.

Richard Lindsey

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...