RitterKnight
  • Member for 7 years
  • Last seen this week
2 answers
0 votes
137 views
index.php in output HTML - channel pages
1 votes

I had a case of this awhile back too. Craft will listen on whatever domain you point it to. If your site url (eg in Settings) doesn't actually resolve on the internet yet—or you have it pointed wrong—...

View answer
1 answers
2 votes
536 views
CraftCMS with Cloudfront Full Page Delivery
3 votes

That's the dream, isn't it? CDN everywhere, no database hits, etc. How "static" is your site? Unlike other CMS, the great thing about Craft is that you can store information everywhere and pull it out ...

View answer
3 answers
2 votes
420 views
Best Practice for Templating-Workflow, coming from static HTML
3 votes

Tobias: I don't think there's a "right" answer for everyone. What I do find is that Craft "gets out the way" a lot more. Craft's file structure and Twig templates aren't that far away from just ...

View answer
1 answers
2 votes
256 views
Exclude certain entry types from Entry URL format?
2 votes

I don't know of good, non-hacky way to do what you're doing. Every entry in a structure should have some meaning otherwise you're going to fight the system. Is there a reason why those top level ...

View answer
2 answers
1 votes
98 views
Is there any danger to Craft from upgrading from PHP 5.5 to PHP 5.7?
2 votes

What OS are you running? Since you mentioned PHP 5.5.9, it sounds like you might be running Ubuntu 14.04 (Trusty), which is a LTS release. Unless you're using a 3rd party package (like a Ubuntu PPA) ...

View answer
3 answers
3 votes
785 views
Craft CMS Backup DB
2 votes

Craft doesn't backup the file system but it's not hard to setup a cron on your server to do a backup periodically. Throw this in a crontab (crontab -e on most systems): 30 2 * * * /bin/tar -czf /...

View answer
1 answers
1 votes
69 views
Tracking SQL queries from CP changes
Accepted answer
3 votes

Lots of smart people have tried to solve this problem and it's a tough one to solve, not just in Craft land but WP, and others. And because of Craft's flexible nature, a change in one table usually ...

View answer
2 answers
2 votes
195 views
How can I order a sections entries by their children entry postDate?
1 votes

If I'm reading this correctly, you need two loops: one to loop over the parent entries in the section and then a second to get the parent's children. That'll give you the control you need. Something ...

View answer
2 answers
2 votes
153 views
Is it safe to make the 'app' folder writeable by the web server?
4 votes

Security is not off or on, it's layers of an onion. Anything you do has to factor into the bigger picture. My layers include: What user does the web server run as? What user is your content? Your ...

View answer
1 answers
1 votes
497 views
Matrix vs Multiple entry types
4 votes

I see this question as two parts: information architecture and templating. If you're used to something like WordPress where the template has a one-to-one relationship with how the template gets data ...

View answer
2 answers
3 votes
438 views
Non-default web port
3 votes

I'm not sure why you believe this is sub-optimal? You only have to set this once. I'm speculating here but since Craft makes no assumptions about your content, it stands to reason that it also makes ...

View answer
2 answers
2 votes
272 views
How do I perform a critical update if my Craft site relies on older plugins?
2 votes

Matt's answer covers some good ground, especially this line: "Odds are they chose Craft and their custom plugins for a reason and those reasons are still vitally relevant, as is the ability to stay ...

View answer
2 answers
1 votes
796 views
How to update Craft from 2.4 to 2.6?
4 votes

In additional to Lindsey's excellent answer, I find a lot more comfort in updating Craft than WordPress. P&T spent a lot of time making sure the one click updates just work. Unlike WordPress, ...

View answer
2 answers
4 votes
2k views
Best method to update Craft on a live site to avoid losing data
3 votes

I think you're asking the IT equivalent of "If I go outside when it's storming, how can I not be hit by lightning?" There's always going to be that chance. When you run a public server, that'...

View answer
1 answers
2 votes
392 views
Adding .html to end of page url?
Accepted answer
3 votes

You can change your entry's URL format right inside Craft. It's under Settings -> Sections then choose the section you want. Under URL Format, just add .html after the {slug}. In this example, I'...

