Posted By Reto Cossalter on 17 Jun 2019 05:21 AM Hi Jeff I just tried on a vanilla install of DNN 9.3.2 and added the link to this forum post without problem. The only thing I had to do was: - paste the URL - wait (and do nothing, just leave the link standing there) for about 5 seconds Then the link information popped up beneath the textbox Do you have any message in eventlog?
Ok, I tried that, and it did nothing. Just looks like normal text, even though the whole URL is there, not clickable. And also, I'll post the details in another thread, but the Image uploader has apparently quit working. Could there be any connection between the two issues?
It looks like this is starting to get a addressed if you didn't know. You can check on the status here: https://github.com/dnnsof...n.Platform/pull/4956
I created this jquery which will make the links clickable. The only time it does not work is if the user was to paste the link and delete the actual link text before posting.
var targetDiv = document.querySelectorAll("[id^='jid-'] .journalitem p:first-child"); for(var i=0; i<targetDiv.length;i++){ var sumbittedUrls = $(targetDiv).text(); var urls = sumbittedUrls.match(/(ftp|http|https):\/\/(\w+:{0,1}\w*@)?(\S+)(:[0-9]+)?(\/|\/([\w#!:.?+=&%@!\-\/]))?/);
if($(targetDiv).parent().find('.jlink a').length !== 0) { $(targetDiv).parent().find('.jlink a').attr('href', urls[0]); $('.journalitem p:contains('+(urls[0])+')').each(function(){ $(this).html($(this).html().split(urls[0]).join("")); }); }
}
These Forums are dedicated to the discussion of DNN Platform.
For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:
Awesome! Simply post in the forums using the link below and we'll get you started.