{"id":"6afa162df7b92ad8a6a1b751","title":"Committee Year Pages","path":"how-to/committee/editing-content/committee-year-pages","contentMarkdown":"# Committee year pages\n\nThe usual committee area on an NGX site is a home page at `committee`, a page per year (`committee/2026`, `committee/2025`, …), and a <strong>shared fragment</strong> that draws a card for each year at the foot of every one of those pages. New group sites have the fragment from the migration template  already created - you still need the pages and the navbar item.\n\n![](https://ngx-ramblers.org.uk/api/aws/s3/site-content/fc40b72a-3d53-45b5-93bd-ef3b2241d788.jpeg)\n\n*Committee home: latest papers at the top, then the Committee Years cards from the shared fragment.*\n\n## What you end up with\n\n- `committee` — heading, a Committee Documents row that can show the latest files, then the years fragment.\n- `committee/YYYY` — heading for that year, a Committee Documents row for that year’s files (optional cover image), then the same fragment.\n- `fragments/committee-years` — one Album Index row that lists every page whose path starts with `committee/`.\n\nEdit the fragment once. Every committee page that embeds it updates.\n\n## If the fragment is already there\n\nMany migrated sites already have `fragments/committee-years`. Check [Content Templates → Shared fragments](https://ngx-ramblers.org.uk/admin/content/content-templates?view-mode=fragments \"{{siteUrl}}\") or open `fragments/committee-years`.\n\n![](https://ngx-ramblers.org.uk/api/aws/s3/site-content/4330dde3-a436-4023-b1a4-903f99114b67.jpeg)\n\n*Content Templates listing the committee-years fragment, with a live preview of the year cards.*\n\nIf it is present, skip to **Create the year pages**. If it is missing, create it next.\n\n## Create the shared fragment\n\n1. Go to `fragments/committee-years` and [create the page](https://ngx-ramblers.org.uk/how-to/committee/editing-content/adding-pages) if it does not exist.\n2. Add a row and set the row type to **Album Index**.\n3. Point it at path `committee`, match **starts with**, max path segments **2** (so you get `committee/2026` and not deeper pages).\n4. Content types: **pages**. Render as **action buttons**. Sort by title, descending, so the newest year is first.\n5. Set the index heading to `## Committee Years`.\n6. Save.\n\nYou can also start from an existing page: select the years row, choose **Create Named Fragment**, and name it `committee-years`. Full fragment steps: [Shared Fragments](https://ngx-ramblers.org.uk/how-to/committee/editing-content/shared-fragments).\n\n![](https://ngx-ramblers.org.uk/api/aws/s3/site-content/06819ea7-164c-427d-b112-4f041d0d4ba9.jpeg)\n\n*The fragment page itself, showing the three year cards once the year pages exist.*\n\n## Create the home and year pages\n\nCreate `committee`, then `committee/2026`, `committee/2025`, `committee/2024` (or whichever years you need).\n\nOn the **home** page, add three rows:\n\n1. **Text** — a short `# Committee` heading and a sentence about papers.\n2. **Committee Documents** — tick **auto from first action button** so the home can show recent files. Leave file ids empty until you upload.\n3. **Shared Fragment** — choose `fragments/committee-years` from the dropdown.\n\nOn each **year** page:\n\n1. **Text** — `# Committee YYYY` and a short welcome. Do not put the cover image on this row.\n2. **Committee Documents** — leave auto-from-first-button off. Optionally set **Image Source** to a walk photo from that year; that image becomes the card on the home page. Signed-in committee members see **Add File** on that row; do not mention it in the public heading text.\n3. **Shared Fragment** — the same `fragments/committee-years` fragment as the home.\n\nDocument rows in more detail: [Committee Documents](https://ngx-ramblers.org.uk/how-to/committee/editing-content/committee-documents).\n\n![](https://ngx-ramblers.org.uk/api/aws/s3/site-content/50d68988-a0b6-457c-b307-2ff1ebd33c48.jpeg)\n\n*A year page: papers for that year, then the same years strip so you can move between years.*\n\n## Put Committee on the navbar\n\nThe pages are not in the top bar until you add them. [Add a navbar item](https://ngx-ramblers.org.uk/how-to/committee/editing-content/adding-navbar-items) with Web Url `committee` and title `Committee`, Public, just before Admin.\n\n## Adding files\n\nOn a year page, signed-in committee members use **Add File** on the documents row. Leave that off the public page text; the button is only there when you are signed in. You can upload a PDF or Word file, or create an editable document on the site. File types and who can see them (public AGM papers versus committee-only minutes) are set in [Committee Settings](https://ngx-ramblers.org.uk/admin/settings/committee-settings?tab=configuration \"{{siteUrl}}\").\n\nYou do not need to be a member of another group’s site to view their public AGM papers. Committee-only files on your own site need a logged-in group member whose role allows it.\n\n![](https://ngx-ramblers.org.uk/api/aws/s3/site-content/bc53e44c-5038-475f-97c0-ccb2fc1c2c04.jpeg)\n\n*Page Content Navigator filtered to committee, showing the home, three years and the fragment.*\n\n## See also\n\n- [Adding a navbar item](https://ngx-ramblers.org.uk/how-to/committee/editing-content/adding-navbar-items)\n- [Shared Fragments](https://ngx-ramblers.org.uk/how-to/committee/editing-content/shared-fragments)\n- [Committee Documents](https://ngx-ramblers.org.uk/how-to/committee/editing-content/committee-documents)\n- [Example committee pages](https://ngx-ramblers.org.uk/how-to/committee/editing-content/example-pages/committee-examples)\n- [Creating New Content](https://ngx-ramblers.org.uk/how-to/committee/editing-content/adding-pages)","contentHtml":"<h1>Committee year pages</h1>\n<p>The usual committee area on an NGX site is a home page at <code>committee</code>, a page per year (<code>committee/2026</code>, <code>committee/2025</code>, …), and a <strong>shared fragment</strong> that draws a card for each year at the foot of every one of those pages. New group sites have the fragment from the migration template  already created - you still need the pages and the navbar item.</p>\n<p><img src=\"https://ngx-ramblers.org.uk/api/aws/s3/site-content/fc40b72a-3d53-45b5-93bd-ef3b2241d788.jpeg\" alt=\"\"></p>\n<p><em>Committee home: latest papers at the top, then the Committee Years cards from the shared fragment.</em></p>\n<h2>What you end up with</h2>\n<ul>\n<li><code>committee</code> — heading, a Committee Documents row that can show the latest files, then the years fragment.</li>\n<li><code>committee/YYYY</code> — heading for that year, a Committee Documents row for that year’s files (optional cover image), then the same fragment.</li>\n<li><code>fragments/committee-years</code> — one Album Index row that lists every page whose path starts with <code>committee/</code>.</li>\n</ul>\n<p>Edit the fragment once. Every committee page that embeds it updates.</p>\n<h2>If the fragment is already there</h2>\n<p>Many migrated sites already have <code>fragments/committee-years</code>. Check <a href=\"https://ngx-ramblers.org.uk/admin/content/content-templates?view-mode=fragments\" title=\"{{siteUrl}}\">Content Templates → Shared fragments</a> or open <code>fragments/committee-years</code>.</p>\n<p><img src=\"https://ngx-ramblers.org.uk/api/aws/s3/site-content/4330dde3-a436-4023-b1a4-903f99114b67.jpeg\" alt=\"\"></p>\n<p><em>Content Templates listing the committee-years fragment, with a live preview of the year cards.</em></p>\n<p>If it is present, skip to <strong>Create the year pages</strong>. If it is missing, create it next.</p>\n<h2>Create the shared fragment</h2>\n<ol>\n<li>Go to <code>fragments/committee-years</code> and <a href=\"https://ngx-ramblers.org.uk/how-to/committee/editing-content/adding-pages\">create the page</a> if it does not exist.</li>\n<li>Add a row and set the row type to <strong>Album Index</strong>.</li>\n<li>Point it at path <code>committee</code>, match <strong>starts with</strong>, max path segments <strong>2</strong> (so you get <code>committee/2026</code> and not deeper pages).</li>\n<li>Content types: <strong>pages</strong>. Render as <strong>action buttons</strong>. Sort by title, descending, so the newest year is first.</li>\n<li>Set the index heading to <code>## Committee Years</code>.</li>\n<li>Save.</li>\n</ol>\n<p>You can also start from an existing page: select the years row, choose <strong>Create Named Fragment</strong>, and name it <code>committee-years</code>. Full fragment steps: <a href=\"https://ngx-ramblers.org.uk/how-to/committee/editing-content/shared-fragments\">Shared Fragments</a>.</p>\n<p><img src=\"https://ngx-ramblers.org.uk/api/aws/s3/site-content/06819ea7-164c-427d-b112-4f041d0d4ba9.jpeg\" alt=\"\"></p>\n<p><em>The fragment page itself, showing the three year cards once the year pages exist.</em></p>\n<h2>Create the home and year pages</h2>\n<p>Create <code>committee</code>, then <code>committee/2026</code>, <code>committee/2025</code>, <code>committee/2024</code> (or whichever years you need).</p>\n<p>On the <strong>home</strong> page, add three rows:</p>\n<ol>\n<li><strong>Text</strong> — a short <code># Committee</code> heading and a sentence about papers.</li>\n<li><strong>Committee Documents</strong> — tick <strong>auto from first action button</strong> so the home can show recent files. Leave file ids empty until you upload.</li>\n<li><strong>Shared Fragment</strong> — choose <code>fragments/committee-years</code> from the dropdown.</li>\n</ol>\n<p>On each <strong>year</strong> page:</p>\n<ol>\n<li><strong>Text</strong> — <code># Committee YYYY</code> and a short welcome. Do not put the cover image on this row.</li>\n<li><strong>Committee Documents</strong> — leave auto-from-first-button off. Optionally set <strong>Image Source</strong> to a walk photo from that year; that image becomes the card on the home page. Signed-in committee members see <strong>Add File</strong> on that row; do not mention it in the public heading text.</li>\n<li><strong>Shared Fragment</strong> — the same <code>fragments/committee-years</code> fragment as the home.</li>\n</ol>\n<p>Document rows in more detail: <a href=\"https://ngx-ramblers.org.uk/how-to/committee/editing-content/committee-documents\">Committee Documents</a>.</p>\n<p><img src=\"https://ngx-ramblers.org.uk/api/aws/s3/site-content/50d68988-a0b6-457c-b307-2ff1ebd33c48.jpeg\" alt=\"\"></p>\n<p><em>A year page: papers for that year, then the same years strip so you can move between years.</em></p>\n<h2>Put Committee on the navbar</h2>\n<p>The pages are not in the top bar until you add them. <a href=\"https://ngx-ramblers.org.uk/how-to/committee/editing-content/adding-navbar-items\">Add a navbar item</a> with Web Url <code>committee</code> and title <code>Committee</code>, Public, just before Admin.</p>\n<h2>Adding files</h2>\n<p>On a year page, signed-in committee members use <strong>Add File</strong> on the documents row. Leave that off the public page text; the button is only there when you are signed in. You can upload a PDF or Word file, or create an editable document on the site. File types and who can see them (public AGM papers versus committee-only minutes) are set in <a href=\"https://ngx-ramblers.org.uk/admin/settings/committee-settings?tab=configuration\" title=\"{{siteUrl}}\">Committee Settings</a>.</p>\n<p>You do not need to be a member of another group’s site to view their public AGM papers. Committee-only files on your own site need a logged-in group member whose role allows it.</p>\n<p><img src=\"https://ngx-ramblers.org.uk/api/aws/s3/site-content/bc53e44c-5038-475f-97c0-ccb2fc1c2c04.jpeg\" alt=\"\"></p>\n<p><em>Page Content Navigator filtered to committee, showing the home, three years and the fragment.</em></p>\n<h2>See also</h2>\n<ul>\n<li><a href=\"https://ngx-ramblers.org.uk/how-to/committee/editing-content/adding-navbar-items\">Adding a navbar item</a></li>\n<li><a href=\"https://ngx-ramblers.org.uk/how-to/committee/editing-content/shared-fragments\">Shared Fragments</a></li>\n<li><a href=\"https://ngx-ramblers.org.uk/how-to/committee/editing-content/committee-documents\">Committee Documents</a></li>\n<li><a href=\"https://ngx-ramblers.org.uk/how-to/committee/editing-content/example-pages/committee-examples\">Example committee pages</a></li>\n<li><a href=\"https://ngx-ramblers.org.uk/how-to/committee/editing-content/adding-pages\">Creating New Content</a></li>\n</ul>\n"}