Skip to main content

Questions tagged [plugin-sprig]

Questions about the Sprig plugin.

0 votes
0 answers
31 views

Goal I have a Craft CMS tab layout (tabs handled by some JS). Each tab’s content is heavy (lots of queries). I want to use Sprig so that: the first tab loads on page load, other tabs load on first ...
Matthew De Jager's user avatar
0 votes
1 answer
89 views

I'm using Sprig to filter a set of results. The filter values are shown as 'chips' which - when clicked on - remove that filter selection. I know I can re-render the component with a simple sprig ...
Adam Hopkinson's user avatar
0 votes
1 answer
123 views

I need to create a responsive section, that has a load more button. I want the page to show one (small screens), two (medium) or three (large) entries per row. Also, on clicking 'load more' one, two ...
smaniren's user avatar
1 vote
2 answers
157 views

I have a Sprig board listing architect's projects, built in Craft 5. This is working pretty well with a search, date ordering of entries etc. But — I am having trouble with a dropdown that I'd like to ...
dezbat's user avatar
  • 65
1 vote
1 answer
78 views

I am experimenting with a sortable 'board' of project entries, based on the excellent Sprigboard videos by @ben-croker. It seems to be working so far with a flex-based structure ( I can sort flex rows ...
dezbat's user avatar
  • 65
1 vote
1 answer
151 views

I have a changing sort dropdown using Sprig, works great. Though, I'd like to save this sort order to local storage and pass it as the default to my sprig component. What's the best way to do this? Is ...
JMKelley's user avatar
  • 1,446
1 vote
2 answers
145 views

I have sprig components on multiple pages, Some are working fine but some get '414 Request-URI Too Long ' Looking at the networks tab, it sends many elementId={ids}&CRAFT_CSRF_TOKEN={token} after ...
Prashant sharma's user avatar
0 votes
1 answer
110 views

I'm a bit lost. I'd like to create a wishlist for products and save them into a cookie. I don't want anybody to have a login and I don't mind if the list is not sharable and only available on the same ...
outline4's user avatar
  • 595
0 votes
0 answers
56 views

I have a products page on which I'm filtering with Sprig. There are some categories in the form of checkboxes. These categories have some subcategories. The categories are a structured section with ...
Matthias's user avatar
  • 315
1 vote
1 answer
437 views

I'm building a filter page with Craft and Sprig. The goal is to show the amount of products for each filter. So for example if we want to filter on color we show 2 checkboxes "Red" and "...
Matthias's user avatar
  • 315
1 vote
2 answers
132 views

so i filter some entries via the url parameters... that works fine. But if i load more entries (based on the category parameter), the result includes also all other entries with other categories... ...
Marcel Boer's user avatar
2 votes
2 answers
300 views

I am using the Sprig plugin, and for some reason I'm disabling it in some environments. In config/general.php I have added: 'disabledPlugins' => ['sprig'] And in my twig template, I have a ...
Romain P.'s user avatar
  • 1,927
1 vote
2 answers
503 views

I have a multi-pages form which is submitting using Sprig plugin. The action is targeting a controller in a custom module. Each step of the form is loading using the current step stored in session. ...
Romain P.'s user avatar
  • 1,927
1 vote
1 answer
441 views

I'm trying to create a page where I can view entries in a list and have the option where I can view all entries at the click of a button, or choose to load more as and when I want. With the view all ...
Thomas.hewitt2201's user avatar
1 vote
1 answer
138 views

I have Entries with a Matrix field called events. I have an Entries field and a Dropdown field inside those Matrix blocks (block type event). I'm currently filtering by entry using andRelatedTo(['and',...
bigdev's user avatar
  • 25

15 30 50 per page