Removing items from Sitemap

Post

Posted
Rating:
#2784 (In Topic #500)
Avatar
Standard member
ckgowens is in the usergroup ‘Fan in training’
Is there a way to remove items from appear in the sitemap link on an ad-hoc basis absent using a manually created and edited sitemap? For example, while my site utilizes members, usergroups and catalogs, we don't want the directory listing of them appearing in the sitemap. The sitemap editor in the adminzone doesn't have a means of disabling it from view and advises against moving it to another zone. The add-on editor obviously can't be used to uninstall the items without disabing the feature all together. You can't hide it using CSS since the sitemap branch id assigned to the list items changes each time the page is refreshed. Is there some means of limiting what appears in the sitemap?
Online now: No Back to the top

Post

Posted
Rating:
#2794
Avatar
Site director
Chris Graham is in the usergroup ‘Administrators’
Hello,

You can certainly customise it, but it's not done in terms of removing items, it's done in terms of replacing the use of the automatic Sitemap with your own custom menu.

The sitemap page calls an instance of the 'menu' block to show the Sitemap. You can edit the page to point to your own custom menu editor edited menu instead of the automatic Sitemap.

The menu editor allows you to include nodes from the Sitemap into your own menu so that you can do stuff like including whole content trees in there without ongoing manual editing.


Become a fan of Composr on Facebook or add me as a friend. Add me on on Twitter. Follow me on Minds (where I am most active). Support me on Patreon

Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Online now: No Back to the top

Post

Posted
Rating:
#2795
Avatar
Site director
Chris Graham is in the usergroup ‘Administrators’
Or, you can leave it there and block access using the "Match-key permissions" feature. Block access to the site:members:browse page-link. You can also define a custom error message to show people.


Become a fan of Composr on Facebook or add me as a friend. Add me on on Twitter. Follow me on Minds (where I am most active). Support me on Patreon

Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Online now: No Back to the top
1 guest and 0 members have just viewed this.

Statistics

Users online:

deepu_ms, Manu, Salman, ManojSree, amit.nigam, miracleworx78, Vaiva

Forum statistics:
  • 1,101 topics, 5,301 posts, 6,187 members
  • Our newest member is miracleworx78
Birthdays:
Back to Top