Questions tagged [control-panel]

Questions having to do with Craft's control panel.

Filter by
Sorted by
Tagged with
0
votes
0answers
31 views

Logging into CP doesn't set authentication cookie

Trying to debug an issue where in a dev environment logging into the cp it doesn't set the CP Authentication Cookie (the hash with the _identity) at the end of it. I believe this is the root cause of ...
1
vote
1answer
19 views

Refused to display/connect when previewing entry on multi-site setup

I run a multi-site setup with four sites; one on unicorn.com and one on all-your-base.com. The way Craft CMS licensing works, you can run multiple sites on different domains on the same license/...
0
votes
0answers
12 views

Default sorting in Assets view

Is there a way to change default sorting order on asset view pages? At the moment the default one is Upload Date and selecting sorting by Title only affects view in the folder you're currently in. In ...
0
votes
0answers
16 views

How do I get the site from the dropdown in the control panel?

Is there an easy way to fetch the selected site of the dropdown (the one an editor would use to switch the site) in control panel in a plugin? The only way I found so far is to get the last segment ...
2
votes
1answer
57 views

Login Page Logo and Site Icon with Project Config

How does one configure the rebrand options (Login Page Logo and Site Icon) with project config enabled? The fields to upload these files usually appear under Settings > General. This is only visible ...
1
vote
1answer
31 views

Craft 3: Searching within back-end & front-end isn't giving all entries/results

Searching within Control Panel as well as the front-end is not going through all entries. When I try searching in the Content tab I see the pages are listed but when I try to search for the entry it ...
1
vote
2answers
24 views

Show user group in CP user listing?

I want to scan my user list to see if anyone hasn't been assigned to a group. Is there a way to show user groups as a column at admin/users?
0
votes
0answers
25 views

My new pages appear with Sorry, we couldn't find the page you were looking for

I am adding new entries to my site and following the exact same blueprint as the rest of my pages. However I cannot make any edits to the the new pages and when I attempt to preview them it appears: ...
0
votes
0answers
24 views

Redirect (302) when opening admin panel

I've setup CloudFront for my app that runs on Craft 3. DNS points to CF, CF has Elastic Load Balancer (ELB) as a default origin. The ELB is a subdomain on my main domain (for certificates reasons). ...
1
vote
1answer
140 views

Redirect after saving an entry

The question was already asked (Possible to redirect elsewhere after saving an entry?) but this was about Craft 2.x. Up until now I used the following code in my plugin (I took it from one of the ...
0
votes
0answers
12 views

How would override a single CP template?

I would like to override the "_special/image_editor.html" template, to allow more constraint possibilities. How would override this template ? Nicolas
1
vote
1answer
56 views

SSL now CP unknown errors

I have a Craft 3 site that's been running on a production server. Recently we switched over to https but this has caused issues in the CP (multiple 'An unknown error occurred' red flags, can't view ...
1
vote
1answer
23 views

Commerce 'Edit Order' page taking 10 seconds or more to render

The individual order view in the CP is taking 10 seconds or more to be displayed, how can we avoid/debug this? PS. Can ignore the errors in the log (I think) as they are just mmikkel\cpclearcache\{...
1
vote
2answers
35 views

CP Asset thumbnails delivered by PHP

When listing entries with lots of assets (and therefore thumbnails), the server slows down significantly. I realized, that the assets all have the path: https://mypage.url/index.php?p=admin/actions/...
0
votes
0answers
30 views

An unknown error occurred message, only on live server

Please can anyone give me some pointers. Just logged into the backend on an older (but live) 3.0.26.1 project. CP is now flashing multiple 'an unknown error occurred' messages on every CP request. ...
2
votes
1answer
70 views

Cannot access email section of settings

I somehow can't access the email section of settings; /admin/settings/email Argument 1 passed to craft\helpers\MailerHelper::createTransportAdapter() must be of the type string, null given, called in ...
1
vote
1answer
31 views

When I try to edit an entry: “Unable to find 'craft\services\EntryRevisions'”

I have just moved my site onto the live server and imported my local db. It is a multi-site setup. In the Entries section of the CP, when I click on an entry to edit it I get the following error page:...
1
vote
1answer
35 views

Show entries in the Control Panel as a grid, to reorder position

I am looking for a way to display entries in a (5er) grid in the Craft backend (Control Panel) and show only the featured images. I have a customer who has on her website a gallery, where 5 squares ...
1
vote
1answer
26 views

Craft Queues: Job Event

In Control Panel we can see the progress of a certain job. I would like to hook on events like "DONE" or "FAILED" and do certain things in Control Panel, e.g. reloading the page, or redirecting ...
1
vote
1answer
49 views

Craft CP showing plugin updates, but already updated

This morning there were new updates for Craft CMS, Contact Form and Simplemap on a Craft Pro site I host. I updated everything through the Craft CP. After the update, the CP still shows available ...
1
vote
1answer
37 views

Notes about your changes

On a CP edit entry page there is a box for 'Notes about your changes'. I have entered text in there and saved the entry, but it doesn't seem show up anywhere. How does it work?
2
votes
1answer
98 views

How to I set the location folder of Control Panel resources?

I'm trying to use the ./craft clear-caches/all CLI command. Everything is working fine, except that I always get this error: Error clearing cache Control Panel resources: Unable to clear Control ...
1
vote
1answer
28 views

Where are all these columns coming from on the Entries in happy-lagger.test project?

I just started looking around the example project happy-lager, and I realised that on the Entries there's a bunch of columns displayed that I don't see on my company project (URI, Service Icon and ...
1
vote
2answers
176 views

Can a plugin add JS or CSS to the control panel in Craft 3?

I want entries in a specific PlainText field for a named group to be pre-filled with random content. I am aware of the https://github.com/lukeyouell/craft-randomkeygenerator plugin and am aware that I ...
1
vote
0answers
45 views

Pre-select entry type based on site being edited

I'd like to change the entry type that's pre-selected when creating a new entry depending on the site that's being edited (doing that with JS). In control panel, does anyone know how I can trigger the ...
2
votes
1answer
79 views

Cannot find control panel after installation

After installing craft on apache server, when I try to access control panel using web/admin, serwer throws 404 error. I didnt changed cpTrigger setting. Default craft template that displays after ...
1
vote
1answer
84 views

Bypass CP login

I've got a very special case in a big offline installation . For strange technical and administrative reasons, I must have 5 different Craft instances each one in it's own server (on the local network)...
1
vote
1answer
421 views

Craft CMS 3 admin panel returns 404 with SSL

I'm using MAMP Pro for local development and was gong to set up my site with SSL this time around. I got a self-signed cert for local dev and I can go to my development site over https:// without any ...
1
vote
1answer
55 views

Can't Get Past Control Panel Login. Keeps Redirecting Back to Login Page

I followed this guide to move my local hosting from WAMP, which has been giving me a bunch of 500 errors since switching to Craft 3, to Local By Flywheel. After getting everything configured, I can ...
1
vote
3answers
416 views

What is the Control Panel URL?

The installation instructions say: "A few seconds later, you should have a working Craft install! ... If it was successful, Craft will redirect your browser to the Control Panel." My installation ...
1
vote
1answer
76 views

How can I use asset select modal in utility?

I created a custom utility template. Inside the template, I would like to use the built-in asset select modal for the "Add image" button. Any way to do this please?
1
vote
1answer
38 views

Special order filter (by language) in CP for Craft Commerce

We have a online-shop for german customers (Craft 2 + Commerce 1) and will expand the shop for american customers (via second domain). Is there a way to filter the order (status) views in the Backend ...
1
vote
1answer
59 views

Removing the LivePreview and Share Buttons?

Is there a way to deactivate this functionality? We dont want our clients to use it just yet. I could delete them with my Module's js, but it is triggered after the site is build and the "popping" ...
0
votes
0answers
244 views

Craft 3 Admin not loading cpresources files over HTTPS

I have a Craft 3 install on my client's Windows machine running Apache, PHP and MySQL. We purchased an SSL certificate but the main Admin login page (on SSL) keeps loading cpresources assets over ...
1
vote
1answer
29 views

Craft CP and a11y

Is there some documentation/summary to which degree Craft's CP supports accessibility (a11y), WCAG2 compliance? Especially support for color blindness and keyboard only usage is requested in an ...
1
vote
1answer
172 views

Translate labels in CP with Craft CMS 3

I was wondering if it was possible to translate the labels, like "Singles","Entries" in the CP I know it's possible with Craft 2, but I didn't find with Craft 3. Do you have any ideas? Thanks!
1
vote
0answers
22 views

Sort and display panel in CP does not show all the fields

When I try to arrange some entry field in the CP's sort and display panel, the panel does not show all the fields in the server version, while it display all the fields in my local version. Although, ...
1
vote
1answer
350 views

Installing Craft 3 on Cpanel

Can I install Craft 3 using cPanel instead of composer. Any suggestion or guide on it? I tried find tutorials but found for Craft 2, not for Craft 3.
0
votes
0answers
191 views

Setting up Craft 3 database backup command for a remote database server

I have my Craft 3 database on a separate server than my Craft webserver (load balancing) and when I use the download database backup function in Craft 3, it doesn't know where to look. I haven't ...
1
vote
1answer
24 views

CP: Title from relation?

I have the following 1:n relation between two sections: Source Element: Interview Target Element: Persons In the CP (only there) I need to be able to identify Interviews by the name of the ...
1
vote
1answer
60 views

Craft 2 JS error in CMS since upgrade to 2.7.0

My Control Panel has stopped working since upgrading to Craft v2.7.0. in chrome. I get the following JS error no matter what is clicked in the entry fields and no action is taken. So for example if I ...
1
vote
3answers
237 views

400 error logging into local Craft 3 project

I have just tried to log into an old local Craft 3 project that hasn't been worked on in a few months and I'm getting the following: HTTP 400 – Bad Request – yii\web\BadRequestHttpException Unable ...
1
vote
1answer
34 views

Rearrange Headings Alphabetically

Is there a way (or plugin) to organise headings alphabetically? You can drag and drop to rearrange but if its a contact list for example, being alphabetised is really useful.
3
votes
2answers
431 views

How can I sort entries by a custom field in the CP, Craft 3?

I have an events section with a custom field of eventDate and it would be very helpful to editors to have them listed in event date order. In Craft 2 I used the plugin CP Sortable Custom Columns by ...
2
votes
1answer
492 views

Craft incredibly slow site performance

I am experiencing incredibly slow site performance. This extends to loading the control panel (/dashboard, /login). This only happens when I put the site on to my hosting, locally using MAMP it runs ...
3
votes
1answer
39 views

Generating thumbnails when using a memcache server for session storage frequently signs users out

I can't figure out why, but when I'm connected to a memcache server the thumbnail generation process in Assets hangs for long periods of time, the getElements process throws 403 errors, the generating ...
1
vote
0answers
21 views

Craft 3: Prevent craft adding script filename to URLS

I'm running Craft 3 with multi-site. Working well so far, but my hosting doesn't allow me to create traditional vhosts with their own directories and shared upper filesystem. As such I have an ...
3
votes
2answers
164 views

In the CP, How to make images bigger when the users select images?

In the Control Panel, when users are selecting an image for the asset field, the thumbnails are too small in the popping up image modal. Is there any way to make the images bigger?
2
votes
2answers
109 views

Add a button to the entry edit screen via plugin

I would like to add a button to the edit entry screen, only for already saved entries, alongside the "Share" button. When clicked, I'd like to call my plugin's controller action and post the entry ID....
1
vote
0answers
33 views

Add a second template field in section settings via plugin

I would like to add a second default template field for each section's Site Settings, via plugin. Where would I look to see how to do this? How would I access this value in my plugin's code? How ...