Page 1 of 1

Extra <ul> in bulletmenu and site map

Posted: Tue Jul 12, 2005 10:26 am
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

Re: Extra <ul> in bulletmenu and site map

Posted: Wed Sep 26, 2007 8:51 pm
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.

Re: Extra <ul> in bulletmenu and site map

Posted: Wed Sep 26, 2007 10:32 pm
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.

Re: Extra <ul> in bulletmenu and site map

Posted: Thu Sep 27, 2007 8:53 am
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

Re: Extra <ul> in bulletmenu and site map

Posted: Thu Sep 27, 2007 6:55 pm
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.

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

Posted: Mon Jul 07, 2008 3:35 am
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

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

Posted: Mon Jul 07, 2008 4:25 am
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.....  >:(