Page 1 of 1

Bullets in Sitemap? NO!

Posted: Tue Jan 09, 2007 6:10 pm
by slloyd
For some reason, my parties writer has bullets in front of some of her sitemap pages. Can you please take a look and tell me how I can fix it?

http://parties.preschoolrock.com/index.php/sitemap

Re: Bullets in Sitemap? NO!

Posted: Tue Jan 09, 2007 6:58 pm
by RonnyK
It seems that that selection goes back one level to high. The source shows the following



This leads to a two level higher hierarchy while only one level up is required. If you check the content, you'll be able to delete the first two lines of the above quote.

Ronny

Re: Bullets in Sitemap? NO!

Posted: Tue Jan 09, 2007 9:29 pm
by slloyd
How can I fix it when all I've used is the code

Code: Select all

{ sitemap }
?

Re: Bullets in Sitemap? NO!

Posted: Tue Jan 09, 2007 10:49 pm
by Dr.CSS
If you are looking for a site map structured the same as the menu just add {menu} to the content edit box where you put the {sitemap} tag and it will have the same info as a menu...

Then  .mainInfo ul {list-style:none} in the CSS should get rid of the bullets...

Re: Bullets in Sitemap? NO!

Posted: Tue Jan 09, 2007 11:39 pm
by slloyd
Well, using the menu tag fixed it, but the other did not. Thanks, Mark!

So what's the difference between the menu tag and the sitemap tag?

Re: Bullets in Sitemap? NO!

Posted: Tue Jan 09, 2007 11:45 pm
by Dee
slloyd wrote: So what's the difference between the menu tag and the sitemap tag?
Basically, the {sitemap} tag is a simple plugin and the {menu} tag calls the MenuManager module (which makes it much more customizable, you could use a menu template for the sitemap etc).

Regards,
D

Re: Bullets in Sitemap? NO!

Posted: Tue Jan 09, 2007 11:49 pm
by slloyd
Thanks, Dee.

Re: Bullets in Sitemap? NO!

Posted: Sun Feb 17, 2008 10:21 pm
by sonictrip
How would you include links in the sitemap page that are not on the menu?

Re: Bullets in Sitemap? NO!

Posted: Mon Feb 18, 2008 3:59 am
by Dr.CSS
Read the bolded words below, the part about a tag...

Re: Bullets in Sitemap? NO!

Posted: Fri Feb 22, 2008 4:25 pm
by sonictrip
Thanks Mark, i tried that already... all it says in the help file about parameters is this:
(optional) lang="en_US" - Parameter is used to specify what language to use for display on the frontend. Not all modules support or need this.
I cant see anything about using the sitemap to link ALL pages in the CMS instead of just the menu links... So i just hardcoded it til i figure this out...

Re: Bullets in Sitemap? NO!

Posted: Fri Feb 22, 2008 11:27 pm
by Dr.CSS
Which ver. of CNSMS are you using, this is what mine says...

Help for the sitemap tag
What does this do?

Prints out a sitemap.
How do I use it?

Just insert the tag into your template/page like: {sitemap}
What parameters does it take?

    * (optional) class - A css_class for the ul-tag which includes the complete sitemap.
    * (optional) start_element - The hierarchy of your element (ie : 1.2 or 3.5.1 for example). This parameter sets the root of the menu. You can use the page alias instead of hierarchy.
    * (optional) number_of_levels - An integer, the number of levels you want to show in your menu. Should be set to 2 using a delimiter.
    * (optional) delimiter - Text to separate entries not on depth 1 of the sitemap (i.e. 1.1, 1.2). This is helpful for showing entries on depth 2 beside each other (using css display:inline).
    * (optional) initial 1/0 - If set to 1, begin also the first entries not on depth 1 with a delimiter (i.e. 1.1, 2.1).
    * (optional) relative 1/0 - We are not going to show current page (with the sitemap) - we'll show only his childs.
    * (optional) showall 1/0 - We are going to show all pages if showall is enabled, else we'll only show pages with active menu entries.  <I'm thinking this is the one,, showall="1"...
    * (optional) add_elements - A comma separated list of alias names which will be added to the shown pages with active menu entries (showall not enabled).

Re: Bullets in Sitemap? NO!

Posted: Mon Mar 03, 2008 3:39 pm
by sonictrip
That's great, thanks mark, exactly what i needed! :)

The version of CMSMS im using is v1.2.3 with Sitemap Made Simple (doesnt say which version) which doesnt have the parameters list that you list, the parameters are working though so thats great, thanks!  ;D