TransWikia.com
  1. All Categories
  2. Craft CMS

Craft CMS : Recent Questions and Answers (Page 25)

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

Display something in the middle of post content

My entry content is displayed like this:{% for block in entry.postContent.all() %} <div class="my-4"> {% if block.type == 'text' %} ...

Asked on 03/16/2021 by Lukas Snarskis

1 answer

How to hide the assets section of the control panel to specific user groups?

I need to hide the assets section of the control panel to a given user group. Changing the group permissions to prevent them from viewing all asset volumes also prevents...

Asked on 03/15/2021 by nstCactus

1 answer

Front End Entry Form - Proper Syntax for Custom Fields

I'm working on a front-end entry form with custom text input fields. From the Entry Form knowledgebase docs, I read "Any custom field handles must be provided...

Asked on 03/15/2021 by Ed Hebert

1 answer

JS POST setting new password with save-user re-submission not working with returned CSRF token

I have an AJAX form that sets a new password (using users/save-user) for the current logged in user (not an admin). It works for the first time but when...

Asked on 03/11/2021 by biko

0 answer

Upgrading Craft CMS fails

I'm trying to upgrade from 3.3.15 -> 3.5.5 from control panel. I run it via docker so all I need is to update the composer.lock file to have the correct...

Asked on 03/11/2021

2 answer

Craft 3 Registration Form Success Redirect

Is it possible to redirect the user to a specific page after they successfully complete the front-end registration form (before activation)? I've tried adding:<input type="hidden" name="action" value="users/save-user"><input type="hidden" name="redirect"...

Asked on 03/10/2021 by GazCrane

1 answer

Create custom field to input canonical url in a page

What is the best way of creating a custom field for each page whereby the user can input a URL into a field, which then gets input into a rel=canonical...

Asked on 03/10/2021 by GraMas

1 answer

External GraphQL API support with Twig

I have external GraphQL API's to get data which will be used in Twig Templates. This has nothing to do with Craft data or Craft's content. Is there a way...

Asked on 03/09/2021 by Deepak Kale

0 answer

Passing multiple arguments to a macro?

I have a link on a website that i'd like to set a class of active on, based on different segments.{% macro is_acitve(segment) %} {% if...

Asked on 03/08/2021 by Stephenio

1 answer

CDbException: What does this mean?

This just happened, but just one time. Any idea why?CDbException CDbCommand failed to execute the SQL statement: SQLSTATE[HY000]: General error: 2013 Lost connection to MySQL server during query. The SQL...

Asked on 03/07/2021 by osh

2 answer

Ask a Question

Get help from others!

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