-
-
Notifications
You must be signed in to change notification settings - Fork 528
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add @collection
directive
#2128
Conversation
Implements statamic/ideas#212
This is a nice start 🎉 but what about parameters? |
What about ‘em? |
As it stands you can just get all the entries. What about limiting, filtering, pagination? |
Oh you want FAAAANCY stuff. |
@jasonvarga any ideas how you parse parameters passed into custom directives? They come in as a string. |
No but I imagine you can look at some of the native Laravel Blade directives, like |
done @jasonvarga. Didn't do pagination as it returns something different and I didn't want to deal with it now. |
This is great Erin, thank you for the PR. However I don't think this is quite what we'd want in the core in it's current state. You should be able to plop all of this in an addon very easily though. |
Implements statamic/ideas#212