Thunder: Create a theme
You can create new themes and upload them on the server and once a theme has been uploaded to the server, you can download it again to a Sitefinity CMS Themes project in your current solution, update it with a theme from your current solution by overwriting the theme on the server, or delete the theme, as long as it is not in use by any templates.
To interact with the themes on the server, they must be in ~\App_Data\Sitefinity\WebsiteTemplates\ or any of its subfolders. All themes that are uploaded by Sitefinity CMS Thunder are located in ~\App_Data\Sitefinity\WebsiteTemplates\Thunder\App_Themes. There you can also find a Backup folder for any themes that have been changed by Sitefinity CMS Thunder.
Create a new theme
To create a new theme, you add the theme to your SitefinityWebApp project.
To do this, perform the following:
- Open the context menu of SitefinityWebApp project and click Add » New Item…
The Add New Item dialog box appears.
- In the left pane, expand Visual C# and click Sitefinity.
In the central pane, select Sitefinity CMS Theme.
- In Name input field, enter the name of the new theme and click Add.
This creates and registers a new theme containing the basic Sitefinity CMS theme under ~/App_Data/Sitefinity/WebsiteTemplates/<ThemeName>/App_Themes/<ThemeName>, where <ThemeName> is the name of the theme that you entered in the Add New Item dialog.
NOTE: You can also create a theme by adding a new theme project in Visual Studio. This option is only available for backward compatibility purposes.
Upload a theme
You can upload a theme to your website and automatically register it.
To do this, in the context menu of the theme folder, click Upload theme.
This will upload the theme to your site and register it.
If you want to test it, you need a page template that is using this theme and a page based on the template.
NOTE: If you experience problems you can check the output window of Visual Studio – there is a separate category Sitefinity CMS Thunder.