Meet Our Staff
This is from the "StaffPage" DocTpe
There are several ways to display your staff members.
Use the "get all staff" macro
- Create a new page from the "Staffpage" doctype.
- Create a separate childpage for each staff member.
- Insert the "Get all staff" macro on the Staff page you created.
Use the "Show Selected Staff" macro
- Insert the "show selected staff" macro on the Staff page you created.
- In the macro, click on the staffperson nodes that you want to display
- Click "save"
Use the "Person Card" widget
- Click on the "Add Content" Button in a cell in a three or four-column row.
- Select the "Person Card" Option
- Fill in the requested content in the overlay panel that pops up on the right.
- Click "save"
Staff cards created using Get All Staff macro
Using Show Selected Staff
Staff Cards created using a Person Card
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.CompilationFailedException: One or more compilation failures occurred: W:\web\websites\StudentAffairs\StudentAffairs_Umbraco13_Staging\app_plugins\doctypegrideditor\render\doctypegrideditor.cshtml(1,19): error CS0234: The type or namespace name 'DocTypeGridEditor' does not exist in the namespace 'Our.Umbraco' (are you missing an assembly reference?) W:\web\websites\StudentAffairs\StudentAffairs_Umbraco13_Staging\app_plugins\doctypegrideditor\render\doctypegrideditor.cshtml(4,26): error CS1061: 'DocTypeGridEditorHelper' does not contain a definition for 'RenderDocTypeGridEditorItem' and no accessible extension method 'RenderDocTypeGridEditorItem' accepting a first argument of type 'DocTypeGridEditorHelper' could be found (are you missing a using directive or an assembly reference?) tokjvncv.wkh(40,16): error CS0246: The type or namespace name 'DocTypeGridEditorHelper' could not be found (are you missing a using directive or an assembly reference?) at Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.RuntimeViewCompiler.CompileAndEmit(RazorCodeDocument codeDocument, String generatedCode) at Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.RuntimeViewCompiler.CompileAndEmit(String relativePath) at Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.RuntimeViewCompiler.OnCacheMiss(String normalizedPath) --- End of stack trace from previous location --- at Microsoft.AspNetCore.Mvc.Razor.RazorViewEngine.CreateCacheResult(HashSet`1 expirationTokens, String relativePath, Boolean isMainPage) at Microsoft.AspNetCore.Mvc.Razor.RazorViewEngine.LocatePageFromPath(String executingFilePath, String pagePath, Boolean isMainPage) at Umbraco.Cms.Web.Website.ViewEngines.ProfilingViewEngine.GetView(String executingFilePath, String viewPath, Boolean isMainPage) at Microsoft.AspNetCore.Mvc.ViewFeatures.HtmlHelper.RenderPartialCoreAsync(String partialViewName, Object model, ViewDataDictionary viewData, TextWriter writer) at Microsoft.AspNetCore.Mvc.ViewFeatures.HtmlHelper.PartialAsync(String partialViewName, Object model, ViewDataDictionary viewData) at AspNetCore.Views_Partials_grid_editors_base.ExecuteAsync() in W:\web\websites\StudentAffairs\StudentAffairs_Umbraco13_Staging\Views\Partials\grid\editors\base.cshtml:line 6
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.CompilationFailedException: One or more compilation failures occurred: W:\web\websites\StudentAffairs\StudentAffairs_Umbraco13_Staging\app_plugins\doctypegrideditor\render\doctypegrideditor.cshtml(1,19): error CS0234: The type or namespace name 'DocTypeGridEditor' does not exist in the namespace 'Our.Umbraco' (are you missing an assembly reference?) W:\web\websites\StudentAffairs\StudentAffairs_Umbraco13_Staging\app_plugins\doctypegrideditor\render\doctypegrideditor.cshtml(4,26): error CS1061: 'DocTypeGridEditorHelper' does not contain a definition for 'RenderDocTypeGridEditorItem' and no accessible extension method 'RenderDocTypeGridEditorItem' accepting a first argument of type 'DocTypeGridEditorHelper' could be found (are you missing a using directive or an assembly reference?) tokjvncv.wkh(40,16): error CS0246: The type or namespace name 'DocTypeGridEditorHelper' could not be found (are you missing a using directive or an assembly reference?) at Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.RuntimeViewCompiler.CompileAndEmit(RazorCodeDocument codeDocument, String generatedCode) at Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.RuntimeViewCompiler.CompileAndEmit(String relativePath) at Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.RuntimeViewCompiler.OnCacheMiss(String normalizedPath) --- End of stack trace from previous location --- at Microsoft.AspNetCore.Mvc.Razor.RazorViewEngine.CreateCacheResult(HashSet`1 expirationTokens, String relativePath, Boolean isMainPage) at Microsoft.AspNetCore.Mvc.Razor.RazorViewEngine.LocatePageFromPath(String executingFilePath, String pagePath, Boolean isMainPage) at Umbraco.Cms.Web.Website.ViewEngines.ProfilingViewEngine.GetView(String executingFilePath, String viewPath, Boolean isMainPage) at Microsoft.AspNetCore.Mvc.ViewFeatures.HtmlHelper.RenderPartialCoreAsync(String partialViewName, Object model, ViewDataDictionary viewData, TextWriter writer) at Microsoft.AspNetCore.Mvc.ViewFeatures.HtmlHelper.PartialAsync(String partialViewName, Object model, ViewDataDictionary viewData) at AspNetCore.Views_Partials_grid_editors_base.ExecuteAsync() in W:\web\websites\StudentAffairs\StudentAffairs_Umbraco13_Staging\Views\Partials\grid\editors\base.cshtml:line 6
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.CompilationFailedException: One or more compilation failures occurred: W:\web\websites\StudentAffairs\StudentAffairs_Umbraco13_Staging\app_plugins\doctypegrideditor\render\doctypegrideditor.cshtml(1,19): error CS0234: The type or namespace name 'DocTypeGridEditor' does not exist in the namespace 'Our.Umbraco' (are you missing an assembly reference?) W:\web\websites\StudentAffairs\StudentAffairs_Umbraco13_Staging\app_plugins\doctypegrideditor\render\doctypegrideditor.cshtml(4,26): error CS1061: 'DocTypeGridEditorHelper' does not contain a definition for 'RenderDocTypeGridEditorItem' and no accessible extension method 'RenderDocTypeGridEditorItem' accepting a first argument of type 'DocTypeGridEditorHelper' could be found (are you missing a using directive or an assembly reference?) tokjvncv.wkh(40,16): error CS0246: The type or namespace name 'DocTypeGridEditorHelper' could not be found (are you missing a using directive or an assembly reference?) at Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.RuntimeViewCompiler.CompileAndEmit(RazorCodeDocument codeDocument, String generatedCode) at Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.RuntimeViewCompiler.CompileAndEmit(String relativePath) at Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.RuntimeViewCompiler.OnCacheMiss(String normalizedPath) --- End of stack trace from previous location --- at Microsoft.AspNetCore.Mvc.Razor.RazorViewEngine.CreateCacheResult(HashSet`1 expirationTokens, String relativePath, Boolean isMainPage) at Microsoft.AspNetCore.Mvc.Razor.RazorViewEngine.LocatePageFromPath(String executingFilePath, String pagePath, Boolean isMainPage) at Umbraco.Cms.Web.Website.ViewEngines.ProfilingViewEngine.GetView(String executingFilePath, String viewPath, Boolean isMainPage) at Microsoft.AspNetCore.Mvc.ViewFeatures.HtmlHelper.RenderPartialCoreAsync(String partialViewName, Object model, ViewDataDictionary viewData, TextWriter writer) at Microsoft.AspNetCore.Mvc.ViewFeatures.HtmlHelper.PartialAsync(String partialViewName, Object model, ViewDataDictionary viewData) at AspNetCore.Views_Partials_grid_editors_base.ExecuteAsync() in W:\web\websites\StudentAffairs\StudentAffairs_Umbraco13_Staging\Views\Partials\grid\editors\base.cshtml:line 6
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.CompilationFailedException: One or more compilation failures occurred: W:\web\websites\StudentAffairs\StudentAffairs_Umbraco13_Staging\app_plugins\doctypegrideditor\render\doctypegrideditor.cshtml(1,19): error CS0234: The type or namespace name 'DocTypeGridEditor' does not exist in the namespace 'Our.Umbraco' (are you missing an assembly reference?) W:\web\websites\StudentAffairs\StudentAffairs_Umbraco13_Staging\app_plugins\doctypegrideditor\render\doctypegrideditor.cshtml(4,26): error CS1061: 'DocTypeGridEditorHelper' does not contain a definition for 'RenderDocTypeGridEditorItem' and no accessible extension method 'RenderDocTypeGridEditorItem' accepting a first argument of type 'DocTypeGridEditorHelper' could be found (are you missing a using directive or an assembly reference?) tokjvncv.wkh(40,16): error CS0246: The type or namespace name 'DocTypeGridEditorHelper' could not be found (are you missing a using directive or an assembly reference?) at Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.RuntimeViewCompiler.CompileAndEmit(RazorCodeDocument codeDocument, String generatedCode) at Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.RuntimeViewCompiler.CompileAndEmit(String relativePath) at Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.RuntimeViewCompiler.OnCacheMiss(String normalizedPath) --- End of stack trace from previous location --- at Microsoft.AspNetCore.Mvc.Razor.RazorViewEngine.CreateCacheResult(HashSet`1 expirationTokens, String relativePath, Boolean isMainPage) at Microsoft.AspNetCore.Mvc.Razor.RazorViewEngine.LocatePageFromPath(String executingFilePath, String pagePath, Boolean isMainPage) at Umbraco.Cms.Web.Website.ViewEngines.ProfilingViewEngine.GetView(String executingFilePath, String viewPath, Boolean isMainPage) at Microsoft.AspNetCore.Mvc.ViewFeatures.HtmlHelper.RenderPartialCoreAsync(String partialViewName, Object model, ViewDataDictionary viewData, TextWriter writer) at Microsoft.AspNetCore.Mvc.ViewFeatures.HtmlHelper.PartialAsync(String partialViewName, Object model, ViewDataDictionary viewData) at AspNetCore.Views_Partials_grid_editors_base.ExecuteAsync() in W:\web\websites\StudentAffairs\StudentAffairs_Umbraco13_Staging\Views\Partials\grid\editors\base.cshtml:line 6
Using Show Single Staffperson Card
Cards below showing "Get All Staff" results from staffpage doctype template