Skip to content
● Grav 2.2 is out: 2x faster cold starts and 96% less memory on big sites. Read the announcement →

Specify taxonomy category to show via admin form?

Started by Paul Murray 8 years ago · 0 replies · 718 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 Japhy, 2 weeks ago
2 272 4 days ago
Forms & Blueprints · by FrViPofm, 4 weeks ago
5 330 4 weeks ago
Forms & Blueprints · by Ton Haarmans, 6 years ago
13 2321 8 months ago
Forms & Blueprints · by Hugo Oliveira, 9 months ago
0 782 9 months ago
Forms & Blueprints · by Flachy Joe, 10 months ago
9 871 10 months ago