Forums / Developer / how fetch all articles created by current user?

how fetch all articles created by current user?

Author Message

Vytautas Germanavičius

Friday 08 April 2005 5:54:14 am

how fetch all articles created by current user?

:/ Nobody needs this?
If It is not possible, does anybody know any workaround?

{set-block scope=root variable=cache_ttl}0{/set-block}

Eirik Alfstad Johansen

Friday 15 April 2005 1:59:21 am

I think the workaround is fetching all the articles, and then looping through them in your template, only displaying the ones by the current user.

Sincerely,

Eirik Alfstad Johansen
http://www.netmaking.no/

Paul Borgermans

Friday 15 April 2005 2:15:53 am

Hi

This is possible with the upcoming release of 3.6

I'll post patches this afternoon for 3.4 and 3.5 which add some more advanced attribute filtering, including filter by user object id (which is what you need)

-paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

Paul Borgermans

Friday 22 April 2005 5:31:41 am

3.4-6 and 3.5-2 versions are now posted on the community svn server:

http://pubsvn.ez.no/community/trunk/kernel/classes/

See also

http://ez.no/community/contribs/hacks/more_attribute_filter_operators_and_fetch_by_owner_id

-paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans