Keyword

Toggle sidebar with Display Settings in frontend editing

  • alkoole
  • alkoole's Avatar Topic Author
  • Offline
  • New Member
More
7 years 9 months ago #156248 by alkoole
Hello.

I need to enable "Display Settings" for articles ("Item view options") in frontend editing form. In current situation authors have only basic options when Toogle sidebar (Publishing status and Metadata information) in frontend, but no access to "Item view options".

Can I enable this option in frontend editing and addin articles?

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
7 years 9 months ago #156253 by Krikor Boghossian
Replied by Krikor Boghossian on topic Toggle sidebar with Display Settings in frontend editing
You can completely hide the sidebar from K2's settings by selecting hidden in the "Default state for the item form sidebar" param in K2's settings.

Alternatively you can override the itemform.php file are remove the sidebar and the toggler altogether.

More on overrides can be found here: getk2.org/documentation/tutorials/174-templating-with-k2-and-the-concepts-of-sub-templates

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

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

  • alkoole
  • alkoole's Avatar Topic Author
  • Offline
  • New Member
More
7 years 9 months ago #156386 by alkoole
Thank you for reply. Problem is that I dont want to hide sidbar. As I said before, I need to enable "Display Settings" for articles ("Item view options") in frontend edit form like it shows in backend.

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

  • Mohamed Abdelaziz
  • Mohamed Abdelaziz's Avatar
  • Offline
  • Platinum Member
  • Joomla Developer
More
7 years 9 months ago #156427 by Mohamed Abdelaziz
Replied by Mohamed Abdelaziz on topic Toggle sidebar with Display Settings in frontend editing
You can use overrides as per @Krikor advice to CSS hide the parts you don't want to display on the frontend, you can check whether the form is loaded on the backend or the frontend using this:
if(JApplications::isSite()){
//Inert here code to hide the parts you don't want to display
}

Multiple Extra Fields Groups for K2
AutoMeta for K2
Chained Fields for K2
More K2 Extensions In My Extensions Store

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


Powered by Kunena Forum