- Posts: 128
COMMUNITY FORUM
Hide a few icons In the "Quick K2 icons"
- Django
- Topic Author
- Offline
- Premium Member
Less
More
8 years 10 months ago #149296
by Django
Hide a few icons In the "Quick K2 icons" was created by Django
Hi
How can I hide a few icones in the admin "Quick K2 icons" ?
I would like to remove the last lihne : K2 documentation - Extend K2 - K2 community - JoomlaReader.
How can I hide a few icones in the admin "Quick K2 icons" ?
I would like to remove the last lihne : K2 documentation - Extend K2 - K2 community - JoomlaReader.
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 #149311
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic Hide a few icons In the "Quick K2 icons"
Hello,
It is possible to override the mod_k2_quickicons module in the administrator template.
You can follow the exact same method as with the frontend modules.
It is possible to override the mod_k2_quickicons module in the administrator template.
You can follow the exact same method as with the frontend modules.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Django
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 128
8 years 10 months ago - 8 years 10 months ago #149326
by Django
Replied by Django on topic Hide a few icons In the "Quick K2 icons"
Thanks krikor
That's what I did, in /administrator/modules/mod_k2_quickicons/tmpl/default.php.
I removed a few parts of the code concerning the icons I don't want to display.
( I try to send this message without the code I added first, because I get the message :
"Spam attempt detected. The message has been rejected. ")
The end of this file is :
But, after this modification, I have a blank page instead of the admin.
2 surprises too :
- I have no link for K2 in the admin menu , just the Quickicons
- I installed the french language for K2, but it stays in english (the rest of the admin is in french)
Joomla 2.5.28.
That's what I did, in /administrator/modules/mod_k2_quickicons/tmpl/default.php.
I removed a few parts of the code concerning the icons I don't want to display.
( I try to send this message without the code I added first, because I get the message :
"Spam attempt detected. The message has been rejected. ")
The end of this file is :
<div style="clear: both;"></div>
<?php endif; ?>
</div>
But, after this modification, I have a blank page instead of the admin.
2 surprises too :
- I have no link for K2 in the admin menu , just the Quickicons
- I installed the french language for K2, but it stays in english (the rest of the admin is in french)
Joomla 2.5.28.
Last edit: 8 years 10 months ago by Django.
Please Log in or Create an account to join the conversation.
- Django
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 128
8 years 10 months ago - 8 years 10 months ago #149328
by Django
Replied by Django on topic Hide a few icons In the "Quick K2 icons"
Finally, I could make it working ... but I don't know why.
I just kept the
<div class="icon-wrapper">
</div>
If you have and idea why I have no link to K2 in the admin menu, and why the french language file is not found by K2 ...
I just kept the
<div class="icon-wrapper">
</div>
If you have and idea why I have no link to K2 in the admin menu, and why the french language file is not found by K2 ...
Last edit: 8 years 10 months ago by Django.
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 #149354
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic Hide a few icons In the "Quick K2 icons"
Is is possible that you broke some PHP code?
An end/ if possibly? Enabling error reporting can be really helpful.
An end/ if possibly? Enabling error reporting can be really helpful.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Django
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 128
8 years 10 months ago #149359
by Django
Replied by Django on topic Hide a few icons In the "Quick K2 icons"
The problem of no link in the admin menu and french language file not working were already there before I made modifications in the Quiicons module file. So I didn't break any php file.
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 #149361
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic Hide a few icons In the "Quick K2 icons"
Can you try reinstalling the language pack?
Also you can send PHP via a Github gist.
Also you can send PHP via a Github gist.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Django
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 128
8 years 10 months ago #149385
by Django
Replied by Django on topic Hide a few icons In the "Quick K2 icons"
After re-install of the FR file, K2 speaks french ! Thanks Krikor.
Still no link to K2 in the menu, but this is less important, because we have the quick icons.
Still no link to K2 in the menu, but this is less important, because we have the quick icons.
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 #149387
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic Hide a few icons In the "Quick K2 icons"
Reinstalling K2 fixes this issue. Just make sure that you created overrides for the quickstart icons module.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Django
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 128
8 years 10 months ago #149389
by Django
Replied by Django on topic Hide a few icons In the "Quick K2 icons"
And it will not delete the 2 items I already made, I suppose ?
Please Log in or Create an account to join the conversation.