Meet Our Staff

This is from the "StaffPage" DocTpe

There are several ways to display your staff members. 

 

Use the "get all staff" macro

  1. Create a new page from the "Staffpage" doctype. 
  2. Create a separate childpage for each staff member.
  3. Insert the "Get all staff" macro on the Staff page you created.

 

Use the "Show Selected Staff" macro

  1. Insert the "show selected staff" macro on the Staff page you created.
  2. In the macro, click on the staffperson nodes that you want to display
  3. Click "save"

Use the "Person Card" widget

  1. Click on the "Add Content" Button in a cell in a three or four-column row.
  2. Select the "Person Card" Option
  3. Fill in the requested content in the overlay panel that pops up on the right. 
  4. Click "save"

 

 

Staff cards created using Get All Staff macro

Using Show Selected Staff

Spencer Kitten

Spencer Kitten

He/they

Mouser

321 CUB
Another Person

Another Person

She/her/hers

Operations Manager

14 mouser lane
New person

mouser kittentumbles

Zie/zir/zirs

mouser

14 kitten way

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

New person

mouser kittentumbles

Zie/zir/zirs

mouser

14 kitten way

Cards below showing "Get All Staff" results from staffpage doctype template

Spencer Kitten

Spencer Kitten

He/they

Mouser

321 CUB 2224442222 Meet Spencer
mouser  kittentumbles

mouser kittentumbles

Zie/zir/zirs

mouser

14 kitten way 22233232222 Meet mouser
Another  Person

Another Person

She/her/hers

Operations Manager

14 mouser lane Meet Another
}