- Posts: 4
COMMUNITY FORUM
- Forum
- K2 Community Forum
- English K2 Community
- Toggle sidebar with Display Settings in frontend editing
Toggle sidebar with Display Settings in frontend editing
- alkoole
-
Topic Author
- Offline
- New Member
Less
More
8 years 10 months ago #156248
by alkoole
Toggle sidebar with Display Settings in frontend editing was created 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?
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
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
8 years 10 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
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
Please Log in or Create an account to join the conversation.
- alkoole
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 4
8 years 9 months ago #156386
by alkoole
Replied by alkoole on topic Toggle sidebar with Display Settings in frontend editing
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
-
- Offline
- Platinum Member
- Joomla Developer
8 years 9 months ago #156427
by Mohamed Abdelaziz
Multiple Extra Fields Groups for K2
AutoMeta for K2
Chained Fields for K2
More K2 Extensions In My Extensions Store
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.
- Forum
- K2 Community Forum
- English K2 Community
- Toggle sidebar with Display Settings in frontend editing