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

  • Home
  • SEARCH
  • 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 562133
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T12:31:22+00:00 2026-05-13T12:31:22+00:00

I have a node (node a) with which various other nodes (node b/c/d/e) references.

  • 0

I have a node (node a) with which various other nodes (node b/c/d/e) references.

I can create a view with an argument as the node I’m viewing, (node a), and get a list of the nodes that are referencing that node.

Basically on node a viewing a list of node b-e.

I want to create a views page just for the node references of that node. But how can I pass on the argument to the new page?

Thanks.

Edit: I apologize for the confusing question.

Basically I have a movie node. I have many reviews referencing the movie node.

On the movie node I use argument: content: review_of to get a listing of reviews for that movie.

This is great, but because on the movie node there’s only a few reviews, I need a page where I can see all the reviews per that movie. The question is passing on the argument for the movie from the view block (say, 3 reviews for the movie) to a view page (with all the reviews).

Ideally the url for the views page would be: /movies/movie-name/reviews

I have tried this with relationships as in Owen’s answer, but was not able to make this work.

  • 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-13T12:31:22+00:00Added an answer on May 13, 2026 at 12:31 pm

    If I understand what you’re saying, you’re wanting to create a Views page that allows you to view nodes associated with a parent node (via a CCK Node Reference field)?

    Once you setup your View, you can just pass the nid (or title, or whatever field you choose as your argument), to the URL.

    So, assuming you have a Views page setup at: http://yourinstall.com/related-nodes

    Just pass the argument in: http://yourinstall.com/related-nodes/5

    The above (assuming your relationships / arguments are correct) will show all associated nodes with NID 5.

    Here’s an image of the views configuration I used.

    You’ll note the “path” setting on the views is “movies/%/reviews”. I had two movies “Movie One” and “Movie Two”, with a few reviews on each. You can then use http://yourinstall.com/movies/movie-one/reviews, etc… to see the titles of the reviews.

    edit: Ok, so the clarification of the problem is, you have a Views block which displays a list of Reviews specific to a Movie. As well, you’d like the “more…” link to link to a Views page which display all the Reviews specific to that Movie.

    This is doable via the Views admin, but does involve a bit of PHP code.

    1. Your Views block can be setup similar to the above Views page.
    2. Override your Views block Arguments (Review Of) Node: Title, and under “Action to take if argument is not present”, select “Provide default argument” -> “PHP Code”.
    3. The code you use is:

      if (arg(0) == 'node' && is_numeric(arg(1) ) ) {
        $node = node_load(arg(1) );
        return str_replace(' ', '-', strtolower($node->title) );
      }
      

    In essence, the Views block acts the same (expects a Movie node title), but will use the code above to try pull the title from the URL (note this works fine with path aliases). The Movie node title is placed into the more link as well (see the above image) in the format “movies/[movie-title]/reviews”, which will link to the Views page as expected.

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

Sidebar

Ask A Question

Stats

  • Questions 286k
  • Answers 286k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer When you made your .deb, did you put the necessary… May 13, 2026 at 5:00 pm
  • Editorial Team
    Editorial Team added an answer You need to set the correct content-type <%@ page contentType="text/javascript"… May 13, 2026 at 5:00 pm
  • Editorial Team
    Editorial Team added an answer Instead of using ISession, in Castle ActiveRecord you want SessionScope:… May 13, 2026 at 5:00 pm

Related Questions

I'm using a System.Windows.Forms.DataGrid. It is populated with about 3000 rows and redraws very
I am implementing a tree think of it as a folder structure so I
I have created my own Tree implementation for various reasons and have come up
I'm writing a custom swing component (something completely new, but think JTree or JList).
First, in order to provide full disclosure, I want to point out that this

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.