Keyword

K2 Quick icons (admin) editing

More
10 years 2 months ago #130063 by aza
K2 Quick icons (admin) editing was created by aza
I am interested how to remove some icons from K2 Quick icons (admin) ?
Can anyone explain me?

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

  • Franz Wohlkönig
  • Franz Wohlkönig's Avatar
  • Offline
  • Platinum Member
More
10 years 2 months ago - 10 years 1 month ago #130064 by Franz Wohlkönig
Replied by Franz Wohlkönig on topic Re: K2 Quick icons (admin) editing
Hi,

i've deleted the parts in the php-file, i don't wanna use.

Regards

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
10 years 2 months ago #130065 by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: K2 Quick icons (admin) editing
You can do this with some css as well.
Although you will need to reapply the patch when you update K2.
In /administrator/modules/mod_k2_quickicons/tmpl/css/style.css

You can use the :nth-child(x) value to hide an icon.

eg:
#k2QuickIcons  .icon-wrapper:nth-child(4)  { display: none; }

Although overriding the module and removing the links as Franz suggested is a preferable solution.

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

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

  • Franz Wohlkönig
  • Franz Wohlkönig's Avatar
  • Offline
  • Platinum Member
More
10 years 2 months ago #130066 by Franz Wohlkönig
Replied by Franz Wohlkönig on topic Re: K2 Quick icons (admin) editing
@Krikor

Thank you for your (better) Solution. I'll use ist.

Regards

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

More
10 years 2 months ago #130067 by aza
Replied by aza on topic Re: K2 Quick icons (admin) editing
I do not Understand, I think editing style.css file is useless if not please explain me how can I use this script -- #k2QuickIcons .icon-wrapper:nth-child(4) { display: none; }

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
10 years 2 months ago #130068 by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: K2 Quick icons (admin) editing
I posted the file you need to edit.
You need to use the snippet as a base and hide the elements you need to hide.
www.w3schools.com/cssref/sel_nth-child.asp

It is also possible to override the administration modules as well.
getk2.org/documentation/tutorials/174-templating-with-k2-and-the-concepts-of-sub-templates

This is for the front-end but the same logic applies to the backend templates as well.

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