We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

User Module: Editing member links

Development and Programming

dsloan's avatar
dsloan
48 posts
16 years ago
dsloan's avatar dsloan

I’m trying to create a hyperlink on each member in a listing in order to enable that user to be edited, but can’t seem to make the link between the hyperlink and the edit form populated with the correct details. I’m using the Solspace User module.

The admin/view_member path is specific to my app.

In the member listing the code is as follows, and works fine.

<

pre>{exp:user:users orderby="total_entries" sort="desc" dynamic_parameters="yes"} <a href="http://{path=">{username}</a> {/exp:user:users}

In my subsequent view_member page the code is as follows, but isn’t picking up the specific member. I’ve also tried passing through the username/email but that doesn’t work either.

{exp:user:edit}
{member_first_name} {member_surname}
{/exp:user:edit}

Where I achieve the same thing with weblog entries I pass through the url_title, but this doesn’t apply with member records. Any ideas?

Thanks, Diarmid

[Mod Edit: Moved to the Modules: Discussion and Questions forum]

       
dsloan's avatar
dsloan
48 posts
16 years ago
dsloan's avatar dsloan

Some of this code has been altered when submitted - the href path link should be “admin/view_member/{member_id}”

I’ve also noticed that the code I have submitted for the second section should be

{exp:user:edit member_id="{segment_3}"}

…

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.