Jump to content

include=all,status!=trash,status!=unpublished instead of "include=not_active"


joe_g
 Share

Recommended Posts

I'm trying to show relevant suggestions underneath an article. The suggestions don't have to be available in the current language. I wish there was a way to say "include=not_active", but instead I now do

include=all,status!=trash,status!=unpublished

Is there any side-effects with the code above? Are there more statuses I should exclude?

thanks!

Link to comment
Share on other sites

Does include=hidden also include not active?

My intention is not to include hidden things (that are explicitly hidden by the editor) only include non active versions of the page (=non active language versions)

It's good you mention it, however, since I should also do "status!=hidden".

J

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...