Keyword

Default state for the item form sidebar

  • Joe Campbell
  • Joe Campbell's Avatar Topic Author
  • User
More
9 years 3 months ago #150577 by Joe Campbell
Default state for the item form sidebar was created by Joe Campbell
Does the K2 Advanced Parameter entitled "Default state for the item form sidebar" control the sidebar presented on the K2 Item page?

Does it effect the "Toggle sidebar" element?

I ask, because I changed it to "Hidden" but the sidebar is still visible onload when I go to edit an item.

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • User
More
9 years 3 months ago #150581 by Krikor Boghossian
Replied by Krikor Boghossian on topic Default state for the item form sidebar
You are right, in the DEV version however the sidebar will be removed.

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

  • Joe Campbell
  • Joe Campbell's Avatar Topic Author
  • User
More
9 years 3 months ago #150583 by Joe Campbell
Replied by Joe Campbell on topic Default state for the item form sidebar
Thanks for the rapid response @Krikor, just so I'm clear, the parameter is suppose to hide the item edit sidebar (backend item edit page), but it does not work, and will be fixed for 2.7?

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • User
More
9 years 3 months ago #150586 by Krikor Boghossian
Replied by Krikor Boghossian on topic Default state for the item form sidebar
It will be removed from 2.7
The item's form design is different.

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

  • Joe Campbell
  • Joe Campbell's Avatar Topic Author
  • User
More
9 years 3 months ago #150587 by Joe Campbell
Replied by Joe Campbell on topic Default state for the item form sidebar
Ok - now I understand - Thank You

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

  • Joe Campbell
  • Joe Campbell's Avatar Topic Author
  • User
More
9 years 3 months ago #150650 by Joe Campbell
Replied by Joe Campbell on topic Default state for the item form sidebar
@Krikor could you please explain (provide code mod) how I could force the sidebar to be closed on load - Thanks.

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • User
More
9 years 3 months ago #150660 by Krikor Boghossian
Replied by Krikor Boghossian on topic Default state for the item form sidebar
As a quick solution I add this code:
div.isJ30 #adminFormK2Sidebar { display: none; }

in this file:
/media/k2/assets/css/k2.css?v=2.6.9

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

  • Joe Campbell
  • Joe Campbell's Avatar Topic Author
  • User
More
9 years 3 months ago #150665 by Joe Campbell
Replied by Joe Campbell on topic Default state for the item form sidebar
It worked perfectly - Thank you sir

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • User
More
9 years 3 months ago #150667 by Krikor Boghossian
Replied by Krikor Boghossian on topic Default state for the item form sidebar
My pleasure Joe.

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

  • Joe Campbell
  • Joe Campbell's Avatar Topic Author
  • User
More
9 years 3 months ago #150675 by Joe Campbell
Replied by Joe Campbell on topic Default state for the item form sidebar
Just realized that the same class is used for Category Sidebar, so I changed it to "adminFormK2SidebarITEM" on the Item Edit Page and respective CSS.

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • User
More
9 years 3 months ago #150696 by Krikor Boghossian
Replied by Krikor Boghossian on topic Default state for the item form sidebar
.view-item #adminFormK2Sidebar { display: none; }
should do the trick

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

  • Joe Campbell
  • Joe Campbell's Avatar Topic Author
  • User
More
9 years 3 months ago #150727 by Joe Campbell
Replied by Joe Campbell on topic Default state for the item form sidebar
That did the trips - Thanks KB :)

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • User
More
9 years 3 months ago #150734 by Krikor Boghossian
Replied by Krikor Boghossian on topic Default state for the item form sidebar
You 're welcome Joe :)

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


Powered by Kunena Forum