Closed (outdated)
Project:
XML sitemap
Version:
7.x-2.0-rc1
Component:
xmlsitemap_user.module
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
23 Nov 2012 at 18:33 UTC
Updated:
19 May 2016 at 10:08 UTC
Jump to comment: Most recent
Comments
Comment #1
Anonymous (not verified) commentedHave you enabled xmlsitemap_user? Do anonymous users have the ability to see the user/% link?
Comment #2
theodorosploumisYes I have done that.
I am trying to add the user link for specific user roles that's why I use rules.
Also, the default settings for users is "excluded" from the sitemap.xml.
Comment #3
Anonymous (not verified) commentedI can see a feature request from this as adding the configuration to the roles UI so that specific roles have differing defaults much the same way as differing content types have differing defaults.
As for what you're trying to do, what does the $link['status'] and the $link['access'] have for a value after you call xmlsitemap_user_create_link?
Comment #4
theodorosploumisHow can I see $link['status'] and $link['access'] using the code I already have?
Comment #5
Anonymous (not verified) commentedI usually do something stupid like the below. The devel module has debug methods and procedures to allow you to leave the debug statements in the code if you want to venture with it.
Comment #6
theodorosploumis