Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Umbraco v4,vista.
Hey there.
I have a site that im trying to make.
the members of the site are to have 4 properties
Company BuildingApartmentRenter
these will also be their user ID - all four combined (like = 01 - 03 - 104 - 1206)
now i would just like to know how to use these values by assigning them to the umbraco member property (if possible)
like so.
user is logged in.
Compagny value = 01 then it pulls out info from my company databaseBuilding value = 03 pulls out info from building database.etc...etc..
what is the best way to assign specific data to a member? i would think you could use the properties that you can make to the member.`
i hope you have some advice for me regarding this.
Hi Jan,
Aaron Powell wrote a great blogpost about this topic. You'll find it here
Cheers,
Richard
Thank you richard for response. ive been toying with it now.
but im stuck at setting up the webconfig.
i put the details into System.web
returns this error -
CS0246: Typen eller navneområdenavnet 'UmbracoMemberDemo' kunne ikke findes (mangler der et 'using'-direktiv eller en assemblyreference?)
so it cant fint UmbracoMemberDemo ?
also im unsure about this
Using the Profile
String FirstName = ((MemberProfile)httpContext.Current.Profile).FistName;
(also think its misspelled FistName from FirstName)
where would this be placed?
he mentions he just makes a user control without backend code so cant be there?.
very sorry for my newbieness hope you got an answer for me :D
well i figure it out - about the web config bit
but now it says that
The type or namespace name 'var' could not be found (missing a 'using' directive or an assemblyreference?
which i found out was because Using.System.Linq wasent there.
but then adding that to it - caused it to say that system.Ling isent there
(running under 2.0 net, instead of 3.5 net) doesent umbraco v4 only run under 2.0 `? (because i have installed 3.5 on my computer)i tried adding
<add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
to the web.config and that fixed the problem of the missing System.Linq but the
error still remains..
quite clueless as you might have detected)
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
Member Property usage
Umbraco v4,vista.
Hey there.
I have a site that im trying to make.
the members of the site are to have 4 properties
Company
Building
Apartment
Renter
these will also be their user ID - all four combined (like = 01 - 03 - 104 - 1206)
now i would just like to know how to use these values by assigning them to the umbraco member property (if possible)
like so.
user is logged in.
Compagny value = 01 then it pulls out info from my company database
Building value = 03 pulls out info from building database.
etc...
etc..
what is the best way to assign specific data to a member? i would think you could use the properties that you can make to the member.`
i hope you have some advice for me regarding this.
Hi Jan,
Aaron Powell wrote a great blogpost about this topic. You'll find it here
Cheers,
Richard
Thank you richard for response. ive been toying with it now.
but im stuck at setting up the webconfig.
i put the details into System.web
returns this error -
CS0246: Typen eller navneområdenavnet 'UmbracoMemberDemo' kunne ikke findes (mangler der et 'using'-direktiv eller en assemblyreference?)
so it cant fint UmbracoMemberDemo ?
also im unsure about this
Using the Profile
String FirstName = ((MemberProfile)httpContext.Current.Profile).FistName;
(also think its misspelled FistName from FirstName)
where would this be placed?
he mentions he just makes a user control without backend code so cant be there?.
very sorry for my newbieness hope you got an answer for me :D
well i figure it out - about the web config bit
but now it says that
The type or namespace name 'var' could not be found (missing a 'using' directive or an assemblyreference?
which i found out was because Using.System.Linq wasent there.
but then adding that to it - caused it to say that system.Ling isent there
(running under 2.0 net, instead of 3.5 net) doesent umbraco v4 only run under 2.0 `? (because i have installed 3.5 on my computer)
i tried adding
<add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
to the web.config and that fixed the problem of the missing System.Linq but the
The type or namespace name 'var' could not be found (missing a 'using' directive or an assemblyreference?
error still remains..
quite clueless as you might have detected)
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.