This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| This pattern has a couple of assumptions built in: | |
| 1) All nested content partial views will be saved in the directory: /Views/Partials/NestedContent | |
| 2) All nested content partials views will be named using the alias of the Document Type the | |
| nested content is based on, but starting with an underscore. For example: Document Type | |
| "Full Width Text Component" (alias = fullWidthTextComponent) should have a partial view | |
| named "_FullWidthTextComponent.cshtml". | |
| 3) All Models Builder generated data models are namespaced to "AM.Models". |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .DS_Store | |
| bower_components/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @using umbraco.cms.businesslogic.web | |
| @* A Razor script to add a basic comment function to Umbraco pages | |
| You need a document type called Comment with a textstring property | |
| called commentName and a textbox multiple property called commentMessage | |
| You also need to allow the Comment document type as child document type | |
| to your textpage document type. | |
| Create this script with a macro and add it below the bodyText in your | |
| template(s) *@ |