Re: taxonomy_select_nodes - unpublished nodes

Randy Fay <[email protected]>
Newsgroups gmane.comp.php.drupal.devel
Message-ID <CAGxQj1F-v08kYe-K7DpSoYeVO-6tr8TvRb6SLOXkXK1cr5bz=Q@mail.gmail.com>
I would imagine you'd want to use views (probably with views bulk
operations), which allows full control of this.

However, you may want to use access control, which is a lot more flexible
than the all-or-nothing published/unpublished status. You may want to look
at the Content Access + ACL modules.

-Randy

On Tue, Sep 6, 2011 at 8:14 AM, Deva <[email protected]> wrote:

> Hello Everyone,
>
> I came across the situation where i want to show unpublished content on the
> site. (For review kind of thing)
> I am displaying nodes related to a taxonomy term using
> taxonomy_select_nodes function.
> The problem is, it only returns published nodes related to particular
> taxonomy term.
> Is there any other solution/function to get all nodes related to a term,
> regardless of the node state (published/unpublished)?
>
> Thanks in advance.
>
> --
> :DJ
>
>
>


-- 
Randy Fay
Drupal Module and Site Development
[email protected]
+1  970.462.7450
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.