Re: Have Recent Items portlet only show Member's files
espen <[email protected]>
| Newsgroups | gmane.comp.web.zope.plone.user |
|---|---|
| Message-ID | <[email protected]> |
Maybe you can also do this: 1) Add a new collection 2) make it search on Creator: «current user» 3) Make a collection portlet Espen 29. juli 2014 kl. 17:15 skrev Norman Fournier-3 [via Plone] <ml-node+s293351n7572100h53-PKuAHvtXa09l57MIdRCFDg@public.gmane.org>: > Thanks for the pointers Espen. I'll have a look > > Norman > > On 2014-07-28, at 2:11 AM, Espen Moe-Nilssen wrote: > >> I think you will have to filter on the logged in memeber. >> • Get current user. In newer plone, you might want to use plone.api (add plone.api to buildout) >> http://docs.plone.org/external/plone.api/docs/api/user.html >> http://docs.plone.org/external/plone.api/docs/index.html >> • add this user to the query part: >> here? https://github.com/collective/collective.portlet.relateditems/blob/master/collective/portlet/relateditems/relateditems.py >> • you could consider installing collective.jbot, at least to see if you get it to work (then you can just duplicate that code into a file called >> collective.portlet.reateditems.releateditems.py , I assume >> >> Espen >> >> 26. juli 2014 kl. 01:13 skrev Norman Fournier <[hidden email]>: >> >>> Hello, >>> >>> I am trying to find out how to edit the Recent Items portlet to only return the logged-in Member's files, and not all published changes. Any pointers would be appreciated. >>> >>> Norman >>> >>> --- >>> http://www.normanfournier.com >>> >>> ------------------------------------------------------------------------------ >>> Want fast and easy access to all the code in your enterprise? Index and >>> search up to 200,000 lines of code with a free copy of Black Duck >>> Code Sight - the same software that powers the world's largest code >>> search on Ohloh, the Black Duck Open Hub! Try it now. >>> http://p.sf.net/sfu/bds_______________________________________________ >>> Plone-Users mailing list >>> [hidden email] >>> https://lists.sourceforge.net/lists/listinfo/plone-users >> > > > ------------------------------------------------------------------------------ > Infragistics Professional > Build stunning WinForms apps today! > Reboot your WinForms applications with our WinForms controls. > Build a bridge from your legacy apps to the future. > http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk > _______________________________________________ > Plone-Users mailing list > [hidden email] > https://lists.sourceforge.net/lists/listinfo/plone-users > > > If you reply to this email, your message will be added to the discussion below: > http://plone.293351.n2.nabble.com/Have-Recent-Items-portlet-only-show-Member-s-files-tp7572083p7572100.html > To start a new topic under General Questions, email ml-node+s293351n293352h65-PKuAHvtXa09l57MIdRCFDg@public.gmane.org > To unsubscribe from Plone, click here. > NAML -- View this message in context: http://plone.293351.n2.nabble.com/Have-Recent-Items-portlet-only-show-Member-s-files-tp7572083p7572101.html Sent from the General Questions mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Infragistics Professional Build stunning WinForms apps today! Reboot your WinForms applications with our WinForms controls. Build a bridge from your legacy apps to the future. http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk _______________________________________________ Plone-Users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/plone-users