RitterKnight
  • Member for 7 years, 2 months
  • Last seen this week
Fields Missing. Gone from Database as Well as Control Panel
1 votes

It sounds like something/someone is updating which could be causing the migrations to run and then subsequently fail... that could cause data loss but that's hard to say or know exactly. When this ...

View answer
Excluding Array of Entry Ids Not Busting Cache
1 votes

The cache tag is somewhat misunderstood and it tends to trip up even the most seasoned Crafters. The best way to explain about the {% cache %} tag is to think of it as a snapshot in time. The first ...

View answer
Build a Property Management System with Craft CMS?
6 votes

You're asking a lot here. I would say Craft is capable of a lot of it but how much do you want to spend on development? It's a bit like asking "Can xxx be the next Facebook?" Just going over your ...

View answer
wp-login.php bloating log files every 20-30 seconds
1 votes

We've done the redirect route in Andrew's answer before and while it keeps some script kiddies out, it can also cause less "savvy" ones to think you actually have a valid WP installation and continue ...

View answer
Need no search engine tracking option in Craft websites
6 votes

If you're used to another CMS such as WordPress, you're probably used to using a Discourage search engines from indexing this site option. As Robin's answer mentions, the training wheels are off. ...

View answer
Adding `www` causing it to have index.php
3 votes

Your .htaccess is basically saying "Redirect example.com to www.example.com". OK, that's cool. so you want to add www to any request that a comes in. I'm guessing you put this after Craft's code? ...

View answer
Is there any way to create twig extension without a plugin?
3 votes

Short answer: No. Longer answer: Sorry, no... but there's a good reason for that. Twig is a template language. PHP is business logic. In proper application design, you separate the business logic from ...

View answer
Blog Subscriptions
2 votes

As someone who's ran their own mail server and even wrote some super basic list management software years ago, e-mail is no picnic, especially nowadays. You can integrate with some 3rd party SMTP ...

View answer
Starting & Ending Loops with Eager Loaded Elements
Accepted answer
2 votes

Found this nugget about Iterating over a Subset in the Twig docs about slice: {% for client in clients|slice(0, 8) %} ... {% endfor %} {% for client in clients|slice(8) %} ... {% endfor %}...

View answer
Frontend Form - Checkboxes cannot "all" be unchecked
Accepted answer
6 votes

Your code is correct but you need to add another line near the top: <input type="hidden" name="fields[volunteerPositions]" value=""> From the documentation: If you are including a ...

View answer
Exclude path in NGINX config (for FastCGI Caching)
Accepted answer
2 votes

I've tried doing this with headers and cookies, but haven't had any luck yet. What I think is happening is that these things are set after the request is made. You are correct. fastcgi_cache is ...

View answer
CP form submissions occasionally reaching PHP's 300 second timeout
3 votes

I can think of a couple things why this is happening: 1) Custom code doing a save operation. If you're hooking into onSaveEntry for example, Craft also lets other plugins have a chance at calling ...

View answer
Commerce product order/sort options
Accepted answer
2 votes

When you call craft.commerce.products you're asking Craft for an Commerce_ProductModel. So you could sort by: title (alpha) defaultPrice type promotable (sale products on top) postDate (newest ...

View answer
Strange 'index.php' Issue
4 votes

This recently tripped me up. 'true' (with quotes) is not the same as true (without the quotes). Lose the quotes in the config file, clear Craft's caches, and it should stick. Also make sure your ...

View answer
Craft Commerce: Bakery site with multiple bakeries (How to handle product types and variants)
1 votes

The way I see it, you have 2 very similar but different problems: How does each bakery log in and maintain their own inventory? How does each cake get built up in the admin? You can pull off the ...

View answer
First Craft CMS build need help with tabs with images
1 votes

Matrix fields are definitely the way to go for repeatable content. Matrix lets the user mix and match different kinds "block types". You might set up an image block, a text block, pull quote block, ...

View answer
Displaying the Meta Description
2 votes

Mike: yes you do. It sounds like you had your site built by another developer? Unlike other CMS, everything that displays on your website in Craft is custom built. The gist is you setup a bunch of ...

View answer
GZIP seems to compress only HTML, not CSS or JavaScript
2 votes

Apache supports gzip with two compression modules: mod_gzip and mod_deflate. The latter is supposedly more widely available but some hosts may have one or the other. mod_gzip is the older of the ...

View answer
Can I access the code with my admin
2 votes

Snide remarks about the "agency" who left you high and dry aside, who is currently hosting the website? Start there and gain access to the actual website files. Whether you have another agency help ...

View answer
Schedule a draft to auto publish?
9 votes

If the entry is not already published, just set the Post Date to a date in the future. That will set the entry to what Craft calls Pending. On the entry's index, the status indicator will be orange (...

View answer
Check if we're the second or last sunday of the month today
Accepted answer
3 votes

Maybe it doesn't work because the monthyear variable is formed in dutch and not english? Yes that's part of the problem. Have a look at PHP's relative formats page to see what it supports. You can ...

View answer
Can Craft handle social-esque frontend user interactions?
2 votes

What kind of social interactions are you asking for? You can probably make most of this work in Craft but a lot of what you're asking for isn't really "built in." It's going to take a fair amount of ...

View answer
Help! Craft issues after changing PHP version
Accepted answer
2 votes

Had this happen. I believe the cause is twofold: FastCGI's -idle-timeout is set too low. Craft is still writing to the log but Apache cuts it off since it hasn't sent the actual data yet. That's what ...

View answer
Is it possible to allow a user choose tags in admin panel using checkboxes?
1 votes

Any reason why you'd choose tags over categories? Categories seem to be more of what you're describing: Eventually, every single required tag will be created at some point. And since Craft 2.5, ...

View answer
Can't get rid of 404 error
1 votes

Could be Apache's mod_security module being overzealous. mod_security tends to throw down its gauntlet especially when it sees lots of files being created or thrown around (for example when installing ...

View answer
Self-hosting requirements/scaling
3 votes

Not to stray too far off the Craft beaten path here but any scaling guidelines you see on other sites usually will apply to Craft as well. You'll know when you need to start scaling... might you have ...

View answer
3D viewer for Craft CMS
1 votes

I know a lot of 3D programs are going to use different file formats. And the viewers tend to vary quite a bit. What are you using? If you can export to obj format, three.js seems popular. There's ...

View answer
How to Organize a Courses Site
Accepted answer
1 votes

Short answer: I'd lean towards a structure section. Matrix is a close second. Long answer: When I'm faced with this an information architecture decision, I look at a couple things: How "reusable" is ...

View answer
Creating a multi-dimensional Photo Gallery on Craft CMS
1 votes

Ah yes, gallery2. Used that quite extensively a few years ago. Have a client with an old gallery2 project as well, we might be doing something with it, so we're probably in the same boat. I can tell ...

View answer
How do I print the options in a dropdown field?
Accepted answer
5 votes

There's not an "elegant" way to do this but you can access the dropdown field by its handle using getFieldByHandle. Something like: {% set dropdownField = craft.fields.getFieldbyHandle('isotope') %} ...

View answer
1 2
3
4 5
8