More in this section

Forums / Developing with Sitefinity / How to create a Sitefinity custom article.

How to create a Sitefinity custom article.

4 posts, 0 answered
  1. Joe
    Joe avatar
    64 posts
    Registered:
    05 Jul 2012
    11 Jun 2008
    Link to this post

    I posted an article on my website on developing a Sitefinity custom article on my website.

    Excerpt of the document.

    This document outlines how to create a custom Sitefinity module by modifying the SEVDNUG.Contacts module.  The SEVDNUG.Contacts module was based on the Samples.Contacts module found on the Sitefinity blog.  This document gives you step by step directions on how to modify/tweak this SEVDNUG.Contacts module to implement your new custom module.  In addition, I attempt to explain what each file is used for. This sample module is constructed in a very similar to the way the modules of Sitefinity application are constructed. As a result, you should be able to use parts of this document to figure out how to customize certain features of Sitefinity modules. After completing the “First Steps” and “Modify the Code” sections of this document, your new module will be available on your Sitefinity site.


    The article: How to create a Sitefinity custom module.

    I hope that you will find it useful.
    Joseph Guadagno
    My personal site
    Southeast Valley .NET User Group

  2. Pierre
    Pierre avatar
    433 posts
    Registered:
    16 Feb 2006
    13 Jun 2008
    Link to this post
    Hi Joseph,

    Thanks for effort in this article. I'm wait your contact to work together to the suggestion point imagelibrary inside Newslist/Event.
    After controling your code I have this problem. Could you help to fix-it. plz. The solution generate in some case one error in public side of ContactList. After create and added the Module, and add some items inside, when you use the ControlList Usercontrol you have this error in public side :

    ERROR ->Line 67.

    Détails de l'exception: System.NullReferenceException: Object reference not set to an instance of an object.  
     
    Erreur source:   
     
     
    Ligne 65 :         {  
    Ligne 66 :             Contacts query = new Contacts();  
    Ligne 67 :             query.LoadAll();  
    Ligne 68 :             return query;  
    Ligne 69 :         }  
       
     
    Fichier source : G:\DELL USERS\RPIERRE\CSHARP-VS2005-Projects\32sp2-1616 MODULES FOR V32SP2\SEVDNUG.Contacts\SEVDNUG.Contacts.Data\DefaultProvider.cs    Ligne : 67   
     
     
     
    In some case works, and in others generate this error. The module compile without errors.

    Regards
  3. Joe
    Joe avatar
    64 posts
    Registered:
    05 Jul 2012
    13 Jun 2008
    Link to this post
    Can you replicate when this error happens?  Is it with certain filters or conditions?  With certain data?
  4. Joe
    Joe avatar
    64 posts
    Registered:
    05 Jul 2012
    17 Jun 2008
    Link to this post
    I have posted this project on Codeplex at http://www.codeplex.com/SEVDNUGContacts.  Please download the code, report any issues and make any modifications.

    Thanks,
    Joseph Guadagno
    Personal Site: http://www.josephguadagno.net
    Southeast Valley .NET User Group
Register for webinar
4 posts, 0 answered