VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: AzMandius on March 05, 2019, 17:24:43 PM

Title: Set a VirtueMart » Category Layout menu item as site homepage
Post by: AzMandius on March 05, 2019, 17:24:43 PM
Hello,
I am using VM for some years, but there is still an issue/task i am completely puzzled with.

There is the current homepage, which is an Articles » Featured Articles type menu item.
(https://s.nimbusweb.me/attachment/2628632/3kglffokp5qdxtl76hyk/hd6BhObFPJuPkcgz/screenshot-nnpctoplus.esy.es-2019.03.05-18-11-53.png)

Then next to it there is a  VirtueMart » Category Layout menu item.
(https://s.nimbusweb.me/attachment/2628628/ap6ftiux9k2axusf0w02/GCQhBO2Btl92EnXD/screenshot-nnpctoplus.esy.es-2019.03.05-18-11-53.png)

All i want to do is to hide the current Articles » Featured Articles homepage item, and set the VirtueMart » Category Layout menu item next to it, as default, to have the site open as shop by default. I have tried to set the VirtueMart » Category Layout menu item as default in back-end, but that did not help, still the layout of previous menu item loads when the site opens.

Any ideas what am i missing / doing wrong?

Thanks a lot!

Joomla! 3.6.4
VirtueMart 3.0.16
Site in question: http://nnpctoplus.esy.es
Title: Re: Set a VirtueMart » Category Layout menu item as site homepage
Post by: jenkinhill on March 05, 2019, 18:36:23 PM
OK, so this is a Joomla main menu question - not a VirtueMart question.

Your Joomla/VM versions are seriously out of date and insecure. It is important to keep versions updated. Current Joomla is 3.9.3 and VirtueMart is 3.4 2 (and 3.4.4 is not far from release), so maybe update those before changing the Joomla menu configuration. Coming from those old versions, if you use template overrides then these will need updating too.

http://forum.virtuemart.net/index.php?topic=118683.0

Title: Re: Set a VirtueMart » Category Layout menu item as site homepage
Post by: AzMandius on March 05, 2019, 20:13:59 PM
Hi again, i have updated Joomla and VirtueMart to latest version.
(https://s.nimbusweb.me/attachment/2629167/5kc3bn7tcyppb6464twt/kCkC1bcYMP8anJSo/screenshot-nnpctoplus.esy.es-2019.03.05-21-10-10.png)
(https://s.nimbusweb.me/attachment/2629169/arf1bppz0xq2t6btcvrg/Of6lQah9BxrX6wHq/screenshot-nnpctoplus.esy.es-2019.03.05-21-10-10.png)

Tried again to set the VM menu item as homepage, still the old layout is there. Could you please let me know where to look for solution?

Thank you.
Title: Re: Set a VirtueMart » Category Layout menu item as site homepage
Post by: AzMandius on March 06, 2019, 08:58:52 AM
Just found out that no matter what menu item i set as default - it does not change, always the same layout stays as default.

Wondering how is that possible.

Probably is worth mentioning that the site is on a HELIX3 framework template.

Anyone can give me a hint where to look for solution?
Title: Re: Set a VirtueMart » Category Layout menu item as site homepage
Post by: jenkinhill on March 06, 2019, 12:55:38 PM
As I said earlier, this is not a VirtueMart problem, it is a Joomla configuration issue.

I'm guessing that you bought and installed a pre-configured template package with sample data, instead of first installing Joomla, then any required extensions and then adding your own content etc.

Some template packages use a separate menu for the home page. Joomla Menus/Manage should show you a list of the menus used. If you have a menu called Home then open that to see what menu links (items) it contains. Most likely you will find a default Home link there which should be unpublished and your required menu item in the Main menu set to default.

If that is not the problem then read through the Joomla docs.  https://docs.joomla.org/Menu  or ask on the Joomla forum,  https://forum.joomla.org/viewforum.php?f=708
Title: Re: Set a VirtueMart » Category Layout menu item as site homepage
Post by: AzMandius on March 06, 2019, 13:00:00 PM
Thank you jenkinhill, i will give that a try.

Actually your simple verbal hint struck right to the point, issue solved, thank you very much, i would never think i need to disable those extra menus to solve the issue!
Title: Re: Set a VirtueMart » Category Layout menu item as site homepage
Post by: GJC Web Design on March 06, 2019, 14:20:42 PM
this will be your home /root menu
Title: Re: Set a VirtueMart » Category Layout menu item as site homepage
Post by: AzMandius on March 06, 2019, 15:10:19 PM
(https://s.nimbusweb.me/attachment/2632811/3n2um9f9k1bh96zpww0x/09SCI2Z4DCFeTMqX/screenshot-nnpctoplus.esy.es-2019.03.06-16-08-42.png)
Title: Re: Set a VirtueMart » Category Layout menu item as site homepage
Post by: jenkinhill on March 06, 2019, 18:47:25 PM
The moral is that if you must use a pre-configured package be sure to clean out all extraneous crap as soon as possible. There will be extensions installed that you will never use and at some stage may jump up and bite!
Title: Re: Set a VirtueMart » Category Layout menu item as site homepage
Post by: Troels_E on March 07, 2019, 10:47:59 AM
For me as a newbie into Joomla and Virtuemart it was much easier to install from scratch than figuring out a preinstalled template with multiple languages and menues setup in joomla and unneeded plugins instaled.

A clean install on a light template and then the Virtuemart demo site (backend) to see how stuff is done is good way IMO, then the bells and whistles can be added later.
Title: Re: Set a VirtueMart » Category Layout menu item as site homepage
Post by: GJC Web Design on March 07, 2019, 11:04:47 AM
100% agree -- preinstalls cause endless grief and should never be used imho