- Posts: 15
COMMUNITY FORUM
K2 Article to defaulted to unpublished
- daniel roberts
-
Topic Author
- Offline
- New Member
Less
More
10 years 1 month ago - 10 years 1 month 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
Thank you.
Image below"
http://i.imgur.com/46cT5GT.png?1
Last edit: 10 years 1 month ago by daniel roberts. Reason: add image
Please Log in or Create an account to join the conversation.
- Jakub Jedynak
-
- Offline
- New Member
Less
More
- Posts: 2
10 years 1 month 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;
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
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 15
10 years 1 month 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.
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
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
10 years 1 month 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.
The core files have to be changed.
Please Log in or Create an account to join the conversation.
- daniel roberts
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 15
10 years 1 month 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
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
10 years 1 month ago #142745
by Krikor Boghossian
Replied by Krikor Boghossian on topic K2 Article to defaulted to unpublished
You 're welcome Daniel
Please Log in or Create an account to join the conversation.