#1
I am using the category builder and it is currently producing the menu as a nested unordered list.
In this format (I have added the line spacing for clarity).



I can see from the code that DC has done some ninja magic and created all of the menu items as unordered list, removing the ul tags with a string replace where the menu item has a value greater than 0.

I have tried to modify the code to reproduce the output to match the following without success.

#2
Hi Martin,

I see you got the tags working in the code snippets ?

Is this the category builder from the module market or SCA?
#3
Hi DaFa, yes the is the Category builder from the Module Market.
I am currently using the '_draw_category_nav' and the 'fix' methods to get the results I have posted. But I have only just realised that there is a _append_sub_categories method which will create the child items.
#4
Does this mean you have solved the issue?
#5
Hi Dafa,
No, I have not fixed the issue. I will back track a bit as there are a couple of different issues.
After downloading the Category Builder (CB) I could not style the menu which the module created.
I want to style the menu with just css only without JavaScript, so I spent some time trying to style the menu as it was produced by the CB, in the end I copied the menu code generated by the CB module to a separate file to isolate it from everything else, to work on it.
I could only get the css styling to work by moving one of the closing </li>, see below.


So I then trying to get the CB to output the code in correct format or better still in a format I originally posted.
This is why I said the there I as a couple of things; either css code that works with the code as the CB generates it or the CB outputting the desired code.
#6
Hi DC thanks I can make the call tonight.