Questions tagged [craft-features]
Questions about Craft's capabilities, or how it might be used broadly to address the needs of a project.
110
questions
1
vote
1
answer
37
views
How to completely disable entry versioning(drafts) during editing
Obviously I disabled it in the section settings:
I just want to save the entry after making all the changes, but now it's trying to save the revision after each single change
1
vote
1
answer
83
views
How do I solve "Unknown Property – yii\base\UnknownPropertyException Setting unknown property: craft\fields\Assets::branchLimit"
First of all I am new in CraftCms.
I am trying to run the project local which I cloned, so I have a database which I must import to this project. now its giving this error when I finish importing the ...
1
vote
1
answer
29
views
How do you get Craft to generate multi-paragraph text?
In every other CMS I've used there's an option to compose multi-paragraph text in the back end which is then parsed out into P tags in templates. Neither the native text field nor the popular Redactor ...
1
vote
0
answers
45
views
Editing entry without creating a new revision in particular scenario. is this possible?
I'm updating particular field in "A" section whenever a new entry is created in "B" section. In this scenario I don't want revision to be created for "A" section. Is this ...
1
vote
1
answer
67
views
Get field settings of custom field via ElementInterface
It is possible to get the field settings via ElementInterface in normalizeValue Method ?
I need these settings of my custom field from my plugin :
how i can get now these values inside normalizeValue ...
4
votes
1
answer
220
views
Is there a way to re-use field groups/layouts?
Coming from Wordpress and using ACF plugin...it's really nice to be able to have say a field group called "SEO Fields" that contains all the custom fields for SEO needs (title, description, ...
1
vote
1
answer
55
views
Is there a way to keep fields synced between 2 craft instances
Has been a pleasure using Craft 3 for a while to build headless JAMstack websites.
The issue we have run into is keeping our staging and production environments as separate as possible.
We would ...
1
vote
1
answer
203
views
Is there a way to install a demo without Docker / Nitro?
As I'm a total n00b, I was wondering if there's a way to install, or import data from (for example) Spoke and Chain without using Docker, or Nitro?
For what I've seen, CraftCMS will be something to ...
0
votes
0
answers
58
views
SyncDB with Nitro Fail to sync database from local to staging
I'm trying to sync the database for my local Craft Nitro to the staging environment using SyncDB.
Here is the error,
[2021-06-04T15:49:51.623536+08:00] sync.NOTICE: Starting database sync [] []
[2021-...
2
votes
0
answers
57
views
Disable Two-Step Publish Workflow?
I recently updated to Craft v3.6, which appears to have changed the publishing workflow to require first publishing the draft, then saving the file in order to get back to the entries list. Is there ...
2
votes
1
answer
35
views
Can I create multiple website using the same admin control panel and what I have to change for that?
I want to create the multiple website using Craft CMS existing control panel. I am using craft 3.x
Do I need the Craft Pro to use this feature?
0
votes
0
answers
130
views
Create a New Entry with Fields Populated from an Existing Entry Table
I am still learning how to work with craft on the back end but so far I can see it is a very powerful platform!
I was wondering if there is a way that within an existing entry channel say "foo&...
1
vote
2
answers
106
views
How to use entry data?
My question:
How can I use entry data in the craft backend?
An example for the use-case:
Author creates an entry for the section "Generate item". The entry has only a title/single word.
...
0
votes
1
answer
205
views
Is it possible to change admin Actions URL (not only the URI)
When Craft is in headlessMode my URLS for admin actions (ex. /admin/set-password) are set to the frontend URL (SITE_URL) instead of the Admin URL (SITE_ADMIN_URL).
Is this behavior as expected?
As ...
1
vote
1
answer
123
views
Central Craft CMS management for agencies
We have now more than 60 active website running on Craft CMS and have been able to keep our lives somewhat straightforward when it comes to the development side of things (eg. code repository access, ...
1
vote
1
answer
627
views
Craft 3 CMS How to get all Channel Names/Titles
I am trying to retrieve all Channel sections' names/titles.
This snippet contains the troublesome part.
{% set allSections = craft.entries.all() %}
{% for section in allSections %}
{% if ...
2
votes
2
answers
600
views
Deploying and syncing project.yaml
I have a Craft CMS site set up that deploys through TeamCity and am trying to set up a build step to auto run "./craft project-config/sync".
I keep getting an error saying the file can't be found, I'...
2
votes
2
answers
463
views
Is there any plugin for Blog in Craft 3?
I want to create a Blog website in craft cms. I would like to know, is there any plugin for Blog which we can use in Craft similar kind of WordPress?
1
vote
1
answer
211
views
Craft 3 CMS Solo setting general Logo option
I have installed Craft 3 Solo and it's installed on my local machine. I would like to know how can I get an option in Setting -> General to Logo (upload Login Page Logo).
I am new to Craft, so would ...
1
vote
0
answers
254
views
User account registration using Craft 3
I wanted to build a commerce website using Craft 3. And I wanted to create parent registration form so each parent will have an account to use on the site. Then after they sign in I want them to be ...
-1
votes
1
answer
772
views
How to create website using Craft CMS [closed]
How to create website using Craft CMS admin Control Panel. I want to create a single home page using Entries, Section, Fields, Category, Assets, Tag.
1
vote
1
answer
582
views
Looking for a simple way to add/update information records with CraftCMS
I'm looking for a simple way to save form data to a database and be able to access that information. I'm not sure if I should use the custom fields or an entry (or a custom table) and if creating a ...
1
vote
1
answer
1k
views
How to restrict access to some section in front-end for admin user only?
I know this is a basic question, but i never use Craft this way.
I need to show a section ( list of items ) in the frontend but only available for admin users ( that are already logged in the control ...
1
vote
1
answer
1k
views
Download files in Assets fields
I´m using for the first time Guest Entries plugin to collect some info and some files from users, great! All it´s going great, the site admin will see all the info that the clients sends and the files ...
1
vote
1
answer
247
views
Force Anchor ID into page URL
I'm trying to add tabs into my Craft Site and have just noticed that when you add an anchor point, the anchor ID doesn't actually show up in the URL as it would a normal site, however I need this ...
1
vote
1
answer
34
views
Access Site Cookie From Email Message
I want to add source tracking to my Craft CMS site. Using Google Analytics I can track users through just about the entire process but can't see them as they go through account registration.
I ...
1
vote
1
answer
2k
views
Making a Plugin to Connect to a RESTful API - Error in get call
This is related to here, but, as I don't currently have the reputation to comment there, I decided to ask my somewhat different question here.
I am writing a plugin to connect to a RESTful API (using ...
2
votes
1
answer
307
views
How to fetch only selected child category?
I have some parent and their child categories which has more than one child.
In an entry I have a category field where I selected a single child category (Bourbon) which is visible like so:
Now I ...
1
vote
1
answer
81
views
ADLDAP plugin in Craft 2.6 - New User Required In Craft Table?
I'm pretty new to Craft, and we have been trying to implement a front end LDAP authentication to our website at my organization. I found the ADLDAP plugin and have been testing it with the website.
...
1
vote
1
answer
257
views
Image transforms return cpresources URL and doesn't apply crop
Despite having tried the tips from Image transforms returning cpresources url, I am still having issues with image-transforms.
the problem is when i put the image without transform it work fine, but ...
3
votes
1
answer
528
views
How we can set an image as default value in assets field
I have a field for upload an image in asset field. Can we set a default image in this field. Means when I create a new entry a default image has been already selected in asset field.
0
votes
3
answers
3k
views
Craft CMS & React JS
Researching this online and not having much luck if anyone has done this before.
How would one get the content from the CMS to update the FE and also create new pages / modules as a normal CMS would ...
1
vote
2
answers
899
views
Video frame for video file in a Rich Text field
I am adding a video in a Rich Text field through file button in toolbar. I want to play these video in iframe. How can I do this..?
Or is there anyother option or plugin by which I can upload video ...
0
votes
1
answer
609
views
Refresh Craft for loop with form parameters
Recently new to Craft and Twig although I have used Expression Engine in the past. I am looking for a way to update a for loop that is pulling entries from a defined category based on the current ...
1
vote
1
answer
50
views
Craft plugin services in subfolders
So I'm getting to a point where I have a lot of services in a particular plugin, and I would like to organize my plugin services into sub-folders. I've tried a couple ways but the controllers don't ...
1
vote
2
answers
415
views
Session destroy due to inactivity?
It seems that after x amount of time (somewhere between 30-60 mins?) of inactivity on a page the session is being destroyed/cleared/etc.
I will sit on a page with an active session for an hour and ...
1
vote
3
answers
937
views
What is the best way to setup Right to Left language locale in Craft?
I have been working on setting up locales for left-to-right languages. I wanted to know the support Craft provides for Right-to-Left languages like Arabic, Hebrew etc. Is there a plugin that could ...
1
vote
1
answer
172
views
Craft plugin for input fields on the front end to check existing user
I am trying to create a functionality in Craft where the user enter an email and the system is able to tell the user if the user exists or not similar to the attached screen:
I am very new to plugin ...
1
vote
1
answer
194
views
How to insert a Sprout Form into a new page in Craft CMS
I am a Wordpress guy, and I've been given the task of handling my companies Craft site.
I have been at this for hours, and can't seem to figure out how to get the damn form to appear on the page I ...
1
vote
0
answers
114
views
Entry reverse lookup on ancestor's field
I need to tune performance on a Craft 2 build. We are quite new to Craft CMS, so please bear with me if the question sounds silly.
We need to render a page that needs to display information from 4 ...
1
vote
0
answers
39
views
Targeting multiple countries with one locale
I'm new to Craft. I've the following questions about locales for a international company.
Configuration could look like this:
'siteUrl' => array(
'en' => 'domain.com/en',
'en_us' =>...
1
vote
1
answer
160
views
Is it possible to use images as variant selectors when choosing products?
I am fleshing out all the main parts of my commerce site and going through all the requirements needed.
I have installed the Craft Commerce plugin and set it up with required shipping, delivery, etc.
...
1
vote
2
answers
651
views
Nested IA Structure - What's the best way to get it set up?
I'm beginning to work on my first Craft CMS website. (I'm really excited!) I've read a ton of documentation and am getting my head around setting up a structure within the system.
The website will ...
1
vote
2
answers
53
views
How do I set this up the right way, transferring from Wordpress as CMS?
I'm trying to do something I'm used to in Wordpress, but can't really find a right way, or 'correct' way. What I was used to do in Wordpress; every page had a few options, like center content, ...
1
vote
0
answers
247
views
Craft CMS Integration with Node
Question 1
I have a Node/Express application where the users are registered and are using some kind of service. I want to have a list of the registered users and their info inside Craft CMS admin ...
2
votes
1
answer
339
views
How do I query multiple element types in one query
I have Craft Commerce installed, and I wanted to search title against both product title and variant title. I looked up in the database, I noticed that products and variants are of two element types, ...
1
vote
1
answer
956
views
How to check if a field exists on a section
When you remove a field from Craft, the data itself doesn’t disappear. So removing i.e. an intro field from a section, if that intro field is still used in the template, that content will be output ...
0
votes
1
answer
1k
views
How to override the Craft forgot password email
Struggling to find any documentation on how to override Craft's HTML for the forgotten password email.
2
votes
3
answers
1k
views
How would one go about migrating fields?
Is there any "simple" way of migrating fields and layouts from one setup to another?
Example;
Two identical installations/setups have diverged, where some information on certain fields have changed (...
2
votes
1
answer
263
views
Run Craft Find and Replace via Console
I'm trying to streamline my deployments for local, staging and production and would like to know if it's possible to invoke the Find and Replace method via Console. I have a multi-config in place, but ...