After Upgrade To Joomla 4.2.5... Problems With Layout And SPPB Joomal Articles - Question | JoomShaper
Black Friday sale is live with flat 50% OFF. Sale ends soon! Grab your deal now!

After Upgrade To Joomla 4.2.5... Problems With Layout And SPPB Joomal Articles

JP

Jean-Marie Putz

SP Page Builder 2 years ago

After many problems, I finally succeeded to install Joomla 4 locally. The problems I had were not linked to SP Builder Pro... So, my main problems now are:

I am using Travelia as a template. I upgraded it to version 2.0 , which is supposed to be compatible with Joomla 4. And I installed SP PgeBuilder 4 as well.

• Problems on the site

  • On my home page (build with SP Page Builder), I only see a pat of it... and even this part is not as it should be. It looks OK until the menu, and than it is completely truncated, and it misses a great deal of the content.
  • Other pages seem to miss all CSS and SPPB features... (for example: I present videos on my pages, and the layout of the videos is different on mobile than on desktop. In the code, I have 2 add-ons, one for desktop and the other one for mobile... Now both are shown, but without any stule.!
• Problems in Admin

- I am unable to use SPPB in a native Joomla article. Not sure this is clear, as I am not familiar with Joomshaper jargon...  I do not see where I could add a screenshot to illustrate this...

As I am testing locally, I cannot provide a link to the site

0
4 Answers
JP
Jean-Marie Putz
Accepted Answer
2 years ago #96959

Travelia gives en erroe 0:

logo 0

Class "JRequest" not found Call stack

#   Function    Location
1   ()  JROOT/templates/shaper_travelia/html/layouts/joomla/content/rating.php:15
2   include()   JROOT/libraries/src/Layout/FileLayout.php:128
3   Joomla\CMS\Layout\FileLayout->render()  JROOT/libraries/src/Layout/LayoutHelper.php:76
4   Joomla\CMS\Layout\LayoutHelper::render()    JROOT/templates/shaper_travelia/html/com_content/article/default.php:201
5   include()   JROOT/libraries/src/MVC/View/HtmlView.php:410
6   Joomla\CMS\MVC\View\HtmlView->loadTemplate()    JROOT/libraries/src/MVC/View/HtmlView.php:203
7   Joomla\CMS\MVC\View\HtmlView->display()     JROOT/components/com_content/src/View/Article/HtmlView.php:244
8   Joomla\Component\Content\Site\View\Article\HtmlView->display()  JROOT/libraries/src/MVC/Controller/BaseController.php:639
9   Joomla\CMS\MVC\Controller\BaseController->display()     JROOT/components/com_content/src/Controller/DisplayController.php:121
10  Joomla\Component\Content\Site\Controller\DisplayController->display()   JROOT/libraries/src/MVC/Controller/BaseController.php:672
11  Joomla\CMS\MVC\Controller\BaseController->execute()     JROOT/libraries/src/Dispatcher/ComponentDispatcher.php:143
12  Joomla\CMS\Dispatcher\ComponentDispatcher->dispatch()   JROOT/components/com_content/src/Dispatcher/Dispatcher.php:56
13  Joomla\Component\Content\Site\Dispatcher\Dispatcher->dispatch()     JROOT/libraries/src/Component/ComponentHelper.php:355
14  Joomla\CMS\Component\ComponentHelper::renderComponent()     JROOT/libraries/src/Application/SiteApplication.php:200
15  Joomla\CMS\Application\SiteApplication->dispatch()  JROOT/libraries/src/Application/SiteApplication.php:241
16  Joomla\CMS\Application\SiteApplication->doExecute()     JROOT/libraries/src/Application/CMSApplication.php:294
17  Joomla\CMS\Application\CMSApplication->execute()    JROOT/includes/app.php:61
18  require_once()  JROOT/index.php:32 
0
JP
Jean-Marie Putz
Accepted Answer
2 years ago #97295

Can I please get an answer from a Joomshaper specialist? I am fighting with this problem since too long now ...!

In the meanwhlie, I have investigated further and found a JRequest command in templates/shaper_travelia/html/layouts/joomla/content/rating.php at line 15.

I guess this is the base of my problem. System is unable to load the template, as JRequest is not supported in Joomla 4. If I am using the last version of the template (I use 2.0), this is an uncceptable bug and I would be happy to get help as soon as possible... knowing I posted this question a couple of days ago, and I didn't get any answer! All suggestion are welcome

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 2 years ago #97701

Hi Jean,

Sorry for delay,

try my quick solution:

  1. download helix3 template v3.0.3
  2. take this file from it : template/html/layouts/joomla/content/rating.php
  3. and replace file: rating.php on your server, here: templates/shaper_travelia/html/layouts/joomla/content/rating.php

BTW

Not all templates are ready for SPPB 4.0.x so I cannot give you a warraty that it will work as good as SPPB 3.8.9 ! So maybe keep SPPB 3.x as you had!

0
JP
Jean-Marie Putz
Accepted Answer
2 years ago #97702

Thanks, but I do not use travelia anymore. But I see now I downloaded the wrong version of Helix Ultimate... I still have the version 2.0.11 I imagine that, if I install 3.0.3, I will have to redo all the changes I did during the week-end in 2.0.11 Anyway this can explain why it does not work

0