Using custom themes
Hi,
Is it already possible to use a custom theme on a template? The "How to upload my own theme?" link on the Edit Template page is not working.
Gr, Patrick
Hi PJulicher,
There should not be a problem to use your own theme. You have to add the theme folder inside /App_Data/Sitefinity/WebsiteTemplates/DefaultTemplate\App_Themes. Then you have to register the theme in Settings >> Configuration >> Appearance >> Forntend themes
Sincerely yours,
Ivan Dimitrov
the Telerik team
Hi Ivan,
In BETA 4: I created a new template by copying the DefaultTemplate folder, keeping the complete file structure and editing the default.master and Layout.css.
I am able to add the template on the page and create a new theme, but when applying this to a page, the correct layout does not show.
Can you give me an example of what needs to be entered in the Path, Namespace and AssemblyInfo fields when creating a new Frontend theme?
Gr, Patrick
Hello PJulicher,
For Path enter the relative path to your theme - ~/App_Data/Sitefinity/WebsiteTemplates/DefaultTemplate/App_Themes/MyCustomTheme
Namespace and AssemblyInfo are used for embedded themes where all files are added as Embedded Resources in a class library.
Best wishes,
Ivan Dimitrov
the Telerik team
Hello,
Hi Maciej,
You should be able to set a theme over a page and templates without issues. I am sending you a sample video.
Kind regards,
Ivan Dimitrov
the Telerik team
Hi Majiec,
I managed to get my custom template working exactly as described by Ivan from Telerik.
Gr, Patrick
I think the bug described in my earlier post is connected with the project location (during project creation I selected different location for it). Later I created a second project and put it where the creator proposed, and the theme adding worked fine.
Hello Maciej Skiba,
We have tested this on several projects - created in directories different the default one, also projects created on IIS. We were unable to reproduce the issue. Could you please double check it the paths you have been using are correct?
Kind regards,
Radoslav Georgiev
the Telerik team