Two Themes At The Same Time For Different Menu Items does Not Work (newby) - Question | JoomShaper

Two Themes At The Same Time For Different Menu Items does Not Work (newby)

P

Parvis

General 1 year ago

Hi there,

to begin with, I’m new to Joomla and this forum. Up to now I did my homepage by scripting HTML and CSS directly. But now I would like to switch to CMS and decided to go with Joomla.

So far, installing Joomla and getting started with menu items and pages appeared to be ok. But now I am running into a fundamental problem. I am just not sure if I took the wrong turn, or if I approached a bug.

Before I get into designing the actual content, I want to make sure Joomla is set up for the basic requirements I have.

What I try to achieve is to apply two different menues each with a different template (Helix Ultimate or Yamas) to about half of my intended pages. From forum discussions I googled, I understand that this should be no problem at all.

Apparently, either I misunderstood something or I set it up wrong (though I do not get any error messages from Joomla). I have been trying around selecting the templates in any combination now - kind of getting frustrating. Maybe, you could give me a kick-start here. :-)

This is what I did so far: I set up Joomla freshly on the server of my provider (actually already did this twice just to make sure the theme problem is not caused by a corrupted installation). I created two menues with a menu item each, and assigned them to two SP Pagebuilder pages. Then I downloaded two templates. I made the first one (Helix Ultimate) default and assigned it to the first menu, then I assigned the second one (Yamas) to the second menu.

What happens is that both pages are always shown with the same template. If I change the assignment to the other template, this one is shown for both pages. So both templates seem to work individually.

But I cannot make two templates work on different pages at the same time. I searched the net, but either I am too stupid to use the right keywords (used e.g. „Joomla 4 several templates“), or my problem is something new...

Here is my data:

provider: manitu.de Joomla version: 4.2.8 (freshly downloaded and installed) PHP version: 8.1 Templates: 1. Shaper Helix ultimate version 2.0.11 (set as default) / 2. Yamas version 2.0.0

Could you please help me? Any help is very welcome :-) Best regards Arne

0
2 Answers
Rashida Rahman
Rashida Rahman
Accepted Answer
Support Agent 1 year ago #106097

Hi there!

Thanks for reaching out to us.

I have just tried to do that, and it is working fine at my end.

How did you show your different menus, please? One with the help of menu modules published in a module position, another menu in Header? or something else?

Moreover, the Yamas template is not compatible with PHP 8 yet, it will get the compatibility soon. You may try with PHP 7.4 for now. Here is our plan: https://www.joomshaper.com/blog/latest-php-compatibility-for-templates-and-extensions

And we are on the way of bringing the plan live. Here you will see some blogs about it:

https://www.joomshaper.com/blog/releases-updates

Helix Ultimate is already compatible with PHP 8.0 and 8.1.

Best Regards

0
P
Parvis
Accepted Answer
1 year ago #106502

Hi there,

thanks for getting back to me. To avoid misunderstandings due to my lack of discribing Joomla settings I inserted 10 screenshots below.

To begin with, to eliminate compatibility issues I dumped the Yamas template and am now using the Helix template twice. The idea is to have a template 1 (based on Helix) in a blue style for the main page (content also in blue) and a template 2 (also based on Helix) in a green style for the seperate pages (content also kept in green).

My first test was to check both menues work individually. So I assigned the template 1 to be default for the site. In result, the main page shows the proper blue menu (of course the separate pages do so, too). It worked, see screenshot: ![Screenshot 1](https://zebra-crossing.de/Joom/Screenshot Main Page with Template 1 as Default.png)

Then I switched template 2 to be default for the site. The seperate pages show the correct green menu (the main page as well). ![Screenshot 2](https://zebra-crossing.de/Joom/Screenshot separate page with Template 2 as Default.png)

So that is what I aim for: the main page with the blue menu (template 1) and the seperate pages with the green menu (template 2).

Now comes the tricky part: I assigned template 1 to be default for the site and template 2 directly to the seven separate pages. ![Screenshot 3](https://zebra-crossing.de/Joom/Screenshot Template Assignment overview.png) ![Screenshot 4](https://zebra-crossing.de/Joom/Screenshot Assignment Template 2 to separate page.png)

In result the main page is correctly shown with the blue menu, but the separate pages also show the blue menu (which is wrong for those): ![Screenshot 10](https://zebra-crossing.de/Joom/Screenshot separate pages with wrong menu.png)

As additional information for you, I took screenshots of the menu items linked to the separate pages. ![Screenshot 5](https://zebra-crossing.de/Joom/Screenshot Seperate Pages linked to menu items.png) And here is a screenshot of the menues and of the individual menu module settings for one example of the menu items. ![Screenshot 6](https://zebra-crossing.de/Joom/Screenshot overview menues.png) ![Screenshot 7](https://zebra-crossing.de/Joom/Menu Module settings_part 1.png) ![Screenshot 8](https://zebra-crossing.de/Joom/Menu Module settings_part 2.png) ![Screenshot 9](https://zebra-crossing.de/Joom/Menu Module settings_part 3.png)

Hope this helps to understand what I did so far. I am still bamboozled why the green pages show the blue menu. Kind regards.

0