VirtueMart Forum

VirtueMart 2 + 3 + 4 => Frontend Modules => Topic started by: AnnieG13 on November 18, 2020, 11:46:00 AM

Title: Main menu not showing on Virtuemart pages.
Post by: AnnieG13 on November 18, 2020, 11:46:00 AM
Joomla version 3.9.22
VirtueMart 3.8.4

Site - www.puppylanetreats.com.au

I have the 'main menu' module published to all pages. But when you click on my 'Shop' menu link the main menu doesn't show on any Virtuemart pages.
Can anyone give me some help as why this is happening.   :'( :'(

Thanks in advance
Annie



Title: Re: Main menu not showing on Virtuemart pages.
Post by: jenkinhill on November 18, 2020, 12:58:18 PM
You are changing templates when going to the store - from mx_joomla157 to Protostar. You need to enable the main menu module within Protostar.
Title: Re: Main menu not showing on Virtuemart pages.
Post by: Jörgen on November 18, 2020, 12:59:55 PM
Check template assignment, maybe changed template ?

Jörgen
Title: Re: Main menu not showing on Virtuemart pages.
Post by: AnnieG13 on November 19, 2020, 08:48:51 AM
Hi jenkinhill,
Yes I am using two different templates, but I have tried to work out where to change it so the main menu shows, but all it's do is change to look of my page, could you please give me some directions how to enable the menu in Protostar template.

Thanks Annie


Hi Jorgen,
As you can see I have two templates as I couldn't get the mx_joomla157 to shop the shop the way I wanted it.

Thanks Annie
Title: Re: Main menu not showing on Virtuemart pages.
Post by: Jörgen on November 19, 2020, 09:03:14 AM
You have to make sure you have a menu-module assigned to a location in Protostar, in the same way as You did for Your other template. Protostar does not have the same name for the menu location. Assign a copy of the menu module to position-1, if I recall correctly.

Jörgen @ Kreativ Fotografi
Title: Re: Main menu not showing on Virtuemart pages.
Post by: pinochico on November 19, 2020, 09:05:42 AM
Put module position for menu to index.php from protostar
Title: Re: Main menu not showing on Virtuemart pages.
Post by: Jörgen on November 19, 2020, 09:42:07 AM
Rudolf gives you another idea
Add the name of your menu position in the mx_joomla157 to the position you want it displayed, in index.php file for the protostar template. You could also just rename the position in Protostar index.php. Be ware that this will be overwritten by an update of the Protostar template.

Jörgen @ Kreativ Fotografi
Title: Re: Main menu not showing on Virtuemart pages.
Post by: GJC Web Design on November 19, 2020, 11:06:38 AM
if u are only using Protostar so as to have no VM overides then simply rename /templates/mx_joomla157/html/com_virtuemart  instead of changing templates
Title: Re: Main menu not showing on Virtuemart pages.
Post by: AnnieG13 on November 19, 2020, 13:14:26 PM
Hi all,
Thanks for all your advise, I will see how I go with them.
At present I have totally messed up the home page somehow. Trying to delete some unused items, modules etc to speed up the site loading, so have a bigger problem for now.  :'( :'( :'( :'( :'(

Will need to do a restore of the site first.

Annie