By Daniel Holdinghausen on Thursday, 18 August 2016
Posted in Technical Issues
Replies 8
Likes 0
Views 419
Votes 0
Hi,

i have put in some Javascript in a article but when i save it the code is delete.

What must be changed?
Hi Daniel,
We need more details in order to investigate this issue.
1. Can you provide us your backend access at http://stackideas.com/dashboard/site ?
2. Can you explain in more detail what method and the steps you used to add your javascript code?
3. Can you provide us the code that you used so we can try to replicate your issue?
Let us know, thanks.
·
Thursday, 18 August 2016 17:02
·
0 Likes
·
0 Votes
·
0 Comments
·
i put in the following Code:

<div id="fde-slot-am-1471506832"></div><script type="text/javascript">/* <![CDATA[ */ var fde = fde || []; fde.push([{ "slotId" : "1471506832" },{ "siteKey" : "hausbauberaterde" },{ "designId" : "6889" },{ "contentType" : "tariffCalcGwt" },{ "productId" : "21" },{ "affiliateCampaignCode" : "" } ]); var fdeJsHost = (("https:" == document.location.protocol) ? "https://" : "http://"); document.write(unescape("%3Cscript src='" + fdeJsHost + "http://www.finanzen.de/s/cms/js/fdeam/fdeam.nocache.js' type='text/javascript'%3E%3C/script%3E"));/* ]]> */</script><iframe src="javascript:''" id='__gwt_historyFrame' style='position:absolute;width:0;height:0;border:0'></iframe>
·
Thursday, 18 August 2016 17:47
·
0 Likes
·
0 Votes
·
0 Comments
·
the is a ")" and a ";"
·
Thursday, 18 August 2016 18:01
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Daniel,
Can you also provide me these two info so I can replicate this issue more accurately?
1. Can you provide us your backend access at http://stackideas.com/dashboard/site ?
2. Can you explain in more detail what method and the steps you used to add your javascript code?
·
Thursday, 18 August 2016 18:08
·
0 Likes
·
0 Votes
·
0 Comments
·
i use the JCE Editor and have activate IFrame ( also the plugin ) and Javascript.
I add a new article change to html and put the code you see there.
After save i fount the following code in html:

<div id="fde-slot-am-1471506832"></div><script type="text/javascript">/* */</script><iframe id="__gwt_historyFrame" style="position:absolute;width:0;height:0;border:0"></iframe>

You see there is a lot ot code delete.
·
Thursday, 18 August 2016 18:17
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Daniel,
After debugging this for some time, we discovered there is some issue with how the code checks for tags in contents. We have perform a temporary fix in the following attached file. I will also log this issue in our tracker so the developers can look into this. You should download and apply it in the following directory.
JoomlaFolder\administrator\components\com_easyblog\includes\string\string.php

Since I do not have your backend access to check your configuration, you should check a few places in the settings and make sure you are not restricting javascript content to be filtered out:

1. JCE Editor > Editor Profiles > selectRelatedProfile > Editor Parameteres > Advanced > Allow Javascript Also make sure Prohibited Elements setting does not contain the content you are using.

2. EasyBlog backend ACL > relatedUserGroup > TextFilters > No disallowed elements in the HTML tags and Attributes

3. Joomla's System > Global Configuration > Text Filters > Filter Type > No filtering for user groups
·
Friday, 19 August 2016 19:20
·
0 Likes
·
0 Votes
·
0 Comments
·
can i use the same file for the version 5.1.4?
·
Tuesday, 25 April 2017 13:52
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Daniel,
This file is from an older version and it cannot be used in the current 5.1.4 version because it has undergo many changes throughout many updates. If you are still experiencing this issue in the latest version, can you start a new thread along with the details so we can investigate it? Thanks.
·
Tuesday, 25 April 2017 14:04
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post