display category menu in <ul> format

21 posts by 6 authors in: Forums > CMS Builder
Last Post: August 9, 2010   (RSS)

By design9 - May 10, 2010

I tried this and it still doesn't fix it. Still get the errors.

Do you know of anything else within the code that would be incorrect?

Thanks!

April

Re: [apdance9] display category menu in <ul> format

By Jason - May 11, 2010

Hi April,

If you could email me your CMS login details and FTP information to jason@interactivetools.com I can take a look at it for you.

Please email this information, don't post it to the forum.

Thanks.
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

Re: [Jason] display category menu in <ul> format

By design9 - May 12, 2010

Thanks so much...just emailed it to you.

April

Re: [Jason] display category menu in <ul> format

By design9 - June 23, 2010

Jason,
I have upgraded my CMS and my site map list still doesn't display correctly. Can you help me take a look and see what else I may need? Here is the link to the page: http://www.charlotteparent.com/test/sitemap/index.php

I have also attached the page with coding as well.

Thanks,
April
Attachments:

index_022.php 42K

Re: [apdance9] display category menu in <ul> format

By Jason - June 23, 2010

Hi April,

I think it's just a typo problem in your code. On line 226 you're using this line:
<?php if ($recordd['_hasChild']) { $aClass .= "withChildren "; } ?>

You just need to remove the extra "d" like this:
<?php if ($record['_hasChild']) { $aClass .= "withChildren "; } ?>

That should take care of the problem.

Hope this helps.
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

Re: [Jason] display category menu in <ul> format

By design9 - June 23, 2010

Thanks Jason.

The only issue now is that it doesn't display in the <ul> format. They are all in one list. Example Things to Do and Community are parent categories. and listings underneath are child categories...I want it to display like so:

Things to Do
Calendar
Getting Out
Our Events
Travel
Seasonal Fun
Summer Camps
Parties

Community
Blogs
Forums
Photo Gallery
Polls
Dads
Contests

Do I need to add the additional html/css or coding?

April

Re: [apdance9] display category menu in <ul> format

By Jason - June 23, 2010 - edited: June 23, 2010

Hi April,

You just need to format your css. The list elements are being output correctly (for example, calendar, getting out, etc, are part of a nested list inside the <li> tag for Things to Do).

I think what you need to do is change your css for handling <ul> and <li> tags inside an <li> tag.

Hope this helps.
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

Re: [Jason] display category menu in <ul> format

By design9 - June 23, 2010

Great...that is what I thought...just wanted to be sure there was no additional coding I needed.

Thanks for your help!

April

Re: [apdance9] display category menu in <ul> format

By design9 - August 7, 2010

I am still having a little trouble getting my site map to output exactly like I want. I can't get it to display like I want with adjusting just my css.

I want it to look like the ex. below and then have it carry over into two columns instead of one long column.

ex:
Home
Things To Do
* Calendar
* Getting Out
* Our Events
* Travel
* Seasonal Fun
* Summer Camps
* Parties

Here is my page currently:
http://www.charlotteparent.com/test/sitemap/index.php

I have also attached my page.

Thanks!
April
Attachments:

index_025.php 43K