Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

content from a remote server with javascript #6618

Closed
franzpeter opened this issue Mar 31, 2015 · 5 comments
Closed

content from a remote server with javascript #6618

franzpeter opened this issue Mar 31, 2015 · 5 comments

Comments

@franzpeter
Copy link

Steps to reproduce the issue

There are content providers like Icecat, who offer a method to get content from a remote server into local page via Javascript. So you can display that inside a Joomla article for example by inserting that code (if tinymce for example is configured to allow js). It will get encoded with CDATA. I did try out but receive DOM error while using with Joomla. Creating a normal php file (not Joomla) works without any problem. Tried with WP: no problem. So I think there may be a problem with Joomla. Did add a picturescreen shot 2015-03-31 at 09 36 37 to better demonstrate what I mean.

Expected result

correct display, loading everything and showing up

Actual result

DOM error, picture gallery not loaded.

System information (as much as possible)

Joomla 3.4.1

Additional comments

@franzpeter
Copy link
Author

You can check here. It is a simple php page that by default and without joomla works without problems. Your text to link here...


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/6618.

@OctavianC
Copy link
Contributor

  • Blocked loading mixed active content "http://live.icecat.biz/js/live-current.js"
    Your example page doesn't work because it's using SSL while your script inclusion isn't.
  • I've just tested this in a default Joomla! installation and everything works fine.
    untitled-1
  • I also disabled tinyMCE (all editors are known to cause issues when you're trying to embed your own code) and switched to "Editor - None" during my test.

@franzpeter
Copy link
Author

OctavianC, and you do not get something like SyntaxError: DOM Exception 12: An invalid or illegal string was specified.
tlive-current.js:2:236435
Morelive-current.js:2:236778
renderlive-current.js:2:247317
allLoadedlive-current.js:2:246939
clive-current.js:2:369900
successlive-current.js:2:370316
onloadlive-current.js:2:369069
?
On my localhost I have no SSL, but getting that error above!


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/6618.

@brianteeman
Copy link
Contributor

Sorry but this is a support type question and belongs on the forum not on the core joomla issue tracker

@franzpeter
Copy link
Author

I do not understand why it was closed. The issue does not exist using the protostar template but it exists using beez template. Beez produces the DOM exception 12, protostar does not.


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/6618.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants