This is a regular content page
There are three ways to display your staff members.
Use the "get all staff" macro
- Insert the "Get all staff" macro on the page you created. This will display all pages of "staffListing" doctype
Use the "display selected staff" macro
If you want to easily display several staff members, but not everyone
- Click on the "Add Content" Button in a cell in a single column or similarly wide row.
- Insert the "SA_Show Selected Staff" macro on the Staff page you created.
- check the boxes in front of the people you want to display
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"
Show Selected Staff Macro
Using Person Cards
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?) tegjylnx.g3y(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
Get All Staff macro