ttempleton / craft-category-groups-field Goto Github PK
View Code? Open in Web Editor NEWA Craft CMS field type for selecting category groups
License: MIT License
A Craft CMS field type for selecting category groups
License: MIT License
I have a matrix field in a global set and in the matrix blocks I have a categoryGroups field.
Now I want to fetch the matrix blocks related to a certain categoryGroup.
How would I go about this?
I have something like this which does not work, but I should be close?
{% set global = craft.globals().getSetByHandle('modals') %}
{% set modals = craft.matrixBlocks().owner(global).fieldId(68).relatedTo({
element: craft.categories.group('groupHandle').one().groupId,
field: 'modals.categoryGroups'
}).all() %}
Hi there,
Not really an issue on this side, but more of an explorative feature request.
Have you explored the possibility to make the category group field picker a sortable template?
It would require a custom inputhtml template and some way to store the sorting in the database.
Any ideas on how to approach this? Based off what you already built.
Looking forward to your ideas.
Cheers,
Daaf
Hello!
There is a plugin. that have option
Categories (multiple groups)
A Categories input that lets you select multiple Category groups.
Now in Craft you can choose categories only from 1 source , with this you can choose from all sources
https://github.com/supercool/tools
Supercool is not updating anymore.
Is there a chance to add only this part to your plugin..
Im willing to pay to add this option..
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.