DNN Forums

Ask questions about your website to get help learning DNN and help resolve issues.

journal link PROBLEMS 2

Sort:
You are not authorized to post a reply.





New Around Here





    When adding an external link to Journal  - the app fetches title of the page, sometimes description and oftern even an image from the page. 

    Problem is that the link does not work so users need to copy and paste the URL from the text-field

    The TITLE is not HTML-encoded but the description is, but. making the content of the popup preview very confusing for users. 

    Is there any way I con fix this myself.   maybe solution 

    1. Not html-encode the description field  in preview
    2. maybe html-decode the description field in preview

    This is what it looks like

    confgusing decscription

    The page I link to is utf-8 none encoded
    source linked page

    I tried to remove html encoding and escaping from the  /Portals/DesktopModules/Journal/scripts/journal.js
    but that did not help
    Journal Script Code

    In database TABLE the data is saved in the same field {ItemData} But with different encoding:
    ITEM-DATA

    Any help appreciated,  would like to make this less confusing for the USERS.






    Veteran Member





      What version of DNN are you using?
      I think there's some kind of a fix regarding encoding of journal items in DNN 9.8
      But I'm not sure if it's related to this issue.
      If I understand at least apart of you question correctly you would want an option that the Journal editor does not "load the URL and create a preview"?






      New Around Here





        Thank you

        Well not quite, I would like the journal to not html-encode the description value, or
        else, if displaing the description value to show it decoded  as it does when the linkj is submittet and shown in the log. 

        The problem is only after link is written in text box, but yet not submittet.   
        After the link is submittet it is shown html-encoded-decoded in the journal.  and here it looks normal






        New Around Here





          I am testing on 3 different servers. 


          DNN 9,8,0 new installation located in Denmark
          DNN 9,8,0 upgraded version on Azure in EU (Holland)
          DNN 9,8,0 upgraded version hosted on UK server (England)

           

          You are not authorized to post a reply.

          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:

          1. If you have (suspected) security issues, please DO NOT post them in the forums but instead follow the official DNN security policy
          2. No Advertising. This includes the promotion of commercial and non-commercial products or services which are not directly related to DNN.
          3. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
          4. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
          5. No Flaming or Trolling.
          6. No Profanity, Racism, or Prejudice.
          7. Site Moderators have the final word on approving / removing a thread or post or comment.
          8. English language posting only, please.

          Would you like to help us?

          Awesome! Simply post in the forums using the link below and we'll get you started.

          Get Involved