Questions tagged [control-panel]

Questions having to do with Craft's control panel.

Filter by
Sorted by
Tagged with
2
votes
1answer
39 views

Plugin removed, can't get rid of its data | Control Panel JS

I was using the Control Panel JS plugin, and I entered some erroneous JavaScript that caused it to break the control panel. I then deleted its row in the plug-ins table in the database, and all ...
1
vote
1answer
20 views

Do Freeform Events Fire From Control Panel?

It appears to me that Freeform Submission events do not fire when editing events in the control panel. They certainly fire from a front-end submission. That would make this statement in the ...
1
vote
0answers
39 views

Assign user to group available even though not allowed? (Craft v3)

Working my way through the CMS to learn in more detail I'm currently at the users / permissions parts of the CMS. Here I just bumped into the following thing I don't understand: I have a Users Group ...
1
vote
1answer
102 views

Install button not visible in Plugin Store

I added my user to a user group that had every permission checked. I also looked at general.php and there was nothing about allowUpdates, so I added allowUpdates = true, but neither of these things ...
2
votes
1answer
81 views

Unable to create a “Single” entry

I haven't made a new single in a few years, it seems. Now when I try to create one, there is no option to do so. Normally, the New Entry button seems to be split, with the left part directly creating ...
0
votes
1answer
86 views

How do I change the /web directory?

I'm extremely new to Craft CMS - I'm trying to install it on to a Cpanel as a test, upon downloading the CMS is gives you all the folders for craft, and then a separate /web folder. If you move the ...
2
votes
1answer
1k views

Control Panel Date Format

I am based in the UK Where we format dates for 17th May 2018 like so: 17/5/18 Is it possible for the Craft Control Panel to use a specified format when listing entries' post date / expiry date etc?
1
vote
2answers
55 views

Is it possible to change the default search result order (CP)?

Craft version: 3.3.19 Is it possible to set default order for CP entry search results? The default is search score but for instance for blog entries, news, etc. the date of the entry is usually more ...
1
vote
2answers
164 views

“Access Plugin” doesn't appear in Permissions list

Non-admin users are not able to access my plugin in the CP. With admin rights, everything is fine—the templates are accessible, but all the other users are getting 403. I've tried to build the plugin ...
2
votes
2answers
429 views

Filter entries in CP by Author

How can you filter entries in the CP by Author? I assumed entering something like author:tdavis (where tdavis is my username) would do it, but no results returned. I also tried substituting id for ...
23
votes
1answer
2k views

How can my plugin generate a generic modal window in the Control Panel?

I'm working on a plugin, and it requires a modal to be displayed when the user interacts with a field of my Field Type. When the user finishes interacting with the modal, they would click "Done". ...
5
votes
3answers
1k views

Can I disable the control panel?

Is it possible? I have a situation where a client needs the production site to be completely shut down and void of content updates. They do all of their content management on a staging site, then ...
1
vote
1answer
935 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 ...
0
votes
0answers
272 views

Control panel - Entry indexes very slow

Craft CMS 3.3.15 PHP 7.1.3 MySQL 5.5.42 I have a structure with 360 entries. Right now in the CP it takes 3.5 - 10 seconds to load the first 50. And another 3.5 - 10 seconds for every additional ...
1
vote
1answer
61 views

Craft 3 - Plugin - Override Control Panel column values for field or field types

How can I override the column value for a plugin in the Craft CMS control panel? For example: Append "Hello " in front of a particular column value, or add hyperlink HTML markup to a value, in each ...
1
vote
1answer
99 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, ...
2
votes
1answer
173 views

How do I get the Site/Revision/Draft in a field in the control panel?

Is there an easy way to fetch the selected Site, Revision and Draft of the dropdown (the one an editor would use to switch the Site/Revision/Draft) in control panel in a plugin? The only way I found ...
1
vote
1answer
86 views

Flash message in control panel

In short, I've got an extra background process running that syncs content for a given section to an external application as well whenever an entry in that section is saved and a certain toggle is set ...
1
vote
1answer
37 views

Busted control panel after migration

Recently migrated a site from staging server (Digital Ocean VPS) to client's production server – pretty basic shared hosting (their choice). They were running PHP 5.3 so got them to upgrade to PHP 7.3....
3
votes
1answer
334 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 ...
0
votes
0answers
91 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
693 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/...
1
vote
3answers
587 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 ...
18
votes
2answers
6k views

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

Say for example, I wanted to add a "Expand/Collapse All" button to Matrix fields. Is there any way to do this, or is this something more appropriate for a feature request for P&T?
1
vote
1answer
1k 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 ...
1
vote
2answers
37 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
79 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: ...
1
vote
3answers
6k views

Can't access admin panel

It's the first time I'm using Wamp for local hosting my Craft website. I've changed my Windows and Wamp apache host file for accessing my domainname instead of localhost. (ronvanderwerf.loc instead of ...
1
vote
1answer
219 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
30 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\{...
3
votes
2answers
912 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 ...
1
vote
2answers
146 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/...
1
vote
0answers
253 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. ...
1
vote
1answer
50 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
64 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
66 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
152 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 ...
7
votes
2answers
3k views

Get Entry Edit Link in Twig

I want to add an "Edit entry" button on each page for admin users. Am I overlooking a simple way to output the Edit link to the CP edit page for the current entry? Curious if there is something like {{...
1
vote
1answer
1k 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
106 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
318 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
2answers
797 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
1answer
1k views

Newsletter Sign up

I am trying to create a Newsletter registration form. I just want to collect emails somewhere in the CP, and let the client decide what to do with the list later on. Has anyone worked on something ...
1
vote
1answer
38 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 ...
2
votes
2answers
405 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....
2
votes
1answer
198 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 ...
3
votes
2answers
479 views

Is there a way to detect if a action is triggered from a control panel form?

We're building a content platform for a bank for a client of us. One required feature lets relationship managers add clients (members) to the platform which get assigned a specific group. We listen ...
1
vote
0answers
51 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 ...
1
vote
1answer
155 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
153 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
2
3 4 5
8