HTML Submission Message

ranggasan

New Member
Hello,

I create custom submission message using HTML in redirect plugin, but in recent joomla update, the submission message don't executed correctly, it show HTML code in the front end instead

When I replicate this issue, I found that this problem was occurred in joomla 3.9.25

Anyone know how to fix it?

-------------------------------
Joomla: 3.9.26
Fabrik: 3.9.2
PHP: 7.3.3
 
I can't replicate, HTML is displayed correctly no matter if it's in a system message or a popup.
Correct HTML syntax?
Did you try frontend and backend?
Do you have custom templates, CSS?
 
I'm using this plugin (redirect)

redirect-plugin.jpg


Here is the code:

HTML:
<html>
   <head>
      <link rel="stylesheet" href="https://standarpangan.pom.go.id/media/custom_files/notif/lobibox.min.css"/>
      <link rel="stylesheet" href="https://standarpangan.pom.go.id/media/custom_files/notif/animate.css"/>
     
      <script src="https://standarpangan.pom.go.id/media/custom_files/notif/jquery-1.11.1.min.js"></script>
      <script src="https://standarpangan.pom.go.id/media/custom_files/notif/lobibox.min.js"></script>
      <script src="https://standarpangan.pom.go.id/media/custom_files/notif/notifications.min.js"></script>
      <script src="https://standarpangan.pom.go.id/media/custom_files/notif/messageboxes.min.js"></script>
   </head>
  
   <body>
   <style>
     .alert.alert-message {
       display: none;
   </style>

      <script>
        Lobibox.notify('success', {
        pauseDelayOnHover: true,
        continueDelayOnInactiveTab: false,
        position: 'bottom left',
        showClass: 'zoomInUp',
        hideClass: 'zoomOutDown',
        title: 'Sukses!',
        msg: 'Data berhasil diupdate.'
        });
      </script>
   </body>
</html>

The result should be like this

notif.png


The code is working on joomla 3.9.24 and below, but after update to joomla 3.9.25 and up, the code is not working, only display default message with the syntax in it

message.png


I tried both frontend and backend but all to no avail and I'm not using custom template & CSS for fabrik
 
If it's working with J!3.9.24 it's a Joomla thing.
I assume it was just by chance working, putting additional html/head/body tags into an existing page is not valid.

Why aren't you doing something like
<h2>Sukses!</h2>
Some text...
 
I thought I could customize submission message using html and css so that we can create pop up message on submission instead using default notification. Because so far, I have not encountered any problems until recent joomla update

Very well then, thanks for the clarification troester
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top