Create and Edit HTML-only Page

Brendon McCarthy asked on November 3, 2014 23:10

Does anyone know if it is possible to create a simple HTML page within Kentico that does not use any template, web forms, etc. I know it is possible to upload an HTML file and reference it, but what if we want to edit that HTML file, directly in Kentico? We're running 8.1 and using Portal Engine.

The use case here is we need a page that is editable within the CMS, but does not use ASP.NET Web Forms.


Recent Answers

Virgil Carroll answered on November 4, 2014 06:27

I know you could potentially use the WebDav features to be able to open the file with some other program, but I have not seen a way to edit directly in Kentico. Since the Portal Engine requires some kind of Kentico component to be on the page, I am not sure how you would be able edit just an HTML page.

I suppose you could write some kind of custom control to edit the HTML inline by loading it into a WYSIWYG type interface and re-saving it back into the HTML file.

1 votesVote for this answer Mark as a Correct answer

Brenden Kehren answered on November 5, 2014 14:25

To add to Virgil's answer, you might take a look at how the JavaScript app is setup because that does exactly what you're looking for but with JavaScript files. You could create a module to do the same thing but strictly for HTML files.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.