[Progress Communities] [Progress OpenEdge ABL] Forum Post: RE: Create MVC page template from existing database template

  • Thread starter Thread starter jread
  • Start date Start date
Status
Not open for further replies.
J

jread

Guest
The typical process for creating a page template would start in a ResourcePackage folder, ie. ~/ResourcePackages/{YOURNAME}/Mvc/Views/layouts/{name}.cshtml you can create multi areas within that layout file for the page template editor(admin portal) to recognize as a droppable area with the @Html.SfPlaceholder("") once this file is created when you load the page template screen (admin portal) you will have that blank template, drop and drop your widget where needed or layour grids. You can then use that template as 'master' withing the sitefinity page template area, create a new template 'child' as use the 'master' as the base. Now every time you use the layout file from that resource package folder it will use all the widget templates available in the /Views/{ContentType}/List.{NAME}.cshtml or Detail{NAME}.cshtml

Continue reading...
 
Status
Not open for further replies.
Back
Top