How to create Dynamic URL for “subscriptions”
You know the links that are avail in the user menu (top right) when logged in? (Activity, Profile, Notifications, etc). All of those links are dynamically created based on the logged in userID.
I wanted to create a few of those shortcuts in a custom link in our main site navigation menu, but I’m unsure what type of code to use to dynamically insert the UserID of the logged in user.
So for example, how can I create a custom link that will populate the users’ ID:
As you can see if you go to:
Under “Discussion Forums” i have some sub-links that show the RSS feed options. It’s under there I wanted to have a custom link for “My Subscriptions & Unread Topics” with that dynamic URL above.
- You must be logged in to reply to this topic.