Keyword

K2 Article to defaulted to unpublished

  • daniel roberts
  • daniel roberts's Avatar Topic Author
  • Offline
  • New Member
More
8 years 11 months ago - 8 years 11 months ago #142647 by daniel roberts
K2 Article to defaulted to unpublished was created by daniel roberts
I have searched the forum but I can't find a definitive answer to this. For ease of use for none technical content providers, how do I set it to a default state of unpublished, so that content providers can make incremental saves without inadvertently publishing articles.

Thank you.

Image below"

http://i.imgur.com/46cT5GT.png?1
Last edit: 8 years 11 months ago by daniel roberts. Reason: add image

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

More
8 years 11 months ago #142648 by Jakub Jedynak
Replied by Jakub Jedynak on topic K2 Article to defaulted to unpublished
Go to:

administrator/components/com_k2/views/item

Open:

view.html.php

Find:

$item->published = 1;

Change to:

$item->published = 0;

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

  • daniel roberts
  • daniel roberts's Avatar Topic Author
  • Offline
  • New Member
More
8 years 11 months ago #142650 by daniel roberts
Replied by daniel roberts on topic K2 Article to defaulted to unpublished
Thank you very much that has worked.

Would there be a path in the Template to make such an amendments ? instead of changing the core components.

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
8 years 11 months ago #142678 by Krikor Boghossian
Replied by Krikor Boghossian on topic K2 Article to defaulted to unpublished
Unfortunately this not possible to be achieved with an override.
The core files have to be changed.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

  • daniel roberts
  • daniel roberts's Avatar Topic Author
  • Offline
  • New Member
More
8 years 11 months ago #142725 by daniel roberts
Replied by daniel roberts on topic K2 Article to defaulted to unpublished
ok thanks anyway

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
8 years 11 months ago #142745 by Krikor Boghossian
Replied by Krikor Boghossian on topic K2 Article to defaulted to unpublished
You 're welcome Daniel

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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


Powered by Kunena Forum