Button Path
Hello, I'm looking to make a button to link a member to their profile settings. Can someone help with the correct path to link a button to any members profile edit page.
https://www.cyclemadness.net/page/edit-persons-profile?id=XXXXX
-
-
- · John Curtis
- ·
Thank you Tim but I have that one. I'm looking for "edit profile".
To edit my profile info the path would be /page/edit-persons-profile?id=2998..
I want to make a button that members can click on and it will bring them to their "Edit Profile" page.
-
Why not use any button image with an inserted link attached to button and do all that in a html block, then add that block to their profile page
-
- · Tim
-
·
In reply to Will Monte
- ·
What he needs is the path (link).
-
- · Will Monte
- ·
Correct, i guess something like in the attached picture?
-
- · Tim
-
·
In reply to Will Monte
- ·
Yes, that would be good but the problem is finding the link needed to use for the button. That’s the trouble he is having.
-
- · Will Monte
-
·
In reply to Tim
- ·
I see
-
- · Tim
-
·
In reply to Will Monte
- ·
Sorry... I probably wasn't very clear, but I like your idea!
-
- · Will Monte
-
·
In reply to Tim
- ·
Yes Tim, he can add a link to the button. :)
-
- · John Curtis
- ·
Yes Tim, I already have the buttons i just need a link to point a member to their "Edit Profile" page.
-
- · Tim
-
·
In reply to John Curtis
- ·
Yep, that’s what I was trying to explain to Will. I haven’t been able to figure it out.
-
- · John Curtis
- ·
Now we are on the subject. I would also like to find links (paths) for "Add/Edit Profile Photo" and "Edit Cover Photo". Profile Photo and Cover Photos are pop ups so I'm not sure how to accomplish this either.
What I'm doing is adding a page with all the links so members can find all their stuff in one place.
-
- · Kit Cloudkicker
- ·
In the URL would be..
page.php?i=edit-persons-profile&id={content_id}
Cheers!
-
- · John Curtis
- ·
Thanks Kit Cloudkicker but it's not working for me. Below is the full path I tried but I get "page not found".
https://www.cyclemadness.net/page.php?i=edit-persons-profile&id={content_id}
-
- · Kit Cloudkicker
- ·
How are you creating button... using Navigation module?
-
- · John Curtis
- ·
I'm adding it to a RAW block on a new page.
<style>
.button {
background-color: #042d85;
border: none;
color: white;
padding: 15px 15px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 20px;
margin: 4px 2px;
cursor: pointer;
}
</style>
<center><a href="https://www.cyclemadness.net/page/account-settings-info" class="button">Edit Account</a> <a href="https://www.cyclemadness.net/page/account-settings-email" class="button">Edit Email Address</a> <a href="https://www.cyclemadness.net/page.php?i=edit-persons-profile&id={content_id}" class="button">Edit Profile</a></center>
<center><a href="https://www.cyclemadness.net/page/account-settings-password" class="button">Change Password</a> <a href="https://www.cyclemadness.net/page/notifications-settings" class="button">Edit Notifications</a> <a href="https://www.cyclemadness.net/page/payment-orders" class="button">Processed Orders</a> <a href="https://www.cyclemadness.net/page/payment-sbs-list-my" class="button">My Subscriptions</a></center> -
-
·
LeonidS
- ·
Hello John Curtis !
So what did you get instead of {content_id} of your new page? You may try to change it with {member_id} to check the result.
-
·
LeonidS
-
- · John Curtis
- ·
Thank you LeonidS but same result as {content_id}. "Page not found". Anyone have other ideas?
-
- · Kit Cloudkicker
- ·
It's easier if you use Navigation module.
Add New Menu 'Edit Navigation'
Add New Set to something like 'Edit Settings'
Custom>Edit Settings... click on 0 items
Add New Item
Go ahead and copy from Persons>Person More Actions>Edit Person
The rest, copy such as Edit Account, Edit Email Address, Change Password, etc.
Now, Pages module... whatever page you choose. Add Blocks>Skeletons>menu
Scroll down to Menu, choose Edit Settings.
-
- · Will Monte
- ·
I don't understand why can't the link to the profile settings can't be used with a button?
-
So you have the empty values there instead of digits? Remind me your UNA studio access if the bottom answer will not help you.
-
- · John Curtis
- ·
Tim Burleigh , Will Monte . LeonidS said he will look at this in the morning. I will post the correct path if he can figure it out. Thanks for all the help.
-
Ok, yes please do do. :)
-
- · John Curtis
- ·
Will Monte , LeonidS Said the following..."on this case u will need to create PHP code of this block where you will call functions like bx_get_logged_profile_id() "
-
Will Monte , LeonidS Said the following..."on this case u will need to create PHP code of this block where you will call functions like bx_get_logged_profile_id() "
Hi, i'm still a bit confused, and yes LeonardS does know a lot and he is a good person, but do you just want to add a button on a users page so they can quickly go to their settings?
-
Yes, Something like that. I added a new page with butonns that will bring a member to that new page then members can find all their settings in one place.
-
Yes, Something like that. I added a new page with butonns that will bring a member to that new page then members can find all their settings in one place.
Interesting, i just don't why a link to the settings page inserted into a button using the editor and then adding a block to profile page would not have worked, but the important thing is that you were able to accomplish what you wanted :)
-
Hello Will Monte !
The deal was that dear John Curtis wanted to have this button outside of the menu area where the variables like {content_id} or {member_id} will not work like in the menu way.
-
Hello Will Monte !
The deal was that dear John Curtis wanted to have this button outside of the menu area where the variables like {content_id} or {member_id} will not work like in the menu way.
Oh