Skip to content

dart-creations.com

Advertisement
Home arrow Forums
Print E-mail

#70 - Create a Joomla Site Map using Native Menus

In terms of creating a user friendly / accessible site, one of the best things you can do is create a good sitemap in your website. This allows your users to be able to quickly access any part of your site. There are loads of extensions which allow you to create Sitemaps, but did you know you could create a neat site map without requiring any extension?

The menu module already does everything we need: it's essentially a tree with all the items in the system. All we need to do is make it look like a component.

  1. Create a new article called 'Sitemap'. In the body, type { loadposition sitemap } and save it.
  2. Make a new menu item called Sitemap, and point it to the article.
  3. In the module manager, make a new Menu module. Set 'Menu name' to the menu you want to display as a sitemap.
  4. In the position box, type 'Sitemap'. Obviously this refers to the position we used earlier in the {loadposition...} tag
  5. Make sure you set 'Always show submenu items' and 'Expand menu' to yes, and save.
  6. Add more modules for each menu
  7. You should now have a nice sitemap in the frontend.You can style it with CSS or if you're creative, you can add some folding using javascript.
This tip comes courtesy of JoomlaTools.eu
Comments
Search RSS
ravirajce  - Superb     |122.170.21.xxx |2009-08-29 16:42:32
Thanks for this.it is nice.It creates dynamic sitemap for your site.Really
helpfull to me.

Thanks
skatemore  - Nice Sitemap tutorial     |99.155.18.xxx |2009-11-24 13:58:02
Thanks so much for the sitemap tutorial, it was written well and is really
useful! I'll use this feature on all my Joomla client sites.
Only registered users can write comments!

3.26 Copyright (C) 2008 Compojoom.com / Copyright (C) 2007 Alain Georgette / Copyright (C) 2006 Frantisek Hliva. All rights reserved."

 

Buy us a beer!

If we've helped you, consider buying a beer €3. It will inspire us to keep on giving! Cheers!

Sponsors

Login Form






Lost Password?
No account yet? Register

Pagerank
Generated in 0.31286 Seconds