Extra <ul> in bulletmenu and site map

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
psy
Power Poster
Power Poster
Posts: 463
Joined: Sat Jan 22, 2005 11:19 am

Extra <ul> in bulletmenu and site map

Post by psy »

I'm sure it must be something in the site structure as the bulletmenu and sitemap plugins give the same result - an extra unordered list tag... ie:

Code: Select all

<div class="bulletmenu">

<ul>
<li><a href="http://www.karingalequestrian.com.au/index.php?page=home">Home</a></li>
<li><a href="http://www.karingalequestrian.com.au/index.php?page=about">About Us</a></ul>
<div class="sectionheader">Services</div>
<ul>

<ul>
<li><a href="http://www.karingalequestrian.com.au/index.php?page=Agistment">Agistment</a></li>
<li><a href="http://www.karingalequestrian.com.au/index.php?page=Breeding">Breeding</a></li>
<li><a href="http://www.karingalequestrian.com.au/index.php?page=Tuition">Tuition</a></ul>
<div class="sectionheader">For Sale</div>

<ul>
</li>
<li><a href="http://www.karingalequestrian.com.au/index.php?page=Horses">Horses</a>
<ul>
<li><a href="http://www.karingalequestrian.com.au/index.php?page=Shanghai">Karingal Shanghai</a>
</li>
</ul>
</li>
<li><a href="http://www.karingalequestrian.com.au/index.php?page=Supplies">Supplies</a>
</li>
</ul>
</li>
<li><a href="http://www.karingalequestrian.com.au/index.php?page=Links">Links</a></li>

<li><a href="http://www.karingalequestrian.com.au/index.php?page=Contact">Contact</a></li></ul></div>


after the "Services" section header.  This throws out the list menu display.

Actually looking at it more closely I notice that there are also several list items missing the closing list item tag, ie

Code: Select all

</li>
This can't be right, surely.  Any ideas how to fix?
Thx
psy
Crafty
Forum Members
Forum Members
Posts: 19
Joined: Mon Sep 24, 2007 10:14 pm

Re: Extra <ul> in bulletmenu and site map

Post by Crafty »

Was there not an answer for this?

I took a peek at the template files and the programming and logic are beyond my expertise to fix without risking breaking things worse.

While this is not a biggie function-wise, it does add an extra menu item with no content in it.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: Extra <ul> in bulletmenu and site map

Post by calguy1000 »

Bulletmenu has been deprecated since like 2005.... therefore it's not a bug.  People haven't reported this issue in Sitemap in the last year or two so it must be fixed.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
KO
Power Poster
Power Poster
Posts: 562
Joined: Mon Nov 06, 2006 7:55 pm

Re: Extra <ul> in bulletmenu and site map

Post by KO »

Are you using section header as container for some pages and then "start_level=2"?
This could confuse even current menu templates.

br,K
Crafty
Forum Members
Forum Members
Posts: 19
Joined: Mon Sep 24, 2007 10:14 pm

Re: Extra <ul> in bulletmenu and site map

Post by Crafty »

Hmm, it appears to have been a separator that I had played with when I first installed CMSMS. With the Andreas03 template the separator looks like an empty menu item rather than a bar. Guess I'll have to play with that style some before using it.

I've used CMS-type software before to build 2 directories, but this one is so very different in the way it does things. Please bear with my newbie questions.
psy
Power Poster
Power Poster
Posts: 463
Joined: Sat Jan 22, 2005 11:19 am

[solved]Re: Extra <ul> in bulletmenu and site map

Post by psy »

Hi

I posted the original question 12mths ago and as the first response came 2mths later, I must have fixed it myself.  However it was so long ago I don't remember what I did!

Anyway, thanks for advising that the bulletmenu plugin is deprecrated even though it still ships with the core application - I guess that's for backward compatibility.  I wasn't aware that I shouldn't be using it and have it in nearly all my CMSMS sites.  I will upgrade them to {sitemap}.

Cheers
psy
User avatar
kermit
Power Poster
Power Poster
Posts: 693
Joined: Thu Jan 26, 2006 11:46 am

Re: [solved]Re: Extra <ul> in bulletmenu and site map

Post by kermit »

psy wrote: I posted the original question 12mths ago and as the first response came 2mths later, I must have fixed it myself.  However it was so long ago I don't remember what I did!

Anyway, thanks for advising that the bulletmenu plugin is deprecrated even though it still ships with the core application - I guess that's for backward compatibility.  I wasn't aware that I shouldn't be using it and have it in nearly all my CMSMS sites.  I will upgrade them to {sitemap}.
the function.bulletmenu.php that ships with 1.3 onward is just an 'empty' php file; just there to, in effect, delete an existing file on upgrades...  and i hate to be the bearer of bad news, but currently {sitemap} is on the chopping block as well.....  >:(
eternity (n); 1. infinite time, 2. a seemingly long or endless time, 3. the length of time it takes a frozen pizza to cook when you're starving.
4,930,000,000 (n); 1. a very large number, 2. the approximate world population in 1986 when Microsoft Corp issued its IPO. 3. Microsoft's net profit (USD) for the quarter (3 months) ending 31 March 2007.
CMSMS migration and setup services | Hosting with CMSMS installed and ready to go | PM me for Info
Post Reply

Return to “CMSMS Core”