Justin Dekkers
  • Member for 6 years, 6 months
  • Last seen more than 2 years ago
Does Craft have an equivalent of EE's Custom Fields loop for front-end entry forms?
1 votes

Personally I don't have any experience with Free Form but have been using Sprout forms for quite some time now. In Sprout forms your client can create entire forms or just add a couple of fields ...

View answer
Craft 2 CMS - How to change Limits in Dashboard
1 votes

If the account you're using has admin rights you could do so by going to: Settings > Fields > [Field label of your service display] and edit it. On the bottom there should be a input which sets the ...

View answer
Load entries based on category field value while multiple categories are selected
Accepted answer
1 votes

After looking for some more options I found the solution. At first I was looking for a solution on how to check if the handle was inside of the array but, didn't manage to output the entire array as ...

View answer
Best Technique for have sections in display in same page with anchor link to each section
1 votes

What I should do is create a category group whish should be filled with your "Food Categories". Once you've done that you could display them in your side menu. (If you show the menu on everypage make ...

View answer
{% block content %} is a no-go in template/subfolders
1 votes

It's not a server sided issue you are running into. Best guess is that you deleted some of the original code in either the _layout.html or your new template file. When you first setup the environment ...

View answer
If Conditional for Lightswitch in Matrix Field
1 votes

Might be better to just adjust the matrix field itself (upload a video or an image and make an if statement depending on file type). It also is easier if you wouldnt put the image field inside the "...

View answer
Why are there now blank entry folders in my image assets folder?
1 votes

I guess you or someone else made a subfolder in your upload folder. You can do this through Craft itself. This creates a folder you which might be happening in your case. Try adding a new one and see ...

View answer
Save field inputs upon submission of front end form for reuse in new form?
1 votes

I don't know if we can compare the problem I usually have but here is my way. Whenever I build a website where users can login and save "entries" they also need to stay connected to it off course. I ...

View answer
How can I display category title inside another category
Accepted answer
1 votes

If I get you right you have a category select field inside a category. If you want to grab any field values from a category you can do it the same way as with entries. Code works almost the same. {% ...

View answer
Is it possible to exclude entry from search index?
1 votes

If you mean entire sections you could define which sections you want to display like this: {% set query = craft.request.getParam('q') %} {% set entries = craft.entries.craft.entries.section('section1,...

View answer
Empty page instead of 404 error when url contains channel slug
Accepted answer
1 votes

As Brad pointed out in the comments on my question I had to take a look in the custom route's defined in the Craft CP. My client tried to make a custom route which looked like this: This caused for ...

View answer
Category name in page title
Accepted answer
2 votes

You don't have to fill in the quote's or the curly brackets. You could just put it down like this: {% set title = category.title %} You already "called" twig so you dont need to do that again.

View answer
Only show entries related to category
Accepted answer
3 votes

Personally I would set the category select field outside of the matrix block but that's up to you. The problem you are running in to at the moment is you are not looping over the matrix field. {% ...

View answer
Seomatic - show only global site title
1 votes

Did you remove the standard title tag placed in the _layout.html file by craft? This line is probably breaking your SEO title: <title>{% if title is defined %}{{ title }} - {% endif %}{{ ...

View answer
Sum of one checkbox field
Accepted answer
2 votes

What you could try is putting the "if statement" as a condition in the for loop like this: {% for premiereItem in entry.kompositonsart if premiereItem.value == 'ua' %} //the checkbox loop starts /...

View answer
Craft Admin CSS Broken..?
1 votes

Are you sure you didn't push something to craft/app/templates if you did go check out the folder and remove anything that shouldn't belong there. You can check side by side which files shouldnt be in ...

View answer
Navigation to URL
Accepted answer
1 votes

Your syntax is wrong. You don't need to put "('service')" inside your twig code plus you don't need to enter your siteUrl. If you fill the href with /services it should work like supposed to. If ...

View answer
Custom fields on a structure or section archive page
Accepted answer
2 votes

What you could do is make a "Global" Which sets the header image. You could name the global something like "Event Page Fields" or something like that so its clear for your administrator where to look. ...

View answer
How to define section parent page?
1 votes

You have to select the "level" in the structure. Im guessing the products are always on level 4? If so you could try this: {% set entries = craft.entries.section('yourSectionHandle').level(4) %} {% ...

View answer
Can't access admin panel
2 votes

As Brad Bell pointed out in a comment that you should use index.php, it might have something to do with your .htaccess and general.php Your .htaccess File should look something similair to this: <...

View answer
Update content inside cache tag
1 votes

Because your content is cached it "downloads" your website so it loads quick. This can be fixed by disabling cache to users that are logged in or maybe even certain users. This way you "bypass" the ...

View answer
Can't get Frontend Search to work
Accepted answer
1 votes

Inside of the <form action="{{ url('search/results') }}"> You define which page should be redirected to when the search form is submitted. "search/results" would go to the search folder looking ...

View answer
How do you use 'if' to stop an empty Matrix block from displaying?
Accepted answer
1 votes

If a Matrix field / block is empty it won't output at all but you can try checking the length in an if statement like: {% if entry.modelDataType1 | length %} // matrix content here {% endif %}

View answer
Check which pagination page to display code outside of pagination loop
Accepted answer
3 votes

UPDATED/EDIT ANSWER: If you only want to show the entries on the first page you should make an if statement to check if you are on the first page for your Featured Items by requesting the page number....

View answer
Another gallery question
1 votes

You can set an array and order them by random. {% set gallery = craft.entries.section(['galleryA','galleryB','galleryC']) %} Then you have to display them by random using .order('RAND()') So your ...

View answer
Creating Task Manager for Client Portal
Accepted answer
4 votes

You could create a "Matrix Block" and make 3 type of blocks in there: Discovery task, Website task and Assets task. If you give these blocks the fields they should need they just add whatever block ...

View answer
Can I Create a Way for Users to Add Fields from the Dashboard and/or create Fields with Same Handle?
Accepted answer
2 votes

I might get you wrong but they must have the option to add as many youtube embed videos as they want? Isn't it an option to let your client make a new block for every embed and just loop over the ...

View answer
Search/return entries with custom field length less than 200
1 votes

I'm not 100% sure what you are trying to achieve but If its because all the others would be to big for whatever you're building. You could use Hacksaw to fit all your text. https://github.com/...

View answer
Can't update from v2.6.2789 via manual update
2 votes

Are you 100% sure you are updating the right website/folder and not looking at the wrong one? Are you sure you are using the newest version of craft to install and not your old download? If this is ...

View answer
Asset Meta Fields vs Section with Asset field + the other fields?
2 votes

Personally I would add the fields to the asset. Totally depends on what order you prefer to fill in the data. Are you going to fill in all the data yourself or a client? If so, ask them what they ...

View answer