More in this section

Forums / Developing with Sitefinity / How to Add new properties in Generic Content ?

How to Add new properties in Generic Content ?

2 posts, 0 answered
  1. humayoo
    humayoo avatar
    89 posts
    25 Oct 2010
    11 May 2011
    Link to this post

    In Generic Content, when go to Edit mode, then go to insert link , there are option , i want to add one new option that this link will open in new window or in same window or in light box.

    when user select light box, then this link will be open light box when user click. Please see the attachment for details.
    please provide me some example and details idea , how to do this ?

  2. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    01 Feb 2016
    13 May 2011
    Link to this post
    Hi humayoo,

    The file that you should edit is called ~/Sitefinity/Admin/ControlTemplates/Pages/Dialogs/LinksEditorDialog.ascx. This dialog returns the link html to the rad editor. What you should do is to edit the insertLink javascript function to add your logic for manipulating the resulting <a> tag.

    Kind regards,
    Radoslav Georgiev
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
2 posts, 0 answered