freescout-help-desk / freescout

FreeScout — Free self-hosted help desk & shared mailbox (Zendesk / Help Scout alternative)
https://freescout.net
GNU Affero General Public License v3.0
2.75k stars 468 forks source link

Module Custom Homepage HTML Issue. #4052

Closed tuton012 closed 1 month ago

tuton012 commented 1 month ago

Hello, I am currently facing this problem with the custom homepage. I try to create a homepage, but once I add my code, it breaks the settings page, not allowing me to remove it. The only way is to remove it from the.env file. How do I add a custom home page? I'm trying to add a better layout, but it still doesn't work. It still has the same issue with the default code when I hit save. No error on the log.

Module: Custom Homepage Module Version: 1.0.5

Screenshot 2024-06-02 at 11 20 24 PM

Here when I click saved

Screenshot 2024-06-02 at 11 21 11 PM

Here's how it looks on front end

Screenshot 2024-06-02 at 11 21 48 PM

PHP version: 8.2.19 FreeScout version: 1.8.141 Database: Mysql (10.11.8-MariaDB-ubu2204) Are you using CloudFlare: Yes Are you using non-official modules: No

tuton012 commented 1 month ago

Heres the code I am using

https://support-tools.com/?7dc3f132052426c4#gpkc3yqimcMDvG8tPUR6NYx429iKpBp6VXUSCsMuC2w

freescout-helpdesk commented 1 month ago

The module does not allow to enter the whole HTML of the page including <html>, <head>, <body> tags. You should insert only content of the page body. Here is how it should be done:

2024-06-03_08-29-29

tuton012 commented 1 month ago

Got it thank you