Skip to content
Grav 2.0 is officially stable. Read the announcement →
Forms & Blueprints

Specify taxonomy category to show via admin form?

Started by Paul Murray 8 years ago · 0 replies · 628 views
8 years ago

I'm building a landing page template that draws in portfolio pages from my /work page. I can show work from specific categories no problem using findTaxonomy() and hard-coding it into the mark up, but I want to be able to specify the category to show work from, from within the admin page.

Ideally I want to be able to just use a text or selectize field and insert its value/values into the findTaxonomy() method like so … ({ category: ['MY CATEGORY', 'ANOTHER']} , or ) %}

Is this possible, and if so what would I start looking for docs on doing this?

Suggested topics

Topic Participants Replies Views Activity
Forms & Blueprints · by Ton Haarmans, 6 years ago
13 1863 6 months ago
Forms & Blueprints · by Hugo Oliveira, 7 months ago
0 451 7 months ago
Forms & Blueprints · by Flachy Joe, 8 months ago
9 548 8 months ago
Forms & Blueprints · by Augustus, 9 months ago
7 570 9 months ago
Forms & Blueprints · by Julien, 9 months ago
10 590 9 months ago