0

The contents always need approval of administer to be published on this site.

For example, The contents are once unpublished by Rule module when non-adimin users update them. And then the administer publish those contents again.

I have a node View with table style. In this view the administer wants to find "The contents that have never been published yet" easily for example, by making them hi-lighted.

Is there any way to achieve this?

2 Answers 2

0

The published (actually status) field is just a toggle, 0 for unpublished, 1 for published. There is no history of if a node has been published and then unpublished, so, there is no way to use it to find "contents that have never been published yet." To do that, you would need to create another field in your content and set it upon the first publishing of the node. Provided, of course, that that is your question.

2
  • Thanks for your input. Creating another field is a great idea. What type type of field would you use then ?
    – chinita7
    Commented Dec 4, 2012 at 2:56
  • A simple text field that would be set to 'yes' upon the node's first publishing would probably suffice. You could set this field's default value to be 'no,' but realize that adding this field to the content type doesn't populate that value into existing nodes, so it would be best to check against 'yes' versus for 'no.'
    – Jimajamma
    Commented Dec 4, 2012 at 12:34
0

To display unpublished content using views you have to add "Node: Published" option as "No" under "Filters".

1
  • Thanks. But it was not my question..
    – chinita7
    Commented Dec 3, 2012 at 13:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.