Sir,
I have developed a site in Drupal.
I have six header menus as follows.
Head1 Head2 Head3 Head4 Head5 Head6
I have created a site map using the site map option given by Druapl.
But I am getting the output not as per the client requirement.
I want the site map in the following format, when I click the sitemap which is set in the Navigation

Site Map

Head1 Head2 Head3
• Level 2 • Level 2 • Level 2
• Level 2 • Level 2 • Level 2
• Level 2 • Level 2 • Level 2
• Level 2 • Level 2 • Level 2

Head1 Head1 Head1
•Level 2 • Level 2 • Level 2
•Level 2 • Level 2 • Level 2
• Level 2 • Level 2 • Level 2
• Level 2 • Level 2 • Level 2

Nothing other than level1 and level2 menus isrequired in the sitemap.
Please note that there aer 4 items each under each main menus(Level1) menus
Please help me with some sample code to customise this in the required manner.
Please tell me the correct forum name , if I have posted in the wrong forum.
Please help me urgently.
regds,jm

Comments

cmsproducer’s picture

Assuming that you have your content in some structured system (taxonomy, Books etc), you can use VIEWS to output what you want and theme it to get what your client wants.

-----
iDonny Productions: Web CMS and UI/UX Design, Development & Web Standards

ethanre’s picture

I have the exact same question. My XML sitemap has URLs that I do not want indexed by search engines. I use robots.xml to prevent indexing but I rather not list these in the sitemap to begin with. All the URLs i dont want included belong to one Node type.

I'm not sure how I could use Views to create a custom sitemap.
It would be nice if the sitemap module would allow to prevent the inclusion of a certain Node type.

Any advice is appreciated.

Thanks

ethanre’s picture

I found how to exclude taxonomy term URLs from the sitemap. Here's how you block a taxonomy URL from being included into the xml sitemap:

Go to Admin > content > taxonomy -> edit your term or your vocabulary
On the Edit page: Scroll to the bottom
Set "Site map priority" to "not in site map"

You don't really need to exclude node types.. You get get everything done using taxonomy.

You could also use your .htaccess file to restrict visibility of paths you don't want people to see.

Thanks
Ethan
UsefulTalk

ethanre’s picture

To exclude 'all nodes' from being included in the xml sitemap, you can de-activate the "XML Sitemap: Node" module, Keep the main module "XML Sitemap" active and if you want taxonomy included in the sitemap activate the "XML Sitemap: Term" module.

Thanks
Ethan
UsefulTalk