• Resolved ndjworldnews

    (@ndjworldnews)


    Hi;
    I have a member site. When a member logs in he/she sees a snap summary of his/her info at the top of the sidebar. That snap summary includes a link to the member’s profile. If the member clicks on that link the snap summary in the sidebar is replaced by something else (no need for the summary since the member is at his/her profile page).

    So far so good. In that same sidebar I also have a list of new members. When clicking on a their link it routes them to their profile in view mode only. What I am trying to accomplish is for the snap summary of the logged in member to stay in the sidebar when he/she clicks on the profile link of another member.

    How can I accomplish this? Is it possible to analyze the link being clicked on and store the author’s name into a variable and then compare it with the actual author name or id?

    A long post, so sorry. Any suggestions?

    Thank you much

    Lode

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Every page can call current_user() and generate the summary. You can use a plugin like Dynamic Widgets to control which pages a widget is output on. That logic can be part of the summary.

    Thread Starter ndjworldnews

    (@ndjworldnews)

    Hi Joy;

    Thanks for the response. I will give your recommendation a try.

    All the best;

    Lode

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Track the content of a link’ is closed to new replies.