Fail To Open File - Question | JoomShaper

Fail To Open File

J

Jesper

Template 9 months ago

Hi I am trying to use another template for other pages on the site. I am using sp pagebuilder and helix ultimate. Newest version. I started by renaming the template, according to your guide. zipped again an installed it in joomla. I asigned a menu to use the new template. when going into settings on the template I got this error. Failed opening required webpagenameandlocation/web/layouts/chromes/sp_xhtml.php' (include_path='.')

Hope you can support

0
15 Answers
Asfakur Rahman Saikat
Asfakur Rahman Saikat
Accepted Answer
Support Agent 9 months ago #182488

Hi Jesper,

Thank you for reaching out, and sorry for the inconvenience.

Please follow this guide carefully when renaming your template:

How to Rename Helix Ultimate Template

This should resolve the issue.(tested)

If the problem persists, please share your Joomla admin credentials in the hidden content section so we can investigate further. Before doing so, kindly back up your site using Akeeba Backup.

Best regards

0
J
Jesper
Accepted Answer
8 months ago #184368

Dear Asfakur

I have tried this a couple of time, but it doesnt work. I can not find the file en-GB.shaper_helixultimate.ini in step no. 5, but I can find the file en-GB.tpl_shaper_helixultimate.ini.

Perhaps thats the mistake. If that the file you indicate on the guide, perhaps you should change the guide.

Also should it then be "en-GB.tpl_newname.ini" or "en-GB.otherpages.ini" ????

Thanks Asfakur for your support. It alwas a pleasure and a great help when you and your team give support. Much appreciated.

0
Asfakur Rahman Saikat
Asfakur Rahman Saikat
Accepted Answer
Support Agent 8 months ago #184415

Hi Jesper,

Please find the file at the following location in the Helix Ultimate template after extracting: template/en-GB.tpl_shaper_helixultimate.ini

Additionally, I have successfully renamed the Helix template with your name, as per the documentation. You can find it in the hidden content section.

Feel free to reach out if you have any further questions.

Best regards

0
J
Jesper
Accepted Answer
8 months ago #184538

Hi Asfakur

I have tryed to download and install the template file that you created "Jesper_template.zip, but it still give the same error when entering the template option in the template style:

Failed opening required '/var/www/clients/i57236/joomifix.dk/web/layouts/chromes/sp_xhtml.php' (include_path='.')

perhaps there is missing something in the guide.

0
Asfakur Rahman Saikat
Asfakur Rahman Saikat
Accepted Answer
Support Agent 8 months ago #184568

Hi Jesper,

Please download the attached file and extract it. Then, replace the existing file at the following location:
sp_xhtml.php.zip

file location: /templates/jesper/html/layouts/chromes/sp_xhtml.php

I have applied this update for the 'Jesper' template, and it is working fine.

Let me know if you have any questions.

Best regards

0
J
Jesper
Accepted Answer
8 months ago #184705

Thanks Asfakur. If I want to do the same another time. Can you eexplain what you did to make the file work. What I really mean: "How can I in the future setup another template on a webpage" instead of having you to make a file I have to replace in as above?

0
Asfakur Rahman Saikat
Asfakur Rahman Saikat
Accepted Answer
Support Agent 8 months ago #184819

Hi Jesper,

I have carefully investigated your issue.

The problem occurs when the default page for the (da-DK) menu is assigned using the default Helix Ultimate menu assignment and when you want to edit the other template(jesper_template).

Please find the screenshot in the hidden content section

In this specific case, you need to apply the code solution provided earlier. Please use this code only for this exceptional scenario.

If the default homepage(da-DK) is not assigned to the Helix Ultimate template, the issue does not occur.

For such cases, you can follow the standard documentation on renaming the template, which should work without any issues.

Since this is a case-specific problem, rename the template for this site to avoid errors and apply the provided code in the following file:

jesper_template/template/html/layouts/chromes/sp_xhtml.php

I hope this clarifies everything. Let me know if you need further assistance.

Best regards

0
J
Jesper
Accepted Answer
8 months ago #184927

And No, it does not work! even unselecting the menu in the template. Yes I get the Menu on the page, but half the functions does not work.

For me it seem like SPPB/Helix Ultimate vs. Joomla and two template is not delveloped enought for me to experiment on this issue.

