External cshtml

Posted by Community Admin on 05-Aug-2018 18:14

External cshtml

All Replies

Posted by Community Admin on 21-Apr-2015 00:00

If I created a dynamic module am I able to pull the Detail view template out to the file system?

Posted by Community Admin on 21-Apr-2015 00:00

Yes, you can:

1. Create a subfolder under Views, named as your dynamic content type (in singular)

2. Create Detail.viewname.cshtml for the detail view or List.viewname.cshtml for the list view - viewname can be anything you choose. If it is the same as the dynamic content type name, it will override the template defined in the backend. Otherwise, backend and file system templates will co-exist nicely. 

This thread is closed