+1-888-365-2779
Try Now
More in this section

Custom Module

6 posts, 0 answered
  1. Chet Pelletier
    Chet Pelletier avatar
    24 posts
    Registered:
    10 Feb 2009
    04 Apr 2007
    Link to this post
    Forgive me if this is a question that is answered somewhere, but I was unable to find a good explanation anywhere.

    I have a project which is pretty well done in Sitefinity 2.7, but at the last second I am debating shifting it to 3.0. The project has serveral modules which I have created for scheduling events, or posting FAQ's, and I would like to move those modules over to 3.0. How do I create a custom module in 3.0. In reviewing the documentation I read the News module could be modified with one step being to modify ~/YourProject/Admin/Templates/News/ControlPanelEdit.ascx, but that doesn't event seem to be a valid path. Can someone point me in the right direction?

     

  2. bnye
    bnye avatar
    332 posts
    Registered:
    22 Sep 2005
    04 Apr 2007
    Link to this post
    For creating brand new modules, I would start with Jobs sample. That made it nice and easy. I created a simple "contact us", "testimonials", and "Document Request" module I would be happy to share with you...but they are in vb.

    The contact us just takes a contact form and sends emails and then stores the contact info for display in the CMS module. it uses a contactService.asmx to put the data in the database and send the emails so that the form can be ajaxified with ajax.net client script.
    The Testimonials module allows cms users to add testimonials from the module section and then displays them in a list...very similar to the News and Events module.
    The Document module is exactly (and I mean exactly) like the Contact Us module. except instead of a RAD Editor for the message it uses a RAD TreeView which is populated by a xml doc of documents.

    Sincerely,

    Ben


  3. Rebecca
    Rebecca avatar
    536 posts
    Registered:
    24 Sep 2012
    05 Apr 2007
    Link to this post
    Hello Ben,

    Sorry for the misprint. The path should be ~/Admin/Templates/News/ControlPanelEdit.ascx if you are using the RC1 update.
    Also, you may have a look at our example in this chapter of the Developer Manual: Extending Sitefinity with Modules and User Controls/Creating a Custom Module.

    Please note that Sitefinity 3.0 is not backward compatible. We suggest that you use the external pages functionality in version 3.0 to use the old Sitefinity 2.7 pages.
    Do not hesitate to contact us if you need any assistance.

    Regards,
    Rebecca
    the telerik team

    Instantly find answers to your questions at the new telerik Support Center
  4. Brook
    Brook avatar
    39 posts
    Registered:
    21 Mar 2007
    10 Nov 2008
    Link to this post
    Ben,

    Do you have functioning versions of your Contact and Testimonials modules available?  I use mainly VB so if they are coded as such that would be perfect.  Let me know.  Thanks!  Let me know an email can reach you at.

    Mine is brook@redbrookdesign.com
  5. bnye
    bnye avatar
    332 posts
    Registered:
    22 Sep 2005
    13 Nov 2008
    Link to this post
    Wow this is an old post. You will have to modify the code to work with the newer versions of SF, but I will try and get it to you. I know the SF team is working on a contact module that might be a better way to go, as it would be "supported".
  6. Pepi
    Pepi avatar
    981 posts
    Registered:
    28 Oct 2016
    13 Nov 2008
    Link to this post
    Hello Brook,

    You could download the latest version of the Contacts sample module from here. For details how to set it please refer to the following blog post: Contacts module finalized

    Hope this helps.

    Sincerely yours,
    Pepi
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Register for webinar
6 posts, 0 answered