RitterKnight
  • Member for 7 years, 2 months
  • Last seen this week
Freeform plugin: Email Notification Templates Directory Path: Not set correctly
1 votes

It looks like your freeform_emails folder is at the same "level" as config, storage etc? It should be moved to inside your main templates folder.

View answer
Freeform: disallow hyperlinks in message field
1 votes

Yeh - under Settings -> Spam Settings you'll find Block Keywords: Adding http://* and https://* should work. If you get hit with the same spammers throw their domain in there and it should ...

View answer
@webroot - how to find out path?
1 votes

Have you changed your server configuration at all recently? By "change" I mean add another domain or subdomain, go from staging to production, switch hosts, etc. It sounds like maybe Craft ...

View answer
How to Sign In/Up using social accounts ( Google, Facebook, Apple)?
Accepted answer
2 votes

At the risk of this question being closed for being too vague, maybe you need a starting point? If you want to try your hand at writing a plugin, the first thing I would do is read up on the OAUTH ...

View answer
Free Shipping toggle switch in product editor doesn't work
Accepted answer
2 votes

I have the base rate set up as a standard flat rate charge but wanted to know how to allow this toggle switch to remove the cost of shipping for that item. Yeh that lightswitch isn't well named. ...

View answer
Craft's case-insensitive routing
1 votes

If you're worried about search engines indexing some page where someone is linking to with a different case, as mentioned by Moritz, that's what you use the canonical tag for: <link rel="...

View answer
Multiple shipping method for a single order
1 votes

What have you tried so far? Right now, Commerce doesn't support multiple shipping methods per order. Depending on your process for fulfillment, there could be a couple workarounds. Split a single ...

View answer
Specific emails failing in queue
1 votes

It sounds like you have either an order issue or a queue issue. What happens if you try to send that specific email from the order's edit screen? If it's a Twig/order email / syntax problem, you'll ...

View answer
Bootstrap 4 Modal show same image, regardless of thumbnail selected
1 votes

This is more of a Bootrap question than Craft but from your code it looks like you're trying to create a modal and corresponding model from each instance? You probably want to change the data-target ...

View answer
Applying several discounts for amount range (> 100$ -> 5%, > 200$ -> 10%)
1 votes

The Commerce GUI doesn't let you set a whole cart discount but you can do it as an adjuster in a module/plugin. Setup the scaffolding for a module at pluginfactory then add a folder inside called the ...

View answer
Display entry data dynamicly in textfield
0 votes

The Variables plugin in the Redactor plugin might be useful in this case. One way to handle it would be to create your variables, like Brand and Product. Setup a Redactor field and add variable to ...

View answer
Using a variable with getUrl()?
Accepted answer
1 votes

You're close! When you're querying or setting a variable with a Dropdown field you need to use either .value or .label. It looks like you could also simplify your code a bit if the value (or label) of ...

View answer
Change link to entry if it's related to another entry
3 votes

Lots of pieces to this question. Since you need to check each field, something like: {% set whichField = null %} {% for checkField in ['field1','field2','field3','field4'] %} {% if attr(...

View answer
CraftCMS admin login page error "Account Suspended"
3 votes

Unfortunately this is an all too common occurrence. The good news is this is fixable. If your account was suspended, you need to unsuspend it. Typically you'd do this on the backend of the site. If ...

View answer
Show specific values when dropdown is select
Accepted answer
1 votes

At the risk of this question being closed for being too broad, there are a couple ways to handle this. Unlike other CMS such as WordPress, in Craft CMS, the front end code is up to you. If you don't ...

View answer
What value does actionInput provide?
Accepted answer
2 votes

Just like a lot of things in Craft or in computer science in general, there's multiple ways to do things. The actionInput function is just a shortcut for outputting a hidden input: <input type=&...

View answer
Affiliate link system
2 votes

This probably isn't the answer you need but what features are you actually needing it to do? Affiliate systems can range the gamut from simply dropping a cookie to tracking commissions. Even a very ...

View answer
Do "update cart" and "complete cart" as one action
Accepted answer
3 votes

There's a few moving parts here but Commerce 3.3, which was recently released, just introduced support for partial or deferred payments which should help get this done easily. I'm not sure what your ...

View answer
Add items to user's cart in Craft Commerce 2
1 votes

In Commerce, a User (or guest with an email address for that matter) can have multiple carts (or unfinished orders). So we need to get the most recently active one. Something like this should work: $...

View answer
vhost.conf and general understanding
1 votes

Your virtual hosting config looks good to me. However, how are you running SSL? You've only shown the port 80 / non-SSL config and it shows a redirect to https so the DocumentRoot probably differs ...

View answer
Synching content and template files across environments
1 votes

However, during the dB export, we need to update all the entries to reflect the local URLs. How does this work with Craft? do dB entries need to be updated to reflect the new URLs? Sounds like you ...

View answer
Serve remote files instead of local ones (with a nitro setup)
Accepted answer
1 votes

There's a couple different ways to handle this. Base URL on Asset Volume One way is just to treat the asset volume like you might a CDN. Unlike other CMS (ahem WP), Craft doesn't hardcode URLs into ...

View answer
Write project config to cloud storage
1 votes

Untested but you might want to try setting CRAFT_EMPEMERAL to true to skip the filesystem checks. You can also opt out of automatic project config creation using the Manual YAML File Generation method ...

View answer
Twig Format Number Filter not working
2 votes

You're getting the error because of Twig's operator precedence. Filters take priority over math. So basically Twig was trying change var2 to a percentage first instead of using the results of the math ...

View answer
Upgrading to 3.6 Impossible With PHP 8 Installed
1 votes

TLDR: How did you install your PHP packages? You get that error if the mysql driver wasn't installed. Longer answer: It looks like you're on Debian (and generally applies to Ubuntu as well) so if you'...

View answer
Craft 2: Suspend user results in "Unauthorized You don’t have the proper credentials to access this page."
Accepted answer
2 votes

Is she trying to suspend another user who's an admin user? I just tested this and your scenario would happen if she's trying to suspend an Admin's account. A user who's has Admin privileges can only ...

View answer
Craft Commerce: Checkout without email / address
1 votes

Commerce is going to require an email address to checkout. It's a required field for a customer. You could try to "fake" an email address and then try to update it before the order completes ...

View answer
Why the entry-Variable doesn't exists after search?
Accepted answer
1 votes

Yeh this a common problem I've run into as well. The issue is the entry variable only gets set when Craft is routing to an entry that's created in the CMS. Since you're routing directly to a template, ...

View answer
Kentico to Craft
1 votes

The great thing about Craft is everything is up to you. So there's not really going to be a service to effectively move from one CMS to another (unless you hire a Craft partner for example which is ...

View answer
How to detect white background
Accepted answer
2 votes

Interesting problem! I took a stab at this, see if this works for your use case. It relies on ImageMagick to check for the top left pixel color (0,0) after the image is uploaded (but will also work if ...

View answer
1
2 3 4 5
8