I developed an importer to move members from one site (none umbraco) to a new one. I had an xslt file that was displaying information correctly until after imported all the new members. now i cant get the member properties to display correctly:
wow nice trick! well it shows me the right values are there under the correctly named properties. ive noticed if im logged in (so member is being called by GetCurrnetMember instead of the querystring. everything is showing correctly. so the problem lies where im trying to called a member thats being called from the querystring. I just cant see it! your code shows me everything is being called just the <value of selects... arent showing it.
well that solves the issue querystring issue, but breaks if you requesting the current member. but i can just change the xslt to suit :-D thanks chris!
Member properties not displaying in xslt
I developed an importer to move members from one site (none umbraco) to a new one. I had an xslt file that was displaying information correctly until after imported all the new members. now i cant get the member properties to display correctly:
this line: <h2>
<xsl:value-of select="$mxml"/></h2>
is displaying the member and all the properties as you would expect. but then these lines:
are displaying absolutely nothing...
Use
to check what the returned XML actualy contains.
wow nice trick! well it shows me the right values are there under the correctly named properties. ive noticed if im logged in (so member is being called by GetCurrnetMember instead of the querystring. everything is showing correctly. so the problem lies where im trying to called a member thats being called from the querystring. I just cant see it! your code shows me everything is being called just the <value of selects... arent showing it.
Can you post what the <xsl:copy-of select="$mxml"/> is outputting for the querystring scenario?
<I removed this post for security reason>
first one is for querystring second one is for currentmember
Looks fine, I'm stabbing in the dark here, but try removing the creation of the variables so change the top line to
nope still nothing... im convinced theres an umbraco bug here.
http://our.umbraco.org/forum/developers/xslt/11300-GetMember-not-working-anymore found this. i think this is the problem.
try changing
to
well that solves the issue querystring issue, but breaks if you requesting the current member. but i can just change the xslt to suit :-D thanks chris!
is working on a reply...