Gareth
  • Member for 7 years, 7 months
  • Last seen this week
Storing multilingual content that is used across sections
5 votes

I am fairly new to Craft myself but I think the best approach for that type of content would be to set up Globals I think you can then make them translatable and common translations can be added to in ...

View answer
Why would Craft Commerce only be using the dummy gateway?
Accepted answer
3 votes

If you are in development mode then Craft Commerce will still use the dummy gateway. You need to disable dev mode to allow your payment gateway to be used.

View answer
How to filter entries in multiple category groups by selecting multiple categories
Accepted answer
2 votes

After a lot of back and forth and reading various posts on this I thought I would submit my answer. There maybe better ways of doing what I ended up doing but hopefully this will provide a start for ...

View answer
How do I set a class if entry is a child of a particular parent?
Accepted answer
1 votes

I have worked it out using the following code. Not sure if I could make the conditional neater but this achieves what I need: {% for entry in craft.entries.section('brand').descendantOf(entry.id)....

View answer
Displaying Entries That Are Not Related
Accepted answer
1 votes

I think I have a solution: if I create an array and add the entry id's for the databytes that are being used in the databyteSeries collections, then I can check that the entries are not in the array ...

View answer
Using the custom styled Stripe button with Craft Commerce
Accepted answer
0 votes

Here is my working solution, basically all you need to do is grab the token from stripe and then submit it with the form. <script src="https://checkout.stripe.com/checkout.js"></script> &...

View answer
How to set simple yes/no checkbox using Freeform
Accepted answer
0 votes

The bug was fixed for me in 1.6.2 my final code was just a simple: <input type="checkbox" name="{{ receiveContactFromTFA.handle }}" value="{{ receiveContactFromTFA.value }}" ...

View answer
Update a user image on the front end using Vue.js and Ajax
Accepted answer
0 votes

In the end I found a solution which doesn't require creating my own controller. I am not sure it is possible to post directly to the $_FILES array in Craft but by using the native FormData object in ...

View answer
Set a user's group on a registration form using a hidden field
Accepted answer
0 votes

The code I have in my original question works well for me, you can use it for as many forms/usergroups as you needed just keep adding them as conditionals. I will be sticking with what I wrote. Anyone ...

View answer