Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 865779
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T09:41:31+00:00 2026-05-15T09:41:31+00:00

A very standard example of the problem that I am facing is that of

  • 0

A very standard example of the problem that I am facing is that of a custom content say blog type. Now there is a view namely “My Blog Posts”. In that view i take the argument as User:uid. Now, for the link part i simply write the code below:

global $user;
and send $user->uid as the argument to User:Uid.
This give me link for “My Blog Posts” or the blog posts of the logged-in user

What I want is a view like “His Blog Posts”.
So, if i visit the profile of some other user. There should be a tab in his profile “Blog Posts by Me”.

So for that i need to have the UID of the user whose profile I am visiting. So, how can I get this parameter from URL of his profile or somevhere else.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T09:41:32+00:00Added an answer on May 15, 2026 at 9:41 am

    A common way would be to get the parameter from the url if your urls are in the format user/UID you can use arg(1) to get the UID.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This question is very similar to that posed here . My problem is that
This question is sparked by a very frustrating problem that I find is a
I'm facing a very strange problem in my ASP.NET Application. When the user clicks
simple example of the problem: i have an app that can download backgrounds from
I have very basic understanding problem of Content types. I went through lot of
My problem is that when I run a very simple JSF application the EL
IBM is very clear on his Informix Standard Engine, it doesn't support neither CASE
very short question. Is C++ typeof operator standard? de facto standard? which compilers do
Very new to javascript and html-type stuff. I wanted to just make a quick
I have an optimizer that solves a transportation problem, using a cost matrix of

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.