Home Community Mys-Script Creative Off-Topic |
|
|
Thread Tools | Display Modes |
#1
|
||||
|
||||
Linking profile page to nav tab
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?
__________________
"You try you fail, you try you fail, but the only true failure is if you stop trying. So try again." - Haunted Mansion |
#2
|
||||
|
||||
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}.
__________________
Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site. |
#3
|
||||
|
||||
Quote:
__________________
"You try you fail, you try you fail, but the only true failure is if you stop trying. So try again." - Haunted Mansion |
|
|
What's New? |
What's Hot? |
What's Popular? |