Questions tagged [control-panel]

Questions having to do with Craft's control panel.

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

Leave search term active in control panel

i have to edit entries with the same titles. That's why i search for these titles in the search bar of the control panel, edit the first entry, save it and then search again for the same titles and ...
1
vote
1answer
13 views

returning HTML in $event->sender->addErrors doesn't work

I have a plugin which is checking if there is a duplicate entry before save. I'm trying to give the user back an anchor to the entry which exists so my client can switch without searching for it in a ...
1
vote
2answers
30 views

Bad Request Unable to verify your data submission and unstyled CP

First of all the control panel login is unstyled, and I'm getting Bad Request Unable to verify your data submission when trying to login to the control panel. I can login using a form on the front end,...
1
vote
1answer
37 views

Performance issues in CP with +60k articles database

We are are working with a large dataset of over 60k articles. The craft control panel has a very hard time loading the entries list tables. Using debug I see that the queries that takes up the longest ...
1
vote
1answer
30 views

Within the CP, how can I filter the listed Entries based on a Lightswitch field value?

I tried these kind of searches in the CP search field (on top of the Entry list): fieldHandle:true / fieldHandle:false fieldHandle:1 / fieldHandle:0 fieldHandle:* / -fieldHandle:* fieldHandle:not 1 / ...
2
votes
2answers
869 views

Favicon in Control Panel

I'd like to add my site's favicon to the admin part of the site. I tried to do this using the "Site icon" option under general settings. That adds the icon to the sidebar but not as a favicon. The ...
1
vote
2answers
24 views

How to temporarily disable entries of one site version within a site group?

A client asked me to temporarily disabled all of its entries of one of its Site in a specific language. This entries should not be accessible anymore from their URL. The quickest and cleanest way to ...
0
votes
0answers
14 views

How to access CurrentUser variable in JS file

I'm using control panel js plugin to add some javascript in users page inside control panel, to hide some data based on current logged in user role, but I'm unable to access the {{currentUser}} ...
1
vote
1answer
20 views

CP assets uploads are reverse ordered after upload

Problem CP assets uploads are reverse ordered after upload. Description I have a folder with 5 images: 1.jpg 2.jpg 3.jpg 4.jpg 5.jpg I want to upload these images in the Craft CP. I have an Asset ...
0
votes
0answers
16 views

Module's control panel sub-navigation is not working properly

I have a problem with setting up a CP navigation for my module. In module's init() I declared the following: Event::on( Cp::class, Cp::EVENT_REGISTER_CP_NAV_ITEMS, function (...
1
vote
1answer
13 views

Using Preparse field to display matrix blocks in Control Panel, limitations?

I can successfully use the Preparse field type to display matrix fields in the control panel, however, the output is very limited. Even my tag is stripped out. Is there any way to do this short of ...
1
vote
1answer
149 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 ...
0
votes
0answers
32 views

Still no way to filter by category in Control Panel?

I'm wondering if, with the release of Craft 3.5, there is a way to filter by category in the control panel. I see this request goes back several years. The only workaround I can find is to use a ...
2
votes
1answer
151 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 ...
0
votes
0answers
24 views

Multiple (dev) sites running locally; session seemingly randomly times out

I've got multiple sites running on XAMPP (I'm on Windows 10). Each has its own domain (eg. dev.example.local, dev.otherexample.local, etc). When I try to have more than one site CP page open in the ...
1
vote
1answer
69 views

How to make field instructions show as tooltip?

How to turn show as the following style
1
vote
1answer
27 views

Uninstalling a plugin from Craft control panel

I'm new to Craft CMS and I'm having trouble figuring out how to uninstall a plugin. Specifically, it's the "Redactor Custom Styles" plugin. I gather from searching (please correct me if I'm ...
0
votes
0answers
13 views

How to search/filter in CP by date range?

Is there a way in the control panel to list all entries with a date field between two dates? For example, last updated between 12/16/2019 and 2/15/2020. Interested in doing this for both automatic ...
2
votes
1answer
46 views

Set default status in CP admin for queried entries from “All” to “Live”

Just wondering if there's a way to set the default status for the entry listing pages in the admin, in my case from "All" to "Live". This would need to account for a page "refresh" and navigation ...
1
vote
1answer
44 views

What is causing Craft CP assets(JS/CSS) to appear in front-end pages?

Perhaps in some way related to this, I've got a couple of front-end pages on our website that pull in the following files, which seem to all be CP files. These two pages each utilize plugins I've ...
2
votes
1answer
34 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 ...
0
votes
0answers
14 views

Cache Control Panel resources

Is it possible to enable Browser Caching for the cp resources? Did not find anything in the documentation about it and my custom set headers in nginx does not work for them. I am working with craft 3 ...
1
vote
1answer
18 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 ...
0
votes
0answers
30 views

Craft CMS Multisites with 100++ Sites

We're lookin for someone having experience with having A LOT OF MULTISITES in a Craft CMS installation? A project of ours has currently 68 Multisites, but approx. 50 more to come. We're looking for ...
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
48 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
37 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
0answers
22 views

Is it possible to add a entry into Craft CMS control panel and have some form inside for administrators only?

Is it possible to have a section in the control panel side of Craft CMS such as a Form for internal use only? I added a new section using the CP Nav plugin.
0
votes
1answer
40 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
843 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?
0
votes
0answers
39 views

Not able to access CP locally

I switched computers a few months ago, installed AMP server using same configurations I had. Now I cannot access CP on my Craft 3 projects locally. Front-ends load fine though. Every time I click ...
1
vote
2answers
44 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
90 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
348 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
634 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
134 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
53 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
87 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
132 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
42 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
35 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
192 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
45 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
484 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
421 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
5k 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
849 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
33 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?

1
2 3 4 5
8