More in this section

Forums / Developing with Sitefinity / Restricting type of content while creating new pages

Restricting type of content while creating new pages

4 posts, 0 answered
  1. Nitin
    Nitin avatar
    51 posts
    Registered:
    14 Aug 2007
    17 Sep 2007
    Link to this post

    Hi.

    Is there a way to restrict content creators to what type of files they can place in a specific content place holder?

    I have a template with one content place holder meant to host Shockwave files and the other one to contain videos only. Yet another place holder should contain links only.

    Please advise!

    Nitin
  2. Pepi
    Pepi avatar
    981 posts
    Registered:
    31 Jan 2017
    18 Sep 2007
    Link to this post
    Hi Nitin,

    Unfortunately, it is not possible for now to restrict the type of files content creators can place in a specific content place holder. But we have already discussed the possibilities to implement control level permissions and security zones for some of the upcoming releases.

    All the best,
    Pepi
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. Nitin
    Nitin avatar
    51 posts
    Registered:
    14 Aug 2007
    18 Sep 2007
    Link to this post
    Pepi,

    Thanks for your reply. I can't wait for it to be implemented :) For now, however, if I can achieve the following, that should do the trick:

    Is there a way to provide custom UI interface with a user control? When the edit button for the is clicked in design mode, I want to display the custom UI interface with one text box and a button that would invoke Shockwave dialog box which is available from generic content editors tool bar.

    I appreciate your help!

    Thanks

    Nitin
  4. Yasen
    Yasen avatar
    121 posts
    Registered:
    18 May 2013
    25 Sep 2007
    Link to this post
    Hi Nitin,

    Please accept our apologies for the late reply, it is due to the release of Sitefinity 3.1.

    It is possible to provide a custom user interface for the generic content control, you can use this technique.
     
    An easier way to customize the generic content editor is to configure the RadEditor that is used. The template for the generic content editor is located in Sitefinity\Admin\ControlTemplates\Generic_Content\EditorTemplate.ascx. To manage the RadEditor to fit your taste, you can see its online documentation.

    However, I don't think you should use generic content for only storing specific data as videos, or shockwave files. A more consistent decision would be to create a simple custom module for each type (i.e. Flash Animations Module) that processes only that kind of data.  Then you will have to define your own controls for presenting and uploading such files.

    I hope this information will help you solve the problem, if you have any other questions please contact us again.

    Sincerely yours,
    Yasen
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Register for webinar
4 posts, 0 answered