Jump to content

Widgets are great!


tommyinnn

Recommended Posts

Hi -- the new Widgets in 4.4.1 are great -- however I am only able to get 2 to work

 

http://wiki.whmcs.com/Widgets

 

The price & product name widget works great -- but the other 1 ( description ) display a blank screen -- when I view source, I can click on the link and I see the description so I know my product # is correct

 

here is my test page -- the product cost & name shows up,, view source and you'll see what I mean.

http://myautodj.com/tester.php

Edited by tommyinnn
Link to comment
Share on other sites

hmmm - i tired that one - but it don't seem to work for me still.... any other ideas?

 

they all go but the description one...

 

also - for validation - add

type="text/javascript"

to each <script> tag

 

and perhaps its worth mentioning that the <style> bit for the table should go to page <head> or at least not inside another element if possible

 

then they validate - script too - very nice - apart from the description no go error....

 

??

Link to comment
Share on other sites

Could it be a possible javascript conflict on your page?

 

I find that hard to believe.

WHMCS Setup

 

That is the link to the page that I am talking about. All but the product description and the order now button is using the widget script. I had to hand type all the product description into it. If the product name and pricing are working then I know it is not a javascript conflict .

Link to comment
Share on other sites

  • WHMCS CEO
The price & product name widget works great -- but the other 1 ( description ) display a blank screen

Glad to hear you like the new widgets feature!

 

And thanks for reporting this issue with the descriptions. There seems to be 2 issues, one with line breaks which the javascript doesn't like and another with descriptions that include single quotes and so we have now released a patch for this here: http://forum.whmcs.com/showthread.php?t=34334#8

 

Matt

Link to comment
Share on other sites

Glad to hear you like the new widgets feature!

 

And thanks for reporting this issue with the descriptions. There seems to be 2 issues, one with line breaks which the javascript doesn't like and another with descriptions that include single quotes and so we have now released a patch for this here: http://forum.whmcs.com/showthread.php?t=34334#8

 

Matt

 

Thanks a ton Matt. I can now close my support ticket. You are the best.

Link to comment
Share on other sites

  • 2 years later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated