Newest Questions
14,621 questions
2
votes
1
answer
27
views
Prefill date field with todays date; which event to listen to?
When a new entry is created (when clicking on "New Entry", not on save) I would like to prefill a date field with todays date. I tried to find out which event I need to listen to for being ...
0
votes
0
answers
75
views
GraphQL - Query with relatedTo filter and multiple criteria
Craft version 3.9.14
Originally I had built this query, and associated filter with CraftQL, but now that GraphQL is natively available, and we're migrating the project to Craft 4 I need to update all ...
0
votes
1
answer
22
views
How to host a headless CraftCMS on domain without /admin
I am using CraftCMS on a subdomain to power the frontend on admin.domain.com, so making this admin.domain.com/admin seems needless. Is it possible to remove the /admin slug altogether?
I have tried to ...
0
votes
1
answer
132
views
Possible to limit current available asset sources by current active site?
I have a multi-site setup and I'd ideally only like the author to be able to upload an asset to the asset source associated with the currently active site. For example, I have an author that has ...
0
votes
0
answers
22
views
Cannot install Craft CMS 3 on Ubuntu 24.10
I've just installed a droplet from DigitalOcean and installed Apache, PHP, MySQL and configured virtual hosts on the server and installed composer. I've installed craft via the command line with no ...
0
votes
0
answers
26
views
Constant expression contains invalid operations
I'm trying to update the Craft from version 4.8.5 to version 4.13.9, but during the data migration, I'm running into an error:
Constant expression contains invalid operations at /vendor/symfony/...
0
votes
1
answer
33
views
How can I make CKEditor use a default protocol if one is not entered in the link field?
When adding a link in the CKEditor text block the content editors of the website frequently just put 'www.website.com' instead of including 'http://' or 'https://' before it. Is there a way to set ...
0
votes
1
answer
29
views
Entry images don't 'lighten' up
On our homepage, we have an issue where 2 of our featured projects (Pump Station and Dally Terrace) don't seem to 'lighten' up as you hover over it with your cursor. Is there a way to solve this issue?...
0
votes
1
answer
38
views
How Is It That Front End User Registration Does Not Validate for Unique Emails?
I thought this was built in?
But registering users via a front end form wil allow one to enter an email that is already being used. Several times.
How is that possible?
All of these ar TRUE:
Verify ...
0
votes
1
answer
49
views
How to use nested fields in ckeditor longform with headless (graphql)
I was wondering how I can query nested entries (let's say a button inside a ckeditor) with graphql in a headless setting.
So far there is no solution out, but it's on the roadmap, as it seems: https://...
0
votes
1
answer
25
views
Possible to add the created or post dates to the slug?
We are looking to concatenate the post date/created date with the title in the slug. Is it possible to make changes to the slug in this way?
0
votes
0
answers
34
views
How can I configure a CKEditor config to never apply block-level elements?
I'd like to use a CKEditor field for content authors to use for Headings, since these headings need to be able to have some portions styled with different colors, and others with underlines. However, ...
0
votes
0
answers
36
views
How can I populate a field with the content of another?
I have an image block in a components page builder matrix that has two fields:
Image
Caption
While the Images Assets have a Default Caption field on them, so each image can have an initial caption ...
0
votes
0
answers
15
views
Issue with Feed Me Plugin in Craft CMS: Assets Not Deleting as Expected
Description
I’m encountering an issue with the Feed Me plugin in Craft CMS, and I’m unsure if it's a mistake on my part or a potential bug. Here’s what’s happening:
Steps to reproduce
1.I have an ...
0
votes
1
answer
18
views
Requested image “unicef.png” does not exist in path
I moved my website from real server to local host now I am geting this error while the images are in the directory. any one can help me thank you!