Bullets in Sitemap? NO!

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.
Locked
slloyd
Forum Members
Forum Members
Posts: 195
Joined: Mon Apr 24, 2006 9:09 pm

Bullets in Sitemap? NO!

Post 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
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: Bullets in Sitemap? NO!

Post 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
slloyd
Forum Members
Forum Members
Posts: 195
Joined: Mon Apr 24, 2006 9:09 pm

Re: Bullets in Sitemap? NO!

Post by slloyd »

How can I fix it when all I've used is the code

Code: Select all

{ sitemap }
?
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Bullets in Sitemap? NO!

Post 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...
slloyd
Forum Members
Forum Members
Posts: 195
Joined: Mon Apr 24, 2006 9:09 pm

Re: Bullets in Sitemap? NO!

Post 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?
Dee
Power Poster
Power Poster
Posts: 1197
Joined: Sun Mar 19, 2006 8:46 pm

Re: Bullets in Sitemap? NO!

Post 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
slloyd
Forum Members
Forum Members
Posts: 195
Joined: Mon Apr 24, 2006 9:09 pm

Re: Bullets in Sitemap? NO!

Post by slloyd »

Thanks, Dee.
sonictrip
Forum Members
Forum Members
Posts: 99
Joined: Thu Jan 24, 2008 4:11 pm

Re: Bullets in Sitemap? NO!

Post by sonictrip »

How would you include links in the sitemap page that are not on the menu?
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Bullets in Sitemap? NO!

Post by Dr.CSS »

Read the bolded words below, the part about a tag...
sonictrip
Forum Members
Forum Members
Posts: 99
Joined: Thu Jan 24, 2008 4:11 pm

Re: Bullets in Sitemap? NO!

Post 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...
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Bullets in Sitemap? NO!

Post 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).
sonictrip
Forum Members
Forum Members
Posts: 99
Joined: Thu Jan 24, 2008 4:11 pm

Re: Bullets in Sitemap? NO!

Post 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
Locked

Return to “CMSMS Core”