Create the Conference add-on

  1. Review items to be exported. These include the following:

    • Conferences, Speakers, and Sessions dynamic modules, built with the Module builder
    • Sample dynamic content items.
    • Home page – sample page with Filtered Sessions widget.
    • Sessions, Conferences, and Speakers pages – pages that open when you click an item on the Home page.
    • Filtered Sessions widget – the custom widget that is used to demonstrate how to export custom code.
  2. Navigate to Administration » Export.

  3. Select the following:

    • Conferences dynamic module
    • Speakers dynamic module
    • Sessions dynamic module
    • Pages
  4. Name the add-on folder Conferences

  5. Click Export.
    All selected items are exported to folder ~\App_Data\Sitefinity\Export\Conferences and Conferences.nuspec file is generated automatically including all exported files.

  6. Modify the .nuspecfile in the following way:

    • Include the following:
      XML
      <!--Include the MVC folder in the NuGet package, under <files> tag, add the following:-->
      
      <file src="<your_local_project_path>\Mvc\**\*.*" target="content\Mvc" />
      
      <!--Add a dependency to Telerik.Sitefinity.All, by adding the following inside the <metadata> tag:-->
      
      <dependencies>
        <group targetFramework="net45">
          <dependency id="Telerik.Sitefinity.All" version="9.2.6200.0" />
        </group>      
      </dependencies>
    • Inside the <metadata> tag, update the <authors>, <owners>, and <description> elements.
  7. Generate NuGet package by opening a command prompt and navigating to your project’s ~\App_Data\Sitefinity\Export folder and executing the following command:
    nuget pack Conferences.nuspec

    For more information, see Create the NuGet package

Want to learn more?
Enhance your Sitefinity skills by enrolling in free training sessions. Become Sitefinity certified through Progress Education Community to strengthen your professional credentials.
New to Sitefinity?