Keyword

[SOLVED] Frontend editing: remove Published Radio

  • jeffrey liu
  • jeffrey liu's Avatar Topic Author
  • Offline
  • New Member
More
10 years 4 months ago - 10 years 3 months ago #128876 by jeffrey liu
Want to remove the Published Radio, because every post supposed to be auto published for everyone.

After removed, the post is NOT published automatically, needs activation by admin.

Any solution? Where is the saving parts function? before save, can assign Published to 1. But dont know where to find that function.

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

More
10 years 4 months ago #128877 by Lefteris
Replied by Lefteris on topic Re: Frontend editing: remove Published Radio
Hi. Don't remove it. Set it to a hidden field with the value "1".

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

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

  • jeffrey liu
  • jeffrey liu's Avatar Topic Author
  • Offline
  • New Member
More
10 years 3 months ago #128878 by jeffrey liu
Replied by jeffrey liu on topic Re: Frontend editing: remove Published Radio

Lefteris Kavadas wrote: Hi. Don't remove it. Set it to a hidden field with the value "1".


Where do I hide it? please.
Thanks.

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

More
10 years 3 months ago #128879 by Lefteris
Replied by Lefteris on topic Re: Frontend editing: remove Published Radio
There is no option for that. You need to write code. First read getk2.org/documentation/tutorials/174-templating-with-k2-and-the-concepts-of-sub-templates to learn how you can modify K2 HTML output. Then just use :
<input type="hidden" name="published" value="1" />

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

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

  • jeffrey liu
  • jeffrey liu's Avatar Topic Author
  • Offline
  • New Member
More
10 years 3 months ago #128880 by jeffrey liu
Replied by jeffrey liu on topic Re: Frontend editing: remove Published Radio

Lefteris Kavadas wrote: There is no option for that. You need to write code. First read getk2.org/documentation/tutorials/174-templating-with-k2-and-the-concepts-of-sub-templates to learn how you can modify K2 HTML output. Then just use :

<input type="hidden" name="published" value="1" />



this works. thanks

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

More
10 years 3 months ago #128881 by Lefteris
Replied by Lefteris on topic Re: Frontend editing: remove Published Radio
You are welcome.

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