Template FAQs for Joomla 4

Adding Header or footer Code in VirtueMart Templates

Adding Header or footer Code in VirtueMart Templates involves making changes in the Joomla template Style.

This is the ideal place to add in your Google Analytics or Google Tag Manager tags.

You can also use this to add in any custom CSS that might be required due to compatibility with different extensions and modules.

To use custom code in the template header and footer of your VirtueMart Template website, follow these steps

1. Access the Template Manager:

   - Log in to your Joomla administration panel.


   - Navigate to "Systems" in the side menu and select "Site Templates Style."


   - In the "Templates" section, click on "the default template" to access the Template Manager.

2. Look for the Template Header And Footer Custom Code: **

   - In the Template Manager, you can either create a new template style or edit an existing one. If just need to enter the code on the Template Header And Footer Custom Code tab.


3. Save Changes:

   - After making your header and footer customizations, don't forget to save your template settings.

4. Test and Adjust:

   - After adding code to the template header and footer code area, it's essential to thoroughly test your website to ensure that everything displays correctly as expected.

5. Back Up and Document:

   - It's a good practice to back up your website before making significant template changes. Additionally, document any custom code you've added to the header and footer, as this will be helpful for future reference and updates.

Please note that any additional code added in the Header and footer area of the template DOES NOT get overridden when the template is updated. 

How do I setup a Mega Menu

What is a Mega Menu

A mega menu is a type of navigation menu used on websites to provide a highly organised and visually rich way for users to access various sections and content on a website. It's typically a large, multi-column dropdown menu that can display a wide range of options and sub-options when a user hovers over or clicks on a menu item.

Read more: How do I setup a Mega Menu

How to Update to Joomla 4 with Virtuemart Themes

Joomla 4 is the latest version of the popular CMS platform that has been in development since 2022. With a lot of new features and improvements, it’s no surprise that many website owners are eager to upgrade from their current Joomla version to enjoy the latest perks.

However, upgrading to Joomla 4 can be a daunting task for beginners, especially if you’re not familiar with the technical aspects of the platform. If you’re one of those who are planning to step up to Joomla 4, then this is perfect for you.

In this guide, we’ll take a look at the step-by-step process of upgrading your Joomla website to version 4, including the essential things you need to do before and after upgrading.

  1. Uninstall K2 and all related modules.

Joomla 4 has no K2 so we have to uninstall all the modules that we have for K2. First thing to do is go to Extensions then Manage. Search for the K2 on the search box. Check all the boxes that are k2 related then Click Uninstall

K2 install

  1. Remove k2 menu items.

We also have to remove k2 Menu. Go to Menus then All menus. Search for K2 and delete them.

k2 menu

  1. Remove k2 menu items.

We also have to remove k2 Menu. Go to Menus then All menus. Search for K2 and delete them.

extension updates

  1. Make sure it is on PHP 8.0

Check your control panel if your Php is under version 8.0.


  1. Run the test for Joomla 4 

The next thing to do is go to Systems then Global configurations. Look for Joomla Update. Then choose Joomla NEXT to run the joomla update check.

joomla next


  1. Once OK, then apply the Joomla 4 updates

Click the live update then INSTALL the update.

joomla update

joomla update2

  1. Install latest version of the template. 

Once the installation is successful get your latest version of you template and install it on the extensions. Go to Systems Menu then Install Extension


upload file

template uploaded

  1. Update any extensions.

Once the template has been installed check for other extensions that needs to be updated. Go to Systems Menu then Extensions Update.


last pic

  1. After the extensions update, check Akeeba updates. Akeeba needs to be on Version 9 Pro.
    Once version 9 has been installed, you need to be able to uninstall the version 8 from the extensions. This way, you will have no problems running akeeba and performing back-ups as needed.