Hope Template For Joomla 4 -- Editing Articles does Not Work From Frontend - Question | JoomShaper
🎃 Halloween Sale is Live! Get 35% OFF on all plans. Sale ends soon! Get Offer

Hope Template For Joomla 4 -- Editing Articles does Not Work From Frontend

C

Cat

Template 6 months ago

Hello, I have the exact same problem as in this post: https://www.joomshaper.com/forum/question/34236 There is old code in the new template which is not compatible with Joomla 4 (specifically, "JHtml::('behavior.modal', 'a.modal-button');" However, this post does not tell me how to solve it.

I am upgrading a Joomla 3 site to Joomla 4 and have the latest versions of the Hope Template (2.0.2) and Helix 3 (3.0.5).

I can't allow admin access to the site because it is on an internal staging site.

Please let me know how I can correct this.

0
12 Answers
Atick Eashrak Shuvo
Atick Eashrak Shuvo
Accepted Answer
Support Agent 6 months ago #191374

Hi there!

Thank you for bringing this to our attention, and I sincerely apologize for the inconvenience caused.

To assist you more effectively, may I kindly request temporary administrative access to your site? This will allow me to thoroughly investigate and resolve the issue for you.

Before sharing the credentials, I strongly recommend taking a complete backup of your site to ensure all data remains secure.

Looking forward to your response.

Best regards

0
C
Cat
Accepted Answer
6 months ago #191395

No, as I said in my original message, this site is on a staging environment behind a firewall. I am not able to give you admin access.

Can you please tell me what code changes I need to make, or provide me with a patch to install?

0
Atick Eashrak Shuvo
Atick Eashrak Shuvo
Accepted Answer
Support Agent 6 months ago #191396

You install the quickstart or the template?

0
C
Cat
Accepted Answer
6 months ago #191397

The template, not the quickstart.

0
Atick Eashrak Shuvo
Atick Eashrak Shuvo
Accepted Answer
Support Agent 6 months ago #191399

Thank you for the clarification.

Since we are unable to replicate this issue in the latest version and do not have access to your environment, it is difficult to determine the exact cause without more detailed information. Could you please enable Debug System and Error Reporting to Maximum from your Global Configuration settings? Then, kindly share the full error message or any related debug information with us.

This will help us better understand the issue and guide you with the necessary code changes or a patch.

Looking forward to your reply.

0
C
Cat
Accepted Answer
6 months ago #191403

The error message: 500 behavior::modal not found.

Call stack: https://ibb.co/RT5WWRmm

0
C
Cat
Accepted Answer
6 months ago #191404

Sorry, I should have said: this error is generated by clicking any "Edit" link next to any article on the site frontend.

0
Atick Eashrak Shuvo
Atick Eashrak Shuvo
Accepted Answer
Support Agent 6 months ago #191405

Could you please rename JRoot/templates/shaper_hope/html/layouts/joomla/editors/buttons.php file and check is the issue solved?

0
C
Cat
Accepted Answer
6 months ago #191408

Yes, that solves the issue. Does that mean the buttons.php file is not necessary for the functionality of the template?

0
Atick Eashrak Shuvo
Atick Eashrak Shuvo
Accepted Answer
Support Agent 6 months ago #191409

Yes, you can remove the buttons.php file. Template overrides are meant to modify the design, not the functionality. Removing it will not cause any issues with the core functionality of the template.

0
C
Cat
Accepted Answer
6 months ago #191410

I see, thank you! Maybe you could also remove this file from future versions of this template? Otherwise it will break again on the next update.

0
Atick Eashrak Shuvo
Atick Eashrak Shuvo
Accepted Answer
Support Agent 6 months ago #191411

I have checked, and the file is not causing any issues in our environment. It may be related to your server environment. However, I will make a note of this and consider it for future updates.

0