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

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Forms & Blueprints

Specify taxonomy category to show via admin form?

Started by Paul Murray 8 years ago · 0 replies · 506 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, 5 years ago
13 1140 4 months ago
Forms & Blueprints · by Hugo Oliveira, 5 months ago
0 63 5 months ago
Forms & Blueprints · by Flachy Joe, 6 months ago
9 138 6 months ago
Forms & Blueprints · by Augustus, 7 months ago
7 114 7 months ago
Forms & Blueprints · by Julien, 7 months ago
10 132 7 months ago