Jump to content
  • 0

The SSLStore module question


Question

Posted

I'm setting up an order form for SSL products.  In each of the products it has a brief summary of product with a link to "View Full Product Details".  Every one of them has this in their description (150 of them).  When you click on it, nothing happens.  It looks like its a javascript call to void(0); but don't know if there's supposed to be CSS or something to launch a window or dialog.  The product details would be pretty important.

3 answers to this question

Recommended Posts

  • 0
Posted

OK, so the problem is that there's a change in CKEditor in Blesta 5.0+.

The HTML code that launches the descriptions are removed by CKEditor when you go into the package.  

In the package description, the following code is appended to the text of the description:

                        $viewmorelink = "<a class='mod_view_more' href='javascript&#58;void(0);' onclick=\"window.open('$sslfeaturelink','null','location=no,toolbar=no,menubar=no,scrollbars=yes,resizable=yes,addressbar=0,titlebar=no,directories=no,channelmode=no,status=no');\"> View Full Product Details</a>";

To fix it, you need to wrap the <a class=...> ... </a> in the following:

<div class="raw-html-embed"> .... </div>

Or just make sure you're using the "Insert HTML" block for that set of code.

  • 0
Posted
  On 8/11/2021 at 9:11 PM, galaxy said:

OK, so the problem is that there's a change in CKEditor in Blesta 5.0+.

The HTML code that launches the descriptions are removed by CKEditor when you go into the package.  

In the package description, the following code is appended to the text of the description:

                        $viewmorelink = "<a class='mod_view_more' href='javascript&#58;void(0);' onclick=\"window.open('$sslfeaturelink','null','location=no,toolbar=no,menubar=no,scrollbars=yes,resizable=yes,addressbar=0,titlebar=no,directories=no,channelmode=no,status=no');\"> View Full Product Details</a>";

To fix it, you need to wrap the <a class=...> ... </a> in the following:

<div class="raw-html-embed"> .... </div>

Or just make sure you're using the "Insert HTML" block for that set of code.

Expand  

Thanks! FYI, we created this task https://dev.blesta.com/browse/CORE-4440

  • 0
Posted
  On 8/11/2021 at 9:11 PM, galaxy said:

OK, so the problem is that there's a change in CKEditor in Blesta 5.0+.

The HTML code that launches the descriptions are removed by CKEditor when you go into the package.  

Expand  

I met very same issue in WHMCS time ago. And I fixed it changing all the js managed links in normal HTML links, opened in a new tab.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...