Open link on content pape in new window (target=_blank)

Open link on content pape in new window (target=_blank)

This question is answered
target_blank.JPG

Hello,

we would like to open the links created and inserted on content pages in new windows. If you take a look at the attached file, the option is available! But does not have any effect, if i change it to: open in new window _blank, it will still open in the same brower window.

Questions:

1. Somebody has the same problem, or ideas to solve it?
2. Can someone post how it should look like, if i implement "target=_blank" into the html code via html view?

 

Thanks and regards
Jakob

Verified Answer
  • Bump.

  • Jakob, can you let me know what version of Telligent Enterprise you are using and some specifics about the browser you are using too?

    I just tested with our 5.6/2.6 release using Internet Explorer 8 and it worked fine.

    I did notice in your screen shot of the link editor that the Link Url field contains HTML with an anchor tag with href already defined. Normally this should just be the link, like "telligent.com/support" - perhaps that is what is creating the issue you are seeing.

  • Hi Dan. Jakob is on my site and we have the same problem.
    The property "Target - Open in new window (_blank)"  is ignored ... also in wikis
    The link is always opened in the same tab

    We are running telligent 2.6.582.12783

    Same effect in IE7 and Firefox 4.0.1

  • This is a known issue.  It is fixed in our latest hotfix builds for 5.6, however you can correct the issue without installing a hotfix by following the following steps:

    1. Edit communityserver.config
    2. Locate the <HtmlSanitization> section
    3. Locate <Tag name="a">
    4. Change <Attribute name="targets" /> to <Attribute name="target" />
  • Yep! Thanx Alex

    It works.

    Unfortunately you have to edit/save the wiki article on more time

  • Well done.

    Thanks to all.

All Replies
  • Bump.

  • Jakob, can you let me know what version of Telligent Enterprise you are using and some specifics about the browser you are using too?

    I just tested with our 5.6/2.6 release using Internet Explorer 8 and it worked fine.

    I did notice in your screen shot of the link editor that the Link Url field contains HTML with an anchor tag with href already defined. Normally this should just be the link, like "telligent.com/support" - perhaps that is what is creating the issue you are seeing.

  • Hi Dan. Jakob is on my site and we have the same problem.
    The property "Target - Open in new window (_blank)"  is ignored ... also in wikis
    The link is always opened in the same tab

    We are running telligent 2.6.582.12783

    Same effect in IE7 and Firefox 4.0.1

  • This is a known issue.  It is fixed in our latest hotfix builds for 5.6, however you can correct the issue without installing a hotfix by following the following steps:

    1. Edit communityserver.config
    2. Locate the <HtmlSanitization> section
    3. Locate <Tag name="a">
    4. Change <Attribute name="targets" /> to <Attribute name="target" />
  • Yep! Thanx Alex

    It works.

    Unfortunately you have to edit/save the wiki article on more time

  • Well done.

    Thanks to all.

  • Instead of editing the communityserver.config file you could add the following code to the communityserver_override.config file:

    <Override xpath="/CommunityServer/HtmlSanitization/AllowedHtml/Tags/Tag[@name='a']/Attribute[@name='targets']" mode="remove" />
    <Override xpath="/CommunityServer/HtmlSanitization/AllowedHtml/Tags/Tag[@name='a']" mode="add" >
    <Attribute name="target" />
    </Override>

    Davi