Right now I have the feeling that the website is getting more and more uncontrolled with a special file here and there, and a ups solution not selecting a menu, and a unique code in another place. etc.

I was looking for something that works without me having to call support everytime I want to have a page with another template, and I guess that not an option.

Below picts show that neither the colors for the menu's work. (actually the colors is from the other template), and the predefined headers doesn't exists. and these are just examples.

0
Asfakur Rahman Saikat
Asfakur Rahman Saikat
Accepted Answer
Support Agent 8 months ago #185312

Hi Jesper,

  1. I have discussed the layout issue you mentioned with our template developer. When this issue occurs, please use the provided code. This way, you won’t need to contact support every time.

  2. The predefined header is not working due to the recent Joomla update to version 5.2.4. However, an update for the Helix Ultimate plugin has already been released to address this issue. Please download, update, and install the latest version—it should resolve your problem.
    Preview Screenshot
    Helix Ultimate Update

  3. If the color preset is not working, please enable "Compile SCSS to CSS" from the template settings.

Note: Before making any updates, please ensure you have a full site backup.

Feel free to reach out if you have any further questions.

Best regards

0
J
Jesper
Accepted Answer
8 months ago #185400

Hi Asfakur Thanks for your reply. I am trying my best, but still I find functionalities that does not work.

examples: the custom colors. https://www.joomshaper.dk/images/techpict/custom%20colors.jpg and Yes, I have cleared browser cache and joomla cache, etc.

I still think it is very unstable and honestly I lost the overview on how to install another template. Too many codes and you can not select the menu in the template and you should update and you can not this. Basically I thing it doesn't work.

If you can from day "now" give an description on how to install an additional template, I would be happy. I would then start from scratch and expect that all worked. Hummm! Are Joomshaper able to do that?

0
Asfakur Rahman Saikat
Asfakur Rahman Saikat
Accepted Answer
Support Agent 8 months ago #185468

Hi Jesper,

Thank you again for your efforts.

Please see the following points:

  1. The custom color changes are not reflecting due to severe caching. I have tested this on a local environment, and it works fine. Please disable dynamic caching from your hosting provider, as well as any other caching mechanisms, and the changes should take effect. I have attached a screencast demonstrating that it works correctly on your site, available in the hidden content box.

  2. I have already provided the ultimate guideline for renaming the Helix Ultimate template:
    How to Rename Helix Ultimate Template.
    It is straightforward. If you encounter layout issues, you may need to replace the existing file at the following location:

    • sp_xhtml.php.zip
    • Path: /templates/your_template_name/html/layouts/chromes/sp_xhtml.php
  3. Please attempt your solution first. If you encounter any issues, we are here to assist you in resolving problems related to our product. However, please note that customizations fall outside our support policy. If you experience errors with our product, we are happy to help fix them.

Thanks for your understanding.

Best regards

0
J
Jesper
Accepted Answer
8 months ago #185822

Hi Asfakur I am "again" trying to follow your guideline to install a new template: Can you tell exactly where to find the file "en-GB.shaper_helixultimate.ini" in step no. 5. I can not find it.

0
Asfakur Rahman Saikat
Asfakur Rahman Saikat
Accepted Answer
Support Agent 8 months ago #185858

Hi Jesper,

Thank you for your findings.

The documentation has been updated regarding the Helix Ultimate language file (en-GB.tpl_shaper_helixultimate.ini).
https://prnt.sc/LzmnUtWcsTIL

Please check the updated link here: Helix Ultimate Documentation.

Let me know if you have any further questions.

Best regards

0
J
Jesper
Accepted Answer
8 months ago #185950

Ok! thanks Asfakur So I will change:

en-GB.tpl_shaper_helixultimate.ini

To

tpl_"the name I gave the template"

Example:

en-GB.tpl_shaper_helixultimate.ini

will be:

tpl_jesper.ini

And there is no "en-GB." in the new name?

0
Asfakur Rahman Saikat
Asfakur Rahman Saikat
Accepted Answer
Support Agent 8 months ago #186024

Hi Jesper,

Sorry for the inconvenience.

I need to discuss the language file (en-GB prefix) matter with the development team. Once I have an update, You will be informed.

Thank you for your understanding.

Best regards

0