Linking profile page to nav tab

Forum
Last Post
Threads / Messages

GeneticAlpha

Loving Mysidia!
Member
Joined
May 24, 2020
Messages
287
Points
18
Age
31
Location
Tennessee
Mysidian Dollar
13,377
So, I'm trying to make a tab in the navigation drop-down that is a user's profile and link the profile page to that tab instead of having to go into your account to click the profile link every time. How do I link it though? I've tried view, profile, profile/view, but it's wanting me to add the user's username, but I need it to work for everyone. Is this possible?
 
In general you can create navlinks easily with admin control panel, but this is a bit tricky since the profile page uses the user's username by default which is a dynamic value that changes for each user.



To achieve this, the simplest solution is to create an arbitrary link like http://yoursite.com/profile/myprofile to http://yoursite.com/profile/view/{your username}.
 
In general you can create navlinks easily with admin control panel, but this is a bit tricky since the profile page uses the user's username by default which is a dynamic value that changes for each user.



To achieve this, the simplest solution is to create an arbitrary link like http://yoursite.com/profile/myprofile to http://yoursite.com/profile/view/{your username}.

Thank you. Turns out I was just using urls wrong lol.
 

Similar threads

Users who are viewing this thread

  • Forum Contains New Posts
  • Forum Contains No New Posts

Forum statistics

Threads
4,277
Messages
33,119
Members
1,602
Latest member
BerrieMilk
BETA

Latest Threads

Top