View answer
1 answers
1 votes
136 views
Breaking one large Craft app into multiple smaller apps
3 votes

The instances would all share the same database instance since we don't store any data in the database anyways so that wouldn't be an issue... Brad or Brandon from P&T is probably going to chime ...

View answer
1 answers
2 votes
599 views
Image Transform to convert animated GIF to static?
1 votes

Is this a one-off image or do you need to use the transform for a bunch of GIFs? There's no way automated way to tap into transforms currently. (Craft 3 is going to be much better in this respect.) ...

View answer
2 answers
2 votes
137 views
Gated contact form
2 votes

There's no shortage of form builder plugins. I've used FormBuilder and Formerly on client sites. Sprout from Barrel Strength is a good pick as well if you want a paid product with commercial ...

View answer
2 answers
2 votes
237 views
Using a Dropdown field in a Matrix to parse a global
1 votes

If I'm understanding the question properly, you have a dropdown field in a matrix block that lets the user pick out which phrase they want to spit out on the page. The actual content of that phrase is ...

View answer
3 answers
9 votes
3k views
Creating partials outside of the templates folder
3 votes

Some good answers already by Luke and khalwat. I wouldn't try to load any templates outside of the normal Craft folder... you get into plugin territory there and it's not necessary. Your templates ...

View answer
1 answers
1 votes
342 views
Can you batch-change all authors in the CP?
Accepted answer
4 votes

There's currently no way to do so natively in the CP, but there is a round-about way to do it using a CSV file with a pair of indispensable plugins from Bob Olde Hampsink: Import Export Do the ...

View answer
3 answers
1 votes
763 views
Show Live Preview even if whole page is disabled
1 votes

Jonathan, you have a lot going on with your code, including nested for loops, which is probably beyond the scope of the Q&A format here. If it were me, I'd try to simplify what you have until ...

View answer
1 answers
3 votes
427 views
Specifics on ImageMagick and animated GIFs
Accepted answer
4 votes

For Craft to use it, yes the ImageMagick PHP extension is required because Craft uses PHP's bindings in the library they're using. Depending on the host's OS, it should be a package manager update ...

View answer
4 answers
5 votes
5k views
Expected performance benefit of using a non-file CacheMethod (Redis, Memcache)
3 votes

How many servers do you have? Redis and Memcached are most beneficial/intended for a multiple server setup so if you only have one server, there's probably other/betters thing to worry about. (Best ...

View answer
2 answers
1 votes
146 views
Migrate WordPress Site into Craft CMS. How deal with 404's?
1 votes

Why are your blog posts' URLs different after you migrated in the first place? Different slugs, URL format, etc? What you did before is going inform what you can do now. And how did you do the ...

View answer
2 answers
3 votes
782 views
Restricted front-end access
3 votes

Is the physical web server inside your network as well? As mcclaskiem mentioned, check to see if the IP address is within the subnet of your network and then allow access that way. You may want to ...

View answer
1 answers
0 votes
2k views
How possible is it to set write permissions on storage folder on symlinked install?
1 votes

Symlinks don't really have permissions themselves. If I had to hazard a guess, it sounds like your deployment script isn't setting the correct permissions on the craft/storage directory, maybe ...

View answer
2 answers
1 votes
242 views
Disabling unused PHP functions and Craft
Accepted answer
3 votes

I don't claim to be a security expert, but I have ran a server for a number of years. Keep in mind that whatever you do, running a public a server on the Internet is always going to put you at some ...

View answer
1 answers
1 votes
306 views
Live Preview and CDN caching
1 votes

If it were me, I wouldn't use Cloudfront to offload the entire site. You can certainly use it for static assets but cache invalidation is really expensive. And as you've found it, troublesome. By ...

View answer
2 answers
3 votes
431 views
Best way to bulk email an attachment?
4 votes

As someone who's run a mail server professionally, thought I'd expand on a comment. Brad's answer goes over the technical details of sending with Craft, I suppose this answer is more "philosophical"? ...

View answer
1 2 3
4
5
8