If you'd like to change the tree structure, you'll have to build your own loadMembers class and register that instead of the existing one (Register = add/update entry in db)
For the member editing part, that's an aspx page (members/editMember.aspx), so part of the code could be reused... although it would be a great idea to create your own aspx page and set the reference from your loadMembers class, as is done in the existing loadMembers class
Have a look at the source code for loadMembers and editMember.aspx and you'll soon get the idea.
Thanks - I have got the editmember.aspx - so can get on with that but I am not sure what you mean by:
If you'd like to change the tree structure, you'll have to build your own loadMembers class and register that instead of the existing one (Register = add/update entry in db)
Where is teh loadmember class? and what does Register = add/update entry in db - do I need to look at a certain table in the DB?
After reading your post, I was thinking you'd like to change the way members are presented in the "Members" tree in the "Members" section. If this is not the case, then ignore my ramblings about loadMembers class etc...
If you do want to change that, then you'd need to implement your own 'tree building' method...
Change the member display in V4
Hi - I would like to change how the members are displayed in the tree view within the members section.
I have the Member's login name as their email so - the email address is being display - I would like their Name (last, first) to be displayed instead.
Also in the Member property tab - you have
Name
Created by
Created
Id
Login
Password
Email
The name field is again displaying the username (therefore email) can I change this to display the name of the member?
thanks
S
You could probably create your own Tree load methods for membership and simply replace the assembly and type in the DB. umbracoAppTree I think.
(Sorry - I haven't done much Tree modding.)
Hi,
Casey's right...
If you'd like to change the tree structure, you'll have to build your own loadMembers class and register that instead of the existing one (Register = add/update entry in db)
For the member editing part, that's an aspx page (members/editMember.aspx), so part of the code could be reused... although it would be a great idea to create your own aspx page and set the reference from your loadMembers class, as is done in the existing loadMembers class
Have a look at the source code for loadMembers and editMember.aspx and you'll soon get the idea.
Good luck.
Thanks - I have got the editmember.aspx - so can get on with that but I am not sure what you mean by:
If you'd like to change the tree structure, you'll have to build your own loadMembers class and register that instead of the existing one (Register = add/update entry in db)
Where is teh loadmember class? and what does Register = add/update entry in db - do I need to look at a certain table in the DB?
Sorry if these are obvious questions....
thanks so much for helping though.
S
Hi,
After reading your post, I was thinking you'd like to change the way members are presented in the "Members" tree in the "Members" section. If this is not the case, then ignore my ramblings about loadMembers class etc...
If you do want to change that, then you'd need to implement your own 'tree building' method...
Does that clarify things?
Regards,
/Dirk
Yeah I think so I have had a look at the source so should get something working. thanks
This article
http://www.simm.dk/umbraco-corner/articles/making-custom-sections-and-trees-inside-umbraco---part-ii.aspx
can help you understand what Dirk mean
Petr
is working on a reply...