Questions tagged [control-panel]

Questions having to do with Craft's control panel.

Filter by
Sorted by
Tagged with
0 votes
1 answer
24 views

500 Internal erroron admin - session related

I am working on trying to get a local copy of a site working, but ran into an issue where the front end is working, but the admin page is not responding when I try to login. This site is Craft 3.7.44 ...
user avatar
1 vote
2 answers
135 views

Invalid field uid

I keep seeing this in the craft debug bar in the control panel Invalid field UID: 22faa4bf-2fb5-415b-b4e9-2416fe728843 How can I investigate what this means and resolve it? UPDATE: I've searched the ...
user avatar
  • 1,900
1 vote
1 answer
42 views

How to increase control panel pagination item count?

Our client whats to show 200 records in the control-panel entries list per page. Is it possible to change via any config settings?
user avatar
0 votes
0 answers
11 views

Using a phone, possible to move table rows in the CP?

This is similar to: Ability to move matrix blocks up and down on ios/mobile #1035 and Why can't I drag and drop fields in settings on a mobile phone When trying to move rows in a table, I tap on the ...
user avatar
  • 1,273
1 vote
1 answer
43 views

Is it possible to create a link to the cp that shows all pending entries of a section?

As the question states, I want to create a link that sends a user to the entries page only showing the pending entries. I tried using the cpUrl function but can't seem to get it directly to the ...
user avatar
  • 73
1 vote
2 answers
136 views

Craft CMS v3.5.16 /admin/login 500 (Internal Error) occurs after site moved

Original site works fine. Moved site to new hosting (same domain name i.e. nutrano.com.au) via CPanel and now whilst /admin/login is accessible Invalid credentials show "Invalid username or ...
user avatar
0 votes
0 answers
15 views

Suggestion: Pluralize/Localize/Whateveritize Entry Types

This probably isn't where I'm supposed to post suggestions but I thought this might be a nicety.
user avatar
1 vote
1 answer
22 views

Table Field fixed column content(placeholder) for all entries

I have a table field with 3 columns, one of them is 'Weekday', Type = single line text. how can I set a placeholder to the weekday column ( Monday, Tuesday,....) in the Control Panel. right now I have ...
user avatar
  • 125
1 vote
1 answer
30 views

Display time along with date in admin listing page

We need to display time along with the date in the admin listing pages. I do know that the tooltip will show the time. But the client needs the time to be displayed on the listing itself. Is there an ...
user avatar
2 votes
1 answer
70 views

Is it possible to increase the number of entries in the entry list in the entry view, where default is 100 per page?

Is it possible to increase the number of entries in the entry list in the entry view, where default is 100 per page? We want to show 300 entries per page in the admiun panel.
user avatar
3 votes
1 answer
45 views

Control panel icons list

Is there any list of icons used in control panel avaible? These ones that are displayed using webfont Craft.woff.
user avatar
  • 1,195
2 votes
1 answer
45 views

Filtering lists of entries in the control panel by entry type

I’m aware of Filtering/searching for entries by category in the control panel, but that doesn’t work for: entryType:"String" …where ‘String’ is the entry type name or handle, or… typeId:Int ...
user avatar
0 votes
0 answers
22 views

Local Volume Folder: Transliterate path, but keep name as is

Intention: create a local Asset Volume with a bunch of subfolders and files in it and display a file tree on frontend. All OK, but since the website is in German, I have to do 'convertFilenamesToAscii'...
user avatar
  • 55
1 vote
1 answer
70 views

Customizing Field Layout / UI element in Craft Control Panel

Maybe I don't understand well the usage of UI Element in Field Layout, but I would like to display something more 'jazzy' for the admin on his CP and I thought inserting a twig template in the page ...
user avatar
0 votes
1 answer
112 views

CP Module: saving, editing, and reading a form

I read the docs multiple times but I'm stuck. I need to create a module that shows a form in the CP where an admin can input and save answers to 2 questions. It will always be just one single form. I ...
user avatar
  • 157
1 vote
1 answer
136 views

Why do i get an Invalid route error in cp when calling plugin action?

I have a plugin that has a menu and in backend which basically has a button that calls the plugins default controller actionXXXX method. The action does some database / api work then is meant to ...
user avatar
  • 1,900
0 votes
0 answers
58 views

Garnish.JS modal + FreeForm, weird issue

Within the control panel, while editing an entry, using a UI element, I present the user with a button that pops up a modal. That works fine. Within the modal, I have a simple Freeform which posts to ...
user avatar
  • 608
2 votes
1 answer
56 views

Adding column to CP entries without writing plugin?

Is there a way to add a column to the control panel display of entries? I would strongly prefer to not write a plug-in for this. The contents in the column would be nothing more than a button that ...
user avatar
  • 608
1 vote
1 answer
35 views

Block access to /admin on secondary sites

I'm not clear on how to block access to the control panel at: secondDomain.com/admin secondDomain.com/admin/login I can use .htaccess or Craft's config.php. I want folks to get an ugly 'access denied' ...
user avatar
  • 608
1 vote
1 answer
178 views

Entries Overview: Add Field Columns

Does anyone have an idea how I can add columns in the entries overview? Columns with the title of the fields that exist in the page and are filled with content. Thank you
user avatar
1 vote
0 answers
20 views

Missing New Entry button/dropdown when overriding the Entries Control Panel page

I have developed a module which overrides the entries page in the admin control panel as we need some custom fuctionality on that page. It's mostly working, however when I set the element type in the ...
user avatar
1 vote
0 answers
35 views

Is there a way to prompt for confirmation in cp?

I have a custom plugin that checks for assets filename, and I'd like to prompt for confirmation like in the example below. Is there a way to do that in Cp? If user clicks No then $event->isValid = ...
user avatar
  • 413
1 vote
0 answers
37 views

Non-admin users cannot preview/view entries when site front end is disabled (multisite)

I am running a multisite setup on 3.6.11.2. We are attempting to generate a new site and while we work on the structure/content I have the 'Enable on the front end' setting switched off. As an admin, ...
user avatar
1 vote
1 answer
57 views

Twig Runtime Error on settings/general (value: system.name)

When I go to settings/general in the CP i get this Twig Runtime Error. Does anoyone here know what to do to fix it?
user avatar
1 vote
1 answer
27 views

Making custom changes to CP language

I want to change a few words in the CP (Craft 3). What's the best way to do it, without being overwritten by a Craft update if possible...? I was thinking about creating my own language file, but can'...
user avatar
0 votes
0 answers
16 views

Can control panel date display always be numeric?

I understand the display of entries' postDate, etc., in the control panel can be localized, but I'm wondering if it's possible to get rid of the "yesterday" and "today" designators,...
user avatar
  • 608
1 vote
1 answer
57 views

How to hide the assets section of the control panel to specific user groups?

I need to hide the assets section of the control panel to a given user group. Changing the group permissions to prevent them from viewing all asset volumes also prevents them from uploading assets in ...
user avatar
  • 1,130
1 vote
1 answer
69 views

How to search for Entries that have a particular Category set within a Matrix field in the Control Panel?

I have an arrangement like this: Entry type 'people' └ Matrix field 'offices' └ Block type 'office' └ Category field 'building' On the Entries screen, how can I search for people that have a ...
user avatar
1 vote
1 answer
29 views

Can't search for drafts in Control Panel

I just updated to Craft 3.6x, and I noticed that suddenly all my drafts are showing up by default. This confused users, as there were a bunch of them that people had abandoned. But I noticed that the ...
user avatar
  • 608
2 votes
2 answers
314 views

How to modify the login panel

how can i modify the login html? I specifically want to add an image below the title.
user avatar
2 votes
1 answer
96 views

Apply custom filter on the entries in admin control panel using custom plugin in craft cms 3.5

I was referring to Filter entries in the CP based on custom permission and Filter entries in the CP based on custom permission It seems onBuildElementsQuery was available only in 2.x. Is there any ...
user avatar
  • 41
1 vote
1 answer
34 views

Removing the Save button based on some condition

I want to remove the Create button of an entry based on some condition (review states) for some users. Is there a way to hook in within a module?
user avatar
  • 235
0 votes
0 answers
68 views

Url Helper does not create a usable url

When I create a cpUrl like that: UrlHelper::cpUrl($this->entry->cpEditUrl) I get something like that: https://hegi.test/admin/entries/article/7707-test But that don't work inside of the browser. ...
user avatar
  • 235
0 votes
1 answer
110 views

How to properly change / add to CP HTML

I'm making a change to the CP so that clicking an asset thumbnail from the asset preview HUD will open the asset in a new tab. Specifically, I'm changing line 1685 of craftcms/cms/src/elements/Asset....
user avatar
  • 251
1 vote
1 answer
65 views

Is it possible to show commerce product id's in the control panel?

For entries you can show the ID in control panel listings. I can't find a way to show craft commerce product ID's in a similar way in the control panel. Commerce 3
user avatar
1 vote
1 answer
67 views

Is there any way to adjust the width of the custom field in the admin panel?

I want to adjust the width as ( 25%, 50%, 75%, or 100%) of the custom field in the admin panel.
user avatar
1 vote
1 answer
348 views

Custom Module: new element type index page access

Hello I've created a new element type in a module (a web app within Craft) that I'm developing. I have initially created my models to be craft\db\ActiveRecord and save directly to their tables, but ...
user avatar
0 votes
0 answers
29 views

Empty Entry Field on CP

Is there a way to search for entries which do not have content in an entry field property on the CP? I've tried -field:* which doesn't return anything, but if I remove this there are entries which ...
user avatar
  • 1,230
1 vote
1 answer
217 views

Displaying notification in control panel

Is there any js function that will display these notifications that appear on top of the screen? Flash messages use these notifications, but I don't want to use flash messages, I want to display ...
user avatar
  • 1,195
0 votes
1 answer
67 views

$this->renderTemplate() breaks the CP navigation

I'm locally working on a Craft Plugin with a Page in the Control Panel where I have a form that posts to a controller. <form action="/actions/import-products/product/create" method="...
user avatar
1 vote
1 answer
92 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 ...
user avatar
  • 160
1 vote
4 answers
1k 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,...
user avatar
  • 700
1 vote
1 answer
59 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 ...
user avatar
  • 31
1 vote
2 answers
230 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 ...
user avatar
1 vote
1 answer
81 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 / ...
user avatar
1 vote
1 answer
26 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 ...
user avatar
  • 125
2 votes
1 answer
109 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 (...
user avatar
  • 55
1 vote
1 answer
33 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 ...
user avatar
  • 608
0 votes
0 answers
66 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 ...
user avatar
  • 608
0 votes
0 answers
46 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 ...
user avatar
  • 616

1
2 3 4 5
9