I was trying to learn how to use arguments by replicating the default "Archive" view but instead of listing month+year, I want to list Published and Unpublished node. However, I discover that they don't exist in Arguments. Why?

Basically, my constraints are the followings:
How to use only 1 view to create a block that contains Published, Unpublished links. If user click on Published link, then it will show all nodes that are published. If user click on Unpublished link, then it will show all nodes that are unpublished.

Comments

vm’s picture

wouldn't that be a filter ? node: published ? node: unpublished ?

denislabonkink’s picture

Yes, I know that published or unpublished is in the filter but I also want it as an Argument. Why they are not in the Argument?

merlinofchaos’s picture

Status: Active » Closed (won't fix)

There is very little value to the argument, it is basically clutter. Create two displays on the same view if you like. It's easy to work around this if you want.

Scunt’s picture

Hi,

I was hoping that you could expand on that. I am trying to find a way to only show a block if the node is published.

I thought, perhaps erroneously, that this was an issue for Arguments.

Thanks
x