TransWikia.com
  1. All Categories
  2. Craft CMS

Craft CMS : Recent Questions and Answers (Page 40)

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

{% requireLogin %} not working on extended (layout template) files?

Is there a reason {% requireLogin %} is not firing when using in a parent include? if I place {% requireLogin %} inside the main template file and then use...

Asked on 09/08/2020 by Terry Upton

1 answer

On users page I want to display the users of their own group not any other group, how can I override this in backend?

I have 6 roles in the application, each role has different responsibility, now one role has the responsibility to change/modify user details only of his own group.The problem first...

Asked on 09/01/2020 by Ryan Singh

0 answer

Does Craft / Twig support regex groups?

I see Craft does support regex in replace search. But there is no info on using regex groups, ie string | replace('/this is a (string)/', 'This is another...

Asked on 08/31/2020 by haabe

1 answer

Twig "is defined" always returning true

I am trying to code defensively and check whether a field exists before accessing it:{% if e.someField is defined %} {{e.someField}} {% endif %}And I get a CExceptionCraftEntryModel and...

Asked on 08/30/2020 by Marion Newlevant

5 answer

Assets (in assets folder) failing to load locally [Craft 2]

I'm trying to get my Craft 2 site running locally again (it worked at one point but now does not).I have gotten all the db related issues (seemingly) done...

Asked on 08/29/2020 by J. Ktz

1 answer

Trying to create a new field returns "General Error: 1030 Got error 1 from storage engine"

I recently updated the site to 3.5.5, so not sure if this has anything to do with it. It's been a while since the last field we created, so can...

Asked on 08/28/2020 by flannel

1 answer

Enupal Backup not backing up assets

I am testing Enupal Backup. In the settings, I can choose to back up assets, templates, etc. But when I run the backup, only the database is acutally backed up....

Asked on 08/18/2020 by nitech

2 answer

Reset password with MySQL

Is there a way to reset an admin account's password by modifying the MySQL directly? I've found the craft_users table where the hashed password is stored but I don't know...

Asked on 08/09/2020 by bravokiloecho

3 answer

Is there a way to add custom aspect ratios in the image editor?

We'd like to add a custom aspect ratio to the list of aspect aspect ratios in the image editor so our client doesn't have to look it up to remember...

Asked on 08/06/2020

1 answer

Timezone in Craft different from timezone in plugin

In general.php I've set 'timezone' => 'Europe/Oslo'. When saving entries through the CP they are saved with the correct time. Also, date_default_timezone_get() from my plugin returns Europe/Oslo. However when I...

Asked on 08/06/2020 by Stian Karlsen

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