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 9142997
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T09:54:54+00:00 2026-06-17T09:54:54+00:00

I have drupal view for displaying our classes, we need to print in each

  • 0

I have drupal view for displaying our classes, we need to print in each row the number of students in each class.

Is this applicable in drupal view?

[class name]    [desc.]        [No. of students]
class1          class1 desc    40
  • 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-06-17T09:54:55+00:00Added an answer on June 17, 2026 at 9:54 am

    This kind of view can be created with combination of Nodereference Count and References modules.

    First you need to download and enable these two modules.

    Create a node reference field in student content type which refers to class node.

    Now in class content type create ‘No. of students’ field with ‘Node reference count’ field type to store count of node references in student content type which you will select while configuring this node reference count field.

    Now in your view of class content type you can add ‘No. of students’ field to show number of students which were refereed to this class.

    But this will not work of existing nodes as you have to update these nodes individually or by Views Bulk Operations (VBO) module.

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

Sidebar

Related Questions

I have this html: <div class=speaker-list> <div class=view-content> <div class=views-row views-row-1 views-row-odd views-row-first> <div
Is my drupal 6 views broken? I have this SQL generated from my view
I have a Drupal Views 2 view that returns a number of fields for
I have a view of nodes in drupal. Each node has button which (is
I have a Drupal view that displays vacation leaves for a particular employee. I
I'm using Drupal 6. I have a custom view that needs to be filtered
I have a Drupal setup like this: Content type: Apartments Vocabulary: Areas , that
I have a Drupal 7 site and need to output a small calendar control
I'm a drupal newbie (mean it :) I have a Block, created with View
I have a custom view that I set up in drupal. What I would

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.