Javascript widget not showing

Post

Posted
Rating:
#3411 (In Topic #643)
Avatar
Standard member
crkgb is in the usergroup ‘Fan in action’
Hello,

Attempting to add a javascript widget to the site and it would not show up.

Any pointers would be appreciated.

Not sure where the code bb-tags are here so not posting it to avoid violating any site rules.
Online now: No Back to the top

Post

Posted
Rating:
#3413
Avatar
Site director
Chris Graham is in the usergroup ‘Administrators’
To debug I'd look at the output HTML to confirm the code is there correctly, and I'd look in the browser's JS Console to look for any error messages.


Become a fan of Composr on Facebook or add me as a friend. Add me on on Twitter. Follow me on Minds (where I am most active). Support me on Patreon

Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Online now: No Back to the top

Post

Posted
Rating:
#3428
Avatar
Standard member
crkgb is in the usergroup ‘Fan in action’
Can't figure it out. Plug any of these widgets in and you will see what I'm talking about

Widget Link
Online now: No Back to the top

Post

Posted
Rating:
#3431
Avatar
Site director
Chris Graham is in the usergroup ‘Administrators’
I just tested and it was okay.

You'll need to provide exact step-by-step instructions (or a video) showing how you're trying to do it.

For example, if you just paste the raw HTML into the editor (WYSIWYG or not) that won't work, it has to be inside Comcode HTML tags or put in under the WYSIWYG source code view.

Additionally, if you're not doing as an admin it will not pass through, for security reasons.


Become a fan of Composr on Facebook or add me as a friend. Add me on on Twitter. Follow me on Minds (where I am most active). Support me on Patreon

Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Online now: No Back to the top

Post

Posted
Rating:
#3433
Avatar
Standard member
crkgb is in the usergroup ‘Fan in action’
I disabled wysiwyg editor and used inside semihtml code tags, tried regular source code view. Not showing up. Wondering if any other javascript could be causing it.
Online now: No Back to the top

Post

Posted
Rating:
#3436
Avatar
Site director
Chris Graham is in the usergroup ‘Administrators’
Ah, semihtml does fail for me. Use the html tag.
semihtml fails because the URL in the JS code is getting parsed into an automatic hyperlink.


Become a fan of Composr on Facebook or add me as a friend. Add me on on Twitter. Follow me on Minds (where I am most active). Support me on Patreon

Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Online now: No Back to the top

Post

Posted
Rating:
#3440
Avatar
Standard member
crkgb is in the usergroup ‘Fan in action’
Thank you very much. That did the trick.
Online now: No Back to the top
1 guest and 0 members have just viewed this.

Statistics

Users online:

Manu, Paul D, amit.nigam, ManojSree, Vaiva, mytracker, Salman, babu, 216 guests

Forum statistics:
  • 996 topics, 4,737 posts, 5,560 members
  • Our newest member is DulcieYoung
Birthdays:
Back to Top