Directory record article
Details of a particular directory record article.
Route name
directory_record_details
URL pattern
/directory-record/{recordId}/{recordSlug}
Layout
Article
Module
Publishing
Page class
directory-record-article
Acceptance criteria
- Page errors if an invalid directory id is passed - 404 response
- Page errors if directory is offline - 404 response
- Page errors if an invalid record ID is passed - 404 response
- Page errors if record is offline - 404 response
- Directory record specific metadata is used
- Breadcrumb includes directory article
- Breadcrumb includes directory category path
- Record title, and fields are rendered
- If an optional field is not completed, it is not rendered
- Multimedia in document editor content is rendered
- Google map is rendered, and pin includes fields configured within directory settings
- Link fields are rendered as a link
- Email fields are rendered as a mailto: link
- ESRI map is rendered
- HTML content is rendered unencoded
- Image is rendered
- Image includes valid alt attribute