Answer the question
In order to leave comments, you need to log in
How to adapt pure HTML5 template for dotnetnuke?
Hello.
I'm trying to figure out how Dotnetnuke works. I can not understand how the template structure for this CMS is arranged. I chose a pure HTML5 site template without codes and adaptations. ( Link to template ) Now I want to adapt it for CMS. On the offsite, the instructions say that you need to select Artisteer, make a template in it and import it into html (as I understand it, I already have a template). After that, the description for me becomes, to put it mildly, incomprehensible.
As I understand it, there is a file with a common HTML file structure and fragments of HTML code are poured into it, which form blocks on the page. I didn't manage to change anything manually. Despite any changes in HTML, even a trifle, such as preview mode, they work, you just have to activate the theme - the HTML code changes to default.<p>Test</p>
For Visual Studio, the site has a special plugin for creating modules and themes. When I try to use it, I get an error - When creating a project using this template, you should have named your projectsimply "ThemeName", not "Christoc.comThemeName". Leaving the fields empty is not an option, without filling them in, the project is not created. Any other options to create a schematic project does not work and produces the same error.
Besides, at creation of the project swears on the missing IIS server. What a hat anyway.
If, in spite of everything, you create a theme project, then you will end up with the following error - Could Not Load Theme: /Portals/_default/skins/dnntheme2/home.ascx, Error: Could not load type 'DNNTheme2DNNTheme2.Home'. At the same time, if you change it to DNNTheme2.Home - the error remains the same - Could Not Load Theme: /Portals/_default/skins/dnntheme2/home.ascx, Error: Could not load type 'DNNTheme2.Home'. It just doesn’t fit for me what and where the module writes, which is recommended on the CMS offsite and why and why it writes like that. After all, this is a tool from the official CMS support, and in order to run it, you need to dance with a tambourine, and you need to look for a tambourine outside the official site.
In general, in recent days I have tried everything that is possible - I did not find sane instructions for adapting the HTML template.
I will be glad for any help.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question