Keyword

display only unpublished items

  • saman thenuwara
  • saman thenuwara's Avatar Topic Author
  • Offline
  • Junior Member
More
13 years 6 months ago #95273 by saman thenuwara
display only unpublished items was created by saman thenuwara
is it possible to display unpublished items by a aprticular user (dynamic)

ex: if user A is logged in, create a link in the login module to view only unpublished items by A

Please Log in or Create an account to join the conversation.

More
13 years 6 months ago #95274 by juju
Replied by juju on topic display only unpublished items
In the module "k2 Login", you have a link "My page" , and here you have the unpublished item and the published item, maybe you can copy the code of this page and change the condition in the test ("if.....")...

Please Log in or Create an account to join the conversation.

  • saman thenuwara
  • saman thenuwara's Avatar Topic Author
  • Offline
  • Junior Member
More
13 years 6 months ago #95275 by saman thenuwara
Replied by saman thenuwara on topic display only unpublished items
yes, true. I wanted to filter that to unpublished items and thats what I would like to know how to do that?

Thank you for your time.

Please Log in or Create an account to join the conversation.

  • saman thenuwara
  • saman thenuwara's Avatar Topic Author
  • Offline
  • Junior Member
More
13 years 5 months ago #95276 by saman thenuwara
Replied by saman thenuwara on topic display only unpublished items
i developed a new view template for k2, which filter unpublsihed items by a particular user or all unpublished items to view by authorised category groups. Working perfectly. if anyone looking for this solution, please get in tocuh with me.

Please Log in or Create an account to join the conversation.

More
13 years 5 months ago #95277 by juju
Replied by juju on topic display only unpublished items
I'm interested ;) Could you give us more details ?
Thanks ;)

Please Log in or Create an account to join the conversation.

  • saman thenuwara
  • saman thenuwara's Avatar Topic Author
  • Offline
  • Junior Member
More
13 years 5 months ago #95278 by saman thenuwara
Replied by saman thenuwara on topic display only unpublished items
two new links added to user module, which displays...

 

(1) unpublished items by logged-in user

(2) all unpublished items (if logged-in user has granted permission using k2 user groups),

 

no, hack. completely new view added to templates files. so not mixed with other K2 files, very clean and professional enhancement to K2 user view. you can get in touch with me using skype id = thewebdesigncompany

Please Log in or Create an account to join the conversation.

More
13 years 5 months ago #95279 by juju
Replied by juju on topic display only unpublished items
It is pretty interesting :)

In fact, I want do a moderation system for articles. So I install K2 Multi Notify, and it would be great if we can display for example : "3 items awaiting your approval" for moderators and "1 of your item awaiting the moderator approval" for author.

 

But I have different moderator and author for each category, so I think it's too much complicate to add all this in K2. 

But your override already provides very good feature :)

Please Log in or Create an account to join the conversation.

  • saman thenuwara
  • saman thenuwara's Avatar Topic Author
  • Offline
  • Junior Member
More
13 years 5 months ago #95280 by saman thenuwara
Replied by saman thenuwara on topic display only unpublished items
demo available here;

dev.jiliko.net/~bihar

 

following user accounts;


blogger1/blogger1
blogger2/blogger2
publisher1/publisher1

 

 

Please Log in or Create an account to join the conversation.

More
13 years 5 months ago #95281 by juju
Replied by juju on topic display only unpublished items
For the blogger it's exactly what I want to have ;)

For publisher, I have different publisher for each category so I don't want to give us access to all unpublished item. But maybe I could adapt your work ;)

 

How we proceed for test your work ?

 

Thanks ;)

Please Log in or Create an account to join the conversation.

  • saman thenuwara
  • saman thenuwara's Avatar Topic Author
  • Offline
  • Junior Member
More
13 years 5 months ago #95282 by saman thenuwara
Replied by saman thenuwara on topic display only unpublished items
use link above, do you want admin access?

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum