Questions tagged [craft-pro]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
384 views

Getting column not found when using 'Entry::find()' to find the matching channel entry in custom plugin

We are building a plugin to perform some custom operations with an ERP system. We created a section for managing the users from ERP. We are able to create new users as channel entries and update them ...
Market South's user avatar
2 votes
1 answer
118 views

Redirect to entry based on password

I don't know if there even is a way to do this using Craft CMS: I am looking for some sort of a password protected redirect. domain.com should show a password mask that accepts multiple different ...
fr-haus's user avatar
  • 58
0 votes
0 answers
837 views

Maximum Response Size in GraphQL API?

hoping someone can point me in the right direction here. I'm trying to query my client's API with the Graphiql interface. My use case requires me to extract quite a lot of data from their system but ...
Ailish's user avatar
  • 21
2 votes
1 answer
240 views

Pro license on new install

I'm starting an existing CraftCMS site from scratch, but I will be using the same pro license I already own. Can I install that in the new install? Or dow I just transfer that license when I relaunch ...
yankeyhotel's user avatar
1 vote
1 answer
81 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 ...
lopu's user avatar
  • 51
1 vote
1 answer
69 views

Approach for creating a dropdown for an entry's field based on a selected entry

I'm running in to a situation that I don't know how to solve in Craft. I want admin CP users to select one entry from a list, and then based on that specific entry select a value from inside the ...
Sietse's user avatar
  • 11
1 vote
1 answer
65 views

Craft Commerce Checkout: How to prevent payment link from bypassing shipping section in nav-checkout

I'm using checkout.twig in the CraftCMS shop checkout examples templates. As the user proceeds though the checkout process, this nav strip appears at the top of each page and marks their progress. The ...
cannon303's user avatar
  • 309
1 vote
2 answers
388 views

Get System Activation email link

On my site a type of user can add new clients and I wanted to automate the activation email, so that when a new user is added then the client will get the activation email. But I'm getting an error ...
Mario Sanchez Maselli's user avatar
0 votes
0 answers
258 views

Locale URL /en not working - No such file or directory (/public)

Some values have been anonimized and are marked with %value% I followed the steps for setting up a local Craft CMS using composer and have the default site running on %domain%.test. Now I've made a ...
Sander Lameco's user avatar
2 votes
2 answers
311 views

Icons not loading in admin

In some instances of my websites the icons don't load properly. Everything else in the website works, but the icons don't load. The other websites on the same server with the same php.ini file don't ...
JJefferyDev's user avatar
0 votes
0 answers
54 views

Cannot ZIP craft folder - WINDOWS

I've come across not a deal breaking problem - but an issue that will cost allot of time. When I try to compress the craft folder (so I can upload it to a server) using windows: Send to >> ...
Wally's user avatar
  • 343
2 votes
1 answer
216 views

Custom shipping cost

One of the shipping companies that my client will use works by distance. This company offers an api where you tell the pickup address and the shipping address. You also specify what type of package to ...
David Saenz's user avatar
0 votes
0 answers
167 views

Freeform plugin conditional rules not working

I have 3 select fields in my form - Select A, Select B and Select C. I want Select B & C to be hidden by default. If Select A option is not X, then show Select B. If option Y is not selected in ...
PxDsgn Co's user avatar
1 vote
1 answer
1k views

Input and Use Twig Variable in External JS Script Across Different Pages

I have created a _layout.twig file which acts as my base to hold content on the page -> _layout.twig: <!DOCTYPE html> <html lang="{{ craft.app.language }}"> <head> ...
Gideon B's user avatar
  • 111
1 vote
1 answer
163 views

Users not fully deleting from the database

From the admin, if I delete a user they disappear from the admin list but not from the users database table. Looking through the code I can see UsersService.php has a function deleteUser which calls ...
Aravona's user avatar
  • 111
1 vote
2 answers
1k views

Get entries that are enabled and disabled for the site

A Craft (3.4 Pro) website has setup two sites, one for each language. There are entries in a section that are enabled and others that are disabled for each language. I want to get a list of all the ...
Panos Spiliotis's user avatar
0 votes
0 answers
76 views

How to stop caching entries/templates?

I have a dynamic form that creates entries in Craft 3 Pro. These entries are displayed in a "Profile Page" for each user, but it only shows the newly created entries after hitting refresh 2 ...
brunouno's user avatar
  • 154
1 vote
1 answer
221 views

Getting invalid verification code for email confirmation

I am using Craft CMS as a backend for react Next app. On our live site we are sometimes getting complaints from the user about error when user try to verify code sent in the email. This case doesn't ...
Rohit's user avatar
  • 121
1 vote
1 answer
260 views

Live preview + share button missing when switching to PRO licence

At first, I thought the latest update was the problem, but apparently, by buying a license and switching to PRO, the buttons disappeared. Is there a magic trick to get them running again?
Igor Foerier's user avatar
1 vote
1 answer
221 views

Query for Lightswitch in GraphQL

I have two entry types that I want to show in a sorted list (by postDate, with paginating). { entries( type: ["entryType1", "entryType2"], orderBy: "postDate desc", limit: 5, offset:...
Denis's user avatar
  • 96
0 votes
1 answer
48 views

Is it possible to validate whether all assets in an entry have been uploaded?

Is it possible that all assets are uploaded in a single entry and display success or fail in a friendly way? Use case: Client uploads 2000 photos at a time in an entry and has to keep scrolling to ...
Ryan Mitchell's user avatar
0 votes
1 answer
234 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 ...
Denis's user avatar
  • 96
1 vote
1 answer
126 views

PayPal Pro In Craft Commerce

I am trying to integrate PayPal Pro into Craft Commerce, I have my API details added to the payment gateway and I have disabled test mode. I know these keys work as they have been used before. On ...
WhoIsMostash's user avatar
1 vote
1 answer
728 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 ...
ves's user avatar
  • 117
2 votes
1 answer
137 views

Craft Commerce 2 - extend Order details page

Let's say we're on the order details page with the 3 tabs - Order Details, Transactions, Status History How do I add an extra tab with content? Craft V3 / Commerce V2 Thanks
XLR's user avatar
  • 163
1 vote
1 answer
132 views

Set UserGroups for existing User

Using Craft::Pro Edition, I want to add a specific UserGroup to an existing User in my module. I tried it this way, but the group is not saved. $userGroup = Craft::$app->userGroups->...
lanz's user avatar
  • 13
2 votes
1 answer
223 views

How can I show a list of product options as checkboxes in the cart?

In my cart (Craft3/Commerce2), I need to show a line item's possible options from a checkbox field called "productOptions", and allow the user to select the desired options. Based on the Craft Docs, ...
motorzen's user avatar
2 votes
1 answer
82 views

Display Backend User Entries on Front end

I have the user submitting to a function that adds entries to a field called completed. It basically adds entries to each user showing the admin who has completed what. I'm trying to figure out how ...
Kevin Love's user avatar
9 votes
3 answers
6k views

How do image focal points work in Craft 3?

How do image focal points work in Craft 3? I see the dot in the CP, but I'm unable to set the focus.
Kantesh Hotchandani's user avatar
1 vote
1 answer
399 views

Image quality get low in Craft 3 after applying image transform

As of now I am using Craft's image transform to render images according to the size. If this still appears low quality even Image Transform setting with qulity "Maximum".
Kantesh Hotchandani's user avatar
1 vote
2 answers
69 views

Craft 2: Exception: CException: Alias "ext.alpha" is invalid

Today I updated my craft to latest version Craft V 2.6.3015 by following this url. I got it updated successfully and now my Craft version is 2.6.3015 which is latest of Craft 2. After updating the ...
Himanshu Upadhyay's user avatar
0 votes
1 answer
153 views

Login Page Logo and Site Icon gives 404 in Craft 3 [closed]

I have update the craft version from 3.0.2 to 3.0.3.1, after that Login Page Logo and Site Icon gives 404 path error. I have checked file permissions also but it is not creating link in cpresources ...
Kantesh Hotchandani's user avatar
1 vote
1 answer
345 views

Client License Transition to Solo/Pro

I have a Craft site with a Client license. After the recent license transition to Solo/Pro, a red banner appears along the top that reads "You’re running Craft Client with a Craft Pro license. [...
Marcus's user avatar
  • 419
1 vote
1 answer
621 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 ...
Aaron Jay Lev's user avatar
1 vote
1 answer
194 views

Using elements-api, how do i create a geojson structure with Features within a FeatureCollections

I am trying to output, from a single request, a geojson structure like so: "type": "FeatureCollection", "features": [ { "type": "Feature", "properties": {}, ...
BillyMedia's user avatar
4 votes
2 answers
513 views

Mailer config in Craft 3 not getting merged

I have this custom config in config/app.php, but Craft seems to keep using the default Control panel Sendmail config. It seems this doesn't get merged in the main.php file. (as promised) return [ '...
Thaoms's user avatar
  • 93
1 vote
2 answers
115 views

Event onPublishDraft not firing

We are still trying to make a custom mail plugin. We have one problem left. When someone makes a draft, and later publishes it, only the onSaveEntry fires but without NewEntry. So we were trying to ...
Brandon's user avatar
  • 13
1 vote
1 answer
97 views

Removing index.php causes Not Found error on secondary pages

I'm moving an existing site to the new server and spent a couple of days trying to make this work. Home page of the site loads just fine. Other pages load too if I add /index.php/ to the url. ...
SoHo's user avatar
  • 403
1 vote
2 answers
1k views

Parse error: syntax error, unexpected '['

I am having a syntax error on my craftCMS website. Hoping someone could help me. Parse error: syntax error, unexpected '[' in /home16/puresoci/public_html/dev/craft/plugins/charge/ChargePlugin.php ...
ChooeyCraft's user avatar
1 vote
1 answer
249 views

Recoverable error Object of class Craft\ElementCriteriaModel could not be converted to string after Update

After running Craft update I'm getting error on the meta author, meta description and meta keywords fields. Any idea how to resolve issue? Recoverable error Object of class Craft\...
frshjb373's user avatar
  • 287
1 vote
1 answer
910 views

Missing required param: card[exp_month] on Charge 2

I created fields using Charge 2 plugin and after creating a form I getting an error Missing required param: card[exp_month]. <div class=""> <div class="grp-form"> <...
ChooeyCraft's user avatar
1 vote
1 answer
548 views

"A non-numeric value encountered" reintroduced after version 2.6.2991

It seems that an issue that was solved in craftcms 2.6.2991 is reintroduced afterwards. I have just updated a site to version 2.6.2997 and the exactly the same error that was there prior to version 2....
Tim Bertens's user avatar
1 vote
1 answer
444 views

Craft CMS Backing React FE using the element API

I am hoping to create a React Site that uses Craft CMS and the Element API as a backend. However, I know I will need to authenticate users and be posting data back into Craft which I believe the ...
9er's user avatar
  • 179
3 votes
1 answer
178 views

How can I safely identify a single asset-folder?

Background I'm writing a plugin that will function as a document-archive with access-rights to different folders set based on user-groups. In addition to folders which are restricted, there is also ...
Fuglsetrampen's user avatar
1 vote
1 answer
113 views

Can't access Craft CMS admin in Chrome Canary 63.0.3233.0

I'm not able to login to my local craft cms in google chrome canary, version 63.0.3233.0. I've attached a screenshot of the error message I've received when trying to go to the standard login page. I ...
Daniel Van Cuylenburg's user avatar
1 vote
1 answer
92 views

Seeking information on the largest Craft sites built

We're writing an article on the largest Craft sites built and I'm having some challenges finding this information. Ideally, we want to compile a list of the top 20. "Largest" is determined by certain ...
Chris's user avatar
  • 11
1 vote
1 answer
199 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 ...
Kabz's user avatar
  • 11
1 vote
1 answer
331 views

404 on localized entries - Nginx

I'm stucked with a 404 error on all my localized sub-directories. It works fine for the homepage ( es. domain.com/es, domain.com/it ). Also urls in the main directory are behaving correctly. Example: ...
Alessio Breviglieri's user avatar
2 votes
1 answer
968 views

Craft with ElasticSearch as a backend

Hope this kind of question (a pointer request, actually) is alright with StackExchange guidelines. We're looking to store all our data in ES. Is this possible at the moment? Any plugin to do so? We're ...
Khom Nazid's user avatar
1 vote
1 answer
37 views

White pages on Frontend

I'm quite new to Craft. I was working on templates, then I logged in to create a new section and now any frontend route is returning a blank page. 500 Internal Server Error. I restarted, Nginx, ...
Alessio Breviglieri's user avatar