Skip to main content
Celebrating Heritage, Promoting Our Future

Create Org page with attached dynamic list

Creating a building/org page with a list of related components eg Committee with a list of committee members

In taxonomy ensure you have the tag that will pull everything together eg /committees/climate-emergency-committee

Create Org page that has the same title eg "Climate Emergency Committee"  and in 'URL Alias' turn off auto and use the syntax /list/page-name eg /list/climate-emergency-committee. This tells Drupal to go and get the list block and filter it by the URL of the page.

By using the url of the page as the filter (rather that the tags on the page it gets round the issue of a page having MORE than one tag.

Summary

  • decide on tag (often organisation name)
  • Create Organisation page
  • create org pages for the people connected to org and tag accordingly
  • go back to main org page at /list/organisation-name to see page WITH list

Benefits

as people are added/removed from being connected to the organisation the list will dynamically update automatically

Top tip: Views > Configure contextual filter: Content: ID > provide default value > Content ID from URL > More > exclude. This will ensure that the current page will NOT appear in the list

Add new comment

Plain text

  • No HTML tags allowed.
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.