Flatna2 portfolio Javascript removing HTML
Last Post 01/20/2015 9:41 AM by Amanda Thomas. 10 Replies.
Author Messages
Amanda Thomas
Nuke Pro
Nuke Pro
Posts:73


--
12/15/2014 8:11 AM  
I’m using a modified version of the Flatna2 skin, and have a page set up similar to this: http://demo.dnnrox.com/flatna2/Port...lumns.aspx

I want to use this to link to PDF files of reports that can be downloaded or read online (on issuu.com). I would like to do this by adding links underneath the description in the popup window.

However, something in the javascript is removing my tags so that everything in the description
is just plain text. (See screenshot I've attempted to attach here.) How can I fix that?
Joseph Craig
DNN MVP
Posts:11667


--
12/15/2014 10:41 AM  
For now, try sending the screen shot to me using the Contact form at patapscoresearch.com.

Joe Craig, Patapsco Research Group
Complete DNN Support
Amanda Thomas
Nuke Pro
Nuke Pro
Posts:73


--
12/15/2014 11:44 AM  
I did not see any way of attaching a file to that form, but I did upload my screenshot here:
http://grab.by/D6gM

Thanks!
Joseph Craig
DNN MVP
Posts:11667


--
12/15/2014 12:18 PM  
I can't tell very much from the screenshot.

Are the links present in the source?

Joe Craig, Patapsco Research Group
Complete DNN Support
Amanda Thomas
Nuke Pro
Nuke Pro
Posts:73


--
12/15/2014 12:39 PM  
There are no links in the source.... something is removing them.
Joseph Craig
DNN MVP
Posts:11667


--
12/15/2014 1:06 PM  
Is there a way I can look at the site?

Joe Craig, Patapsco Research Group
Complete DNN Support
Amanda Thomas
Nuke Pro
Nuke Pro
Posts:73


--
12/15/2014 2:29 PM  
Unfortunately, this is on our new site which is still being developed on a test server unaccessible to the public.
Amanda Thomas
Nuke Pro
Nuke Pro
Posts:73


--
01/16/2015 11:04 AM  
This page is now live at http://apps.rcu.msstate.edu/Researc...ports.aspx

If you click either of the thumbnails, you'll see "Download PDF Read online" at the end of the description that pops up. Those should be two different links.

Digging around, I think it could be something in prettify.js but not sure.
http://apps.rcu.msstate.edu/Portals...rettify.js
Joseph Craig
DNN MVP
Posts:11667


--
01/16/2015 1:30 PM  
It seems to strip the a tag, leaving only the text.

Where is prettify being called?

Joe Craig, Patapsco Research Group
Complete DNN Support
Amanda Thomas
Nuke Pro
Nuke Pro
Posts:73


--
01/20/2015 9:39 AM  
It is linked in the footer. I'm not sure if that's what you mean by it being "called".
Amanda Thomas
Nuke Pro
Nuke Pro
Posts:73


--
01/20/2015 9:41 AM  
Whenever I remove the link to prettify, the pop-up boxes stop working, so I assume it's in there?


---