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?

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.

  • Thanks for your input. Creating another field is a great idea. What type type of field would you use then ? – chinita7 Dec 4 '12 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 Dec 4 '12 at 12:34
0

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

  • Thanks. But it was not my question.. – chinita7 Dec 3 '12 at 13:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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