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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T14:47:57+00:00 2026-05-17T14:47:57+00:00

currently: i have a page view that is displaying all content that is flagged

  • 0

currently:

i have a page view that is displaying all content that is flagged as “not featured” with a simple CCK dropdown.

the attachment to the view displays all content that is “featured” and is styled to be a little more impressive.

what i’d like to be able to do is have a few, say 3, featured items display at the top in the attached view, and display all content, whether featured or not in the view below, excluding the 3 displayed in the attachment.

what would be the simplest way to achieve this using the Views UI and perhaps a custom module or two if neccessary?

i’m using Drupal 6 and Views 2

  • 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-17T14:47:58+00:00Added an answer on May 17, 2026 at 2:47 pm

    There are multiple ways of doing this. Here are some alternatives

    1. (Using your approach) My understanding is that you are using a CCK Select list field (lets called it FState) which has a state “Featured”. Essentially you need to show items that are featured in the attachment display and show items that are not featured in the page view.
      • In the attachment view you should add a filter which will be Content: FState = Featured. You can do this by choosing the Content group in the Views filter drop down. Choose Content: FState (field_fstate) - Allowed values. Select Featured. Make sure the operator is is one of
      • In the page view do exactly the same thing except make sure the operator is is none of
    2. If I were to do this myself I would use a nodequeue module ( http://drupal.org/project/nodequeue ) for featured content. For my attachment view I would ensure that the items were in the nodequeue and for the page view I would ensure that the items were NOT in the nodequeue (using the correct filter). There is plenty of material available on the internet on using nodequeue and integrating them with views.
    3. Another alternative is to use the Flag Module ( http://drupal.org/project/flag ) though I suspect nodequeue will be a better match for you.

    Edit:
    Based on your comments I understand your requirements better. Perhaps you are mixing some language together that can be potentially confusing to an outsider. When you say “featured” content, that means that the content is shown specially. So it is confusing, perhaps, when you say that “featured” content also appears in the page view along with unfeatured content.

    Anyways in summary here is what I understand what your requirement is now (continuing to use “featured” in the way you mean it)

    1. You have two views: An attachment
      view and a Page View. The attachment
      view is a little bit more
      attractive.
    2. A news article that appears on the attachment view does NOT appear
      on the page view
    3. Lets say the attachment view has space for 4 articles
    4. Occasionally you mark articles as “featured”. The 4 latest articles
      that are “featured” appear in the
      attachment view. On the page view,
      all news articles are also shown in
      chronological order regardless of
      whether they had been marked as
      “featured” or not in the past. The only condition
      is that there should be no
      repetition between the attachment
      view and page view.

    There is a slight doubt in your specification….forget about your CCK select field for a second. My question is: Do you want to (a) Simply show the 4 latest “featured” articles in chronological order in the attachment view or (b) Do you want to explicitly determine the items and their order in the attachment view?

    In case (b) you can have the luxury of choosing an article that was perhaps 1 month old because it was a spectacular article and you still want to keep showing it. In (a) you don’t have that flexibility. As new “featured” articles are made, the old ones move out from the attachment view.

    Of course for cases (a) & (b) the articles that are shown in the attachment view will not appear in the page view (this should always holds true).

    For case (a) you should use nodequeue module for the attachment view and for case (b) you can continue using the CCK Select list method to pull out featured articles as you do currently for the attachment view. To prevent duplicates appearing in the page view use the http://drupal.org/project/views_unique or http://drupal.org/project/views_exclude_previous modules

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

Sidebar

Related Questions

I currently have an asp.net page, that takes in the data from this view
I have a page that is currently using the datetime microformat to display a
Let's say I have a web page that currently accepts a single ID value
I currently have a div on my page that I have given a background
I have a class named Page with a private property currently called _pageData which
I have 2 references to jQuery in my master page which is currently configured
I have a relatively complex .htaccess file to control page requests, this currently redirects
I have an app that display's the current time when a page opens. I
I currently have an MS Access application that connects to a PostgreSQL database via
I have a simple form that takes some fields and adds them to the

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.