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

Forums / Module Builder / Module per Content Type or 1 Module with lots of Content Types

Module per Content Type or 1 Module with lots of Content Types

7 posts, 1 answered
  1. David Rhodes
    David Rhodes avatar
    42 posts
    Registered:
    24 May 2005
    19 Mar 2014
    Link to this post

    Hi,

     I've created a Module which now has 2 Content Types, is this the correct way to do it or should I create a module for each Content Type?

    The problem I have is that I need to delete 1 Content Type from my Module, there doesn't seem to be an option to do that so i'm wondering if i'm doing things wrong

  2. David Rhodes
    David Rhodes avatar
    42 posts
    Registered:
    24 May 2005
    24 Mar 2014
    Link to this post
    Hi David ,

    It is advisable to create separate modules for your custom content, rather than making new content types in just one dynamic module, unless your content structure does not explicitly needs the module created this way. 

    Unfortunately there is no way to remove only one of the content types from a module with 2+ content types. I would suggest to delete the module and then recreate only the needed content type for this module. 

    Regards,
    Pavel Benov
    Telerik
     
    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 Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
     
    Answered
  3. Wagner
    Wagner avatar
    21 posts
    Registered:
    05 May 2011
    14 Apr 2014 in reply to David Rhodes
    Link to this post

    It is advisable to create separate modules for your custom content, rather than making new content types in just one dynamic module, unless your content structure does not explicitly needs the module created this way. 

     Can you please clarify why is this the recommended way? 

  4. gregory hernandez
    gregory hernandez avatar
    59 posts
    Registered:
    10 Jul 2009
    17 Apr 2014 in reply to Wagner
    Link to this post

    +1 on Wagner's request to clarify.

    For example:
    If I want to create an employee directory as well as a department directory and my intention is to relate employees and departments, is your recommendation that I create separate directory modules? Or, 1 module with employee and department content types?

    Thanks,
    Gregory

  5. Steve
    Steve avatar
    3037 posts
    Registered:
    03 Dec 2008
    17 Apr 2014 in reply to gregory hernandez
    Link to this post

    Theres really no difference eitherway except if you keep them in tbe same module the menu structure looks nicer....but theres no functional difference to the user or developer oitside of that...this assumes the employee/directory example above.

  6. David Rhodes
    David Rhodes avatar
    42 posts
    Registered:
    24 May 2005
    17 Apr 2014
    Link to this post
    If everything is in 1 module, you can't disable/delete a content type individually. That's the problem I had.
  7. Steve
    Steve avatar
    3037 posts
    Registered:
    03 Dec 2008
    17 Apr 2014
    Link to this post

    You can delete child types in 7 now btw

7 posts, 1 answered