Support

Akeeba Backup for Joomla!

#36322 Feature Request: Add Control Panel button to Joomla 4 dashboard

Posted in ‘Akeeba Backup for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
n/a
PHP version
n/a
Akeeba Backup version
n/a

Latest post by on Sunday, 16 January 2022 20:17 CST

mhilliard

Just a feature request. We're training our clients to do backups religiously when they enter and exit the site to make edits, and it would be great to have an Akeeba panel on the dashboard, ideally with the One-click Backup buttons. 

nicholas
Akeeba Staff
Manager

Um, this feature is already there and documented. The plugin is enabled by default. 

This feature has actually existed since 2010. Not only Akeeba Backup was the first extension to implement control panel icons (even back in Joomla 1.5 when Joomla had no built-in support) but I am also the developer who contributed the Quick Icons feature to the control panel for Joomla 1.7.

For your use case, however, I would recommend using custom menu items on top of that icon plugin. By doing that you could actually have a “BACKUP NOW’ menu item at the top of the side menu which is a much more convenient place for your users since it's something they see in literally every page of the site. 

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

mhilliard

Nicholas, let me be more specific. 

We typically have three One-click buttons for each site: Full Backup, Site without Images, Database Only. A few of our clients have sites heavy with video and images, topping 300-500MB, so it doesn't make sense to use the default (and only) One-click button on the Joomla dashboard. I'd like to be able to assign the "Database Only" One-click button to the dashboard, so the very first thing to do when they log in is click that and start making their edits. 

My feature request would be to add an option in the Profiles Management for each One-click backup to add this button to either the "3rd Party" or "Notifications" tray in the dashboard.

nicholas
Akeeba Staff
Manager

I am afraid this is not a feature we are going to implement.

Joomla's quick icons are not modules, they are plugins. While you can create multiple instances of a module you cannot do that for a plugin. A plugin would have to return the icon definitions for ALL backup profiles. As a result you'd have a long row with all Quick Icon backup profiles.

Having each Quick Icon backup profile able to display separately would require creating one new plugin extension per backup profile. First of all, this is problematic because we have to create installable, executable PHP code. We would also have a problem with how exactly these extensions are supposed to be updated when you update our software or removed when you either remove the backup profile or remove the package. They would also always appear as incompatible with newer Joomla versions because these are “orphan” extensions which do not belong to a package.

These are all points that you are blissfully unaware of as a user but we know as developers.

Creating a backup icon module would not make any sense either. You can already do that yourself using the Custom module type. The link you need to use is the same link you'd get in a custom backend menu item: index.php?option=com_akeebabackup&view=backup&autostart=1&porfileid=123&akeeba_hide_toolbar=1 where 123 is the backup profile ID. Since it's a custom HTML module you can do any kind of styling you want, not limited to how Joomla styles the Quick Icons. If you want to replicate Joomla's quick icon styling just right click on an icon and view source. It is something like this:

<nav class="quick-icons px-3 pb-3" aria-label="Quick Backup Links">
	<ul class="nav flex-wrap">
		<li class="quickicon quickicon-single">
			<a id="quick_backup"
					href="https://www.akeeba.com/administrator/index.php?option=com_akeebabackup&view=backup&autostart=1&porfileid=123&akeeba_hide_toolbar=1">
				<div class="quickicon-info">
					<div class="quickicon-icon">
						<div class="icon-akeebabackup" aria-hidden="true"></div>
					</div>
				</div>
				<div class="quickicon-name d-flex align-items-center">
					<span class="j-links-link">⚡️ QUICK BACKUP</span>
				</div>
			</a>
		</li>
		<li class="quickicon quickicon-single">
			<a id="full_backup"
					href="https://www.akeeba.com/administrator/index.php?option=com_akeebabackup&view=backup&autostart=1&porfileid=345&akeeba_hide_toolbar=1">
				<div class="quickicon-info">
					<div class="quickicon-icon">
						<div class="icon-akeebabackup" aria-hidden="true"></div>
					</div>
				</div>
				<div class="quickicon-name d-flex align-items-center">
					<span class="j-links-link">🐢 FULL BACKUP</span>
				</div>
			</a>
		</li>
	</ul>
</nav>

Finally, as I already said, you can create a custom backend menu which makes FAR MORE SENSE. I am not being difficult here, I am telling you what my observation is from real world users. The control panel icons move around and change colors, confusing the less than technically inclined among the users. Give them a menu item at the top of the side menu with a relevant Emoji as its first character and they can always find that link. For example, they will always be able to find the “⚡️ QUICK BACKUP” and “🐢 FULL BACKUP” menu items at the top of the sidebar menu.

There is no reason for us to implement a feature which is either going to cause massive problems or is a duplicate of existing core Joomla features.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

System Task
system
This ticket has been automatically closed. All tickets which have been inactive for a long time are automatically closed. If you believe that this ticket was closed in error, please contact us.

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!