Quick Icons

  • Johnny Rex
  • Topic Author
  • Offline
  • New Member
  • New Member
More
6 days 10 hours ago #171590 by Johnny Rex
Quick Icons was created by Johnny Rex
Hi
I'm trying to create two quick icons for my j5 installation, so my customer just can click the icon to get to manage ordres.
But I need a bit of help with the following:
Code:
 $user = Factory::getUser();         if (!$user->authorise('WHAT SHOULD I WRITE HERE?', 'com_osservicesbooking')) {             return;         }         $language = Factory::getLanguage();         $language->load('com_osservicesbooking', JPATH_ADMINISTRATOR);         return array(array(             'link'      => 'index.php?option=com_osservicesbooking&task=orders_list',             'image'     => 'picture fa fa-image',             'access'    => array('WHAT SHOULD I WRITE HERE?', 'com_osservicesbooking'),             'text'      => Text::_('PLG_QUICKICON_OSB_ORDRE_TITLE'),             'id'        => 'plg_quickicon_osb',         ));

Also I would like to create one for the monthly calendar.

Cheers
/Rex

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

More
3 days 16 hours ago #171604 by Mr. Dam
Replied by Mr. Dam on topic Quick Icons
Hi Johnny,
You want to have the direct link from your Joomla Dashboard to Orders management page of OS Services Booking, right?
Thanks
Dam

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

  • Johnny Rex
  • Topic Author
  • Offline
  • New Member
  • New Member
More
3 days 15 hours ago #171605 by Johnny Rex
Replied by Johnny Rex on topic Quick Icons
Yeps.
Just like we now have for users, articles etc. in the quickicon menu at the front dashboard.


Cheers
/Rex

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

More
3 days 15 hours ago #171607 by Mr. Dam
Replied by Mr. Dam on topic Quick Icons
Hi Johnny,
Adding icons to the Joomla admin dashboard (backend) can be done in different ways depending on your Joomla version. Below are some methods:
1. Using Joomla’s Default Admin Menu (Joomla 4+)
If you want to add a custom menu item with an icon in the Joomla administrator dashboard, follow these steps:
Step 1: Create a Custom Admin Module
- Go to System → Administrator Modules.
- Click New and select "Admin Custom Module".
- Add your custom HTML with an icon (using Bootstrap icons or FontAwesome).
- Assign the module to a dashboard position like cpanel.
- Save & Close.

Step 2: Add Icon in HTML
You can use FontAwesome icons in the module:

<a href="index.php?option=com_osservicesbooking&task=orders_list" class="btn btn-primary">
<i class="fas fa-file-alt"></i> Manage Orders
</a>

You also can use this extension to create your own quick icon in Dashboard: extensions.joomla.org/extension/custom-quick-icons/

Thanks
Dam

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

  • Johnny Rex
  • Topic Author
  • Offline
  • New Member
  • New Member
More
3 days 13 hours ago #171608 by Johnny Rex
Replied by Johnny Rex on topic Quick Icons
Thx :)
I went with the extension :)
This will help my customer so much.

Cheers
/Rex

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

Moderators: Mr. Dam