TransWikia.com
  1. All Categories
  2. Craft CMS

Craft CMS : Recent Questions and Answers (Page 19)

Find answers to your questions about Craft CMS or help others by answering their Craft CMS questions.

How can I make make the class of an entry link "active" if entry is the current url?

I'm currently using the below jQuery but it's buggy as it relies on looking for 'similar' URL and not the exact URL.Is there a way it can be done...

Asked on 05/12/2021 by DieselHashtag

1 answer

How do I display entries depending on multiple relations?

In this example, I'm trying to show entries with the category "Beer". This works:{% set myCategory = craft.categories.slug('beer') %} {% if entry.relatedDrinks.relatedTo(myCategory)|length %} <h1>Beers</h1> {% for beer...

Asked on 05/09/2021 by jamesd

1 answer

Ignore 'action' querystring parameter

Is there a way to ignore part of a querystring if it contains the parameter "action"? We have a 3rd party site which returns to one of our sites and...

Asked on 05/09/2021 by Jaytrix

1 answer

Sprout Forms Recaptcha js error - everything flagged as spam

I'm using the Google reCAPTCHA plugin with Sprout forms. I'm trying to use an invisible reCAPTCHA badge, but I'm getting a js error on page load:Unhandled Promise Rejection: TypeError:...

Asked on 05/07/2021 by artmem

0 answer

PDF creation with password

My client is setting up a digital downloads shop (PDF's) and has a requirement that after one or multiple products are purchased the PDF's are then available for download. He...

Asked on 05/06/2021 by Malcolm Maclean

1 answer

currentUser gets cached

I'm having a problem with navigation that seems to get cached. If the page is loaded by someone who is not logged in, it shows the login button in the...

Asked on 05/05/2021 by Joorren

1 answer

Field type that lets me select fields

I am trying to find a field type that lets me select one or more fields. I want to use this on a category to let the user select which...

Asked on 05/05/2021

0 answer

Craft Vs Drupal?

We currently have a Drupal site. What are the advantages and disadvantages of moving to Craft and Craft Commerce.Why would someone choose Craft Commerce over Drupal Commerce....

Asked on 05/05/2021 by Settle Stories

3 answer

Craft search only shows results matching 'title' of entries

I´m doing a search on Blog entries, i want to get all relevant entries searching on several fields, and seems that only matches the title. I try already using search(query),...

Asked on 05/03/2021 by Sebastián.

1 answer

Entry ancestors is null in dynamic asset subfolder path or during EVENT_AFTER_SAVE event

I'd like to use the slug of the top-level entry in a structure in an asset's dynamic folder subpath. I have a structure where the entry I'm concerned with for...

Asked on 05/02/2021

0 answer

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP