FIrst off, I LOVE views! Incredible power for the non-programmer. Thank you for all you hard work on this.

I have what I suspect is an easy question - I've searched and searched but cannot find an answer.

I have set up a custom content type using CCK called 'rockeggs'

I have a custom view that I want to only show content that is of the 'rockegg' type. Right now, my view returns all content types.

I have read the page on Views Arguments here: http://drupal.org/node/54455 and I suspect that I could use Arguments to filter on Node Type, but I can't figure out what the syntax of the argument should be.

Any help would be greatly appreciated.

Thanks again for an awesome module.

B-Dot

Comments

merlinofchaos’s picture

Status: Active » Fixed

From your description, you don't want arguments but you want a regular filter.

In your view, go to the filters fieldset, find 'Node: Type' and click 'Add Filter'. when the page refreshes, select 'rockeggs' in the new filter that was just added and save your view.

B-Dot’s picture

Great, thank you so much - I figured it would be something easy!

Anonymous’s picture

Status: Fixed » Closed (fixed)
hanief84’s picture

LoL! I didn't notice that. Thanks merlinofchaos!

sanguis’s picture

Version: 5.x-1.x-dev » 6.x-2.x-dev
Status: Closed (fixed) » Fixed

worked in ver 2 for drupal 6.1
thanx,
merlinofchaos

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

imposterpockets’s picture

I have set up a view in just this way, and when I am previewing it in Views it works perfectly. However, when I navigate to the actual page that it has created it doesn't work. It shows the letters and it shows the number of items that are filed under each letter, but when you click the letter, no list shows up. When I previewed it in views, the list did show up.

Is there some reason why I would this would function in one place but not the other? At first I thought it was some tangling of permissions, but I am logged in as the administrator during this whole comparison process.

imposterpockets’s picture

Update: I just added a node that appears in the "A" category, and it is showing up, but clicking the rest of the alphabet does nothing. It just stays on the A index.

navasshareif’s picture

Issue summary: View changes