Questions tagged [control-panel]
Questions having to do with Craft's control panel.
434
questions
0
votes
1
answer
21
views
Customizing System Messages via Templates Instead of the Control Panel
In Craft CMS 5, is there a way to customize the content of system messages outside of the Control Panel (under /admin/utilities/system-messages)?
I’m working on a multi-language site and would like to ...
0
votes
0
answers
37
views
How to use CKEditor as a field in a module control panel page
I'm trying to use CKEditor fields in a module's control panel page.
I have in the past been able to use Redactor for this successfully, but having migrated to CKEditor for all my entry (i.e. element) ...
0
votes
0
answers
15
views
Order Matrix Block in Control Panel by Date Field
Is it possible for the individual entries within a matrix field in the Control Panel to appear in the order of a date field?
I have found here information on how the entries are sorted after saving ...
1
vote
1
answer
33
views
Matrix: Show Date Field in Card View
I would like to know if it is possible to display a custom date field in the card view of matrix field.
Unfortunately, it is not possible to use a date field as a title or part of a title. it gives:
...
1
vote
1
answer
41
views
How to delete asset folders in CraftCMS backend?
I created some asset folders which are displayed in the backend and which I would like to remove. I manually removed the directory on the server. It is still shown in the backend. The options in the ...
2
votes
1
answer
128
views
Craft5 -> CP: Field groups are gone?
Just wondering: https://craft5.ddev.site/admin/settings/fields -> there are no field groups anymore?
That's a loss ... :(
4
votes
3
answers
758
views
Plugin "Typed Link Field" -> Alternative for Craft 5?
https://plugins.craftcms.com/typedlinkfield
At first: This plugin was for free and I would like to say "Thank you for you work!" ... thanks Sebastian!
But with a look to 33,291 active ...
1
vote
1
answer
19
views
Control Panel: Staying on the same tab when switching sites
Control Panel: Staying on the same tab when switching sites
Our client has a site in two languages. The field layout of one of the sections is set up with four different tabs.
When editing content in ...
0
votes
0
answers
50
views
Custom Element Index ID column missing sorting behavior
I'm on CraftCMS 4.6.1
This element uses a custom table and manages quote requests. The problem I'm having is that I cannot seem to dictate the name of the header column used for the primary key id ...
1
vote
1
answer
34
views
Craft 3 / 4 CP: Restrict users to specific user groups in Users view
I need to restrict access to users (not entries) of say AdminGroupA to be able to access and manage users of UserGroupA in the Control Panel. Right now, the user AdminGroupA can browse all of the ...
1
vote
1
answer
48
views
Control Panel Missing Items
I just installed a copy of Craft 4.6.0 on a new server. Everything went fine, but when I go to the CP the only options are Dashboard, Utilities and Plugin Store - no Entries, Settings, etc.
The site ...
2
votes
1
answer
60
views
_layouts/cp.twig cannot be found
I have a module that's meant to add a section to the CP.
class Reports extends Module
{
// Public Methods
// =========================================================================
/**
...
1
vote
1
answer
110
views
I have an existing project called Craft cms v3.3, what should I do if I want to run it at local?(Mac OS)
I currently have a project that is definitely craft cms v3. I want to run it but this is the first time I keep stressing over it. Please help me
1
vote
1
answer
135
views
How to extend or override CP template?
I need to add some custom condition to the top siteMenu selector.
Template file with top menu:
vendor/craftcms/cms/src/templates/_elements/sitemenu.twig
Block with this menu:
vendor/craftcms/cms/...
0
votes
2
answers
70
views
CP / Backend: Restrict single entry only to admins (edit / delete)
I'm searching for an idea, to protect a single entry from being edited / deleted by editors (CP / backend).
Of course, it's easy to do for fields or sections, but for a single entry ... hmmm ...
...
1
vote
2
answers
64
views
control panel: bidirectional related entries // concatenate entries
Is ist possible to "concatenate" entries?
For example:
You have five articles (A, B, C, D, E) ... might be a blog
Editing the article A: A is related to C and D
The relation should work ...
2
votes
1
answer
72
views
Save Control Panel search filters? Craft 4
I love the new control panel search filters. However, I see no facility to save them, and nothing in the documentation. Is there way to do this?
1
vote
1
answer
274
views
Can't login to control panel
not sure what I did but my DEFAULT_SITE_URL in .env was set to http instead of https 0and when I tried to login to control panel on my desktop the page would load but when I submit the login form it ...
1
vote
2
answers
94
views
Automatically save an Entry Type to a specified Structure level
I often use multiple Entry Types in a Structure so that the 'Landing page' and 'Entries' are in the same place in the admin for the site editor... e.g.
L1 Landing Page (header image, introduction etc)...
1
vote
1
answer
58
views
Reuse entry form layout in custom module
I'm currently developing a custom module.
I created a section called "bookings" with an entry type containing some fields.
I designed the form layout as i wanted.
In the CP, the Entry ...
2
votes
0
answers
31
views
Allow filtering elements by fields on related elements in element indexes
I'm trying to show some additional columns in the entry index, and allow editors to filter and sort by them. The problem is that the fields that need to be used for sorting are set on related entries, ...
0
votes
0
answers
177
views
CP templates are slow to render
My CP pages are taking ~15 sec to load. It seems the bottleneck is in rendering the Twig templates. This slowness also seems to have manifested quickly and it's affecting multiple separate Craft CMS ...
2
votes
1
answer
518
views
Adding Custom button to CP
I'm trying to add a custom button in the sidebar of one of my entries.
I've found that it could be done in Craft 3 with this template hook: cp.entries.edit.details (e.g. How to add a custom button at ...
1
vote
1
answer
29
views
Craft 3 CP restriction
How can I add an extra layer of authentication to cp in craft3? The client wants to add 2FA - I have been through the plugins with simpler restrictions, but these appear only for the front end. 2FA ...
1
vote
1
answer
591
views
Update to Craft 4 causing CORS error on login to CP on live site only
I have recently updated a website to Craft 4 and all went well, but now I cannot login to the Control Panel as I'm getting an error:
Access to XMLHttpRequest at 'https://www.xxx.com/index.php?p=...
0
votes
1
answer
369
views
"Unable to verify your data submission" error when logging into Craft Control Panel
After a recent Craft/plugin upgrade, I could not log into the Craft control panel. After submitting the login form, I received the error "Unable to verify your data submission".
I cleared my ...
2
votes
1
answer
109
views
Alternate way to test Preparse field?
I'm trying to use a Preparse field to display something conditionally depending on entries' lastUpdated property. In pseudocode:
if lastUpdated < (now - 30 days)
**>30 d**
endif
However, ...
0
votes
1
answer
26
views
CP Edit Columns only possible for admins?
I just found out that non-admin users can't edit the columns shown for the entries. Is there a way to activate this for non-admin users as well?
1
vote
0
answers
59
views
Updated to Craft CMS 4.2.5 and now the "New Category" button is missing in Control Panel [closed]
Like the title says. I've just updated to the latest version while building out a new site in Craft CMS and the New Category button is missing from the Categories screen in the CP. Both when you go to ...
0
votes
1
answer
237
views
How to find if there is a draft for a particular entry in control panel plugin
I am trying to display a notification to the user in CP, if the entry is having a draft so that the next user won't redo/overdo the other draft. For that how do we find the entry has drafts?
1
vote
1
answer
138
views
Using index hints to get around performance issues with large structures table
We're experiencing performance issues in CP stemming from having a decent number (>20k) of records in structures and the mysql is using the wrong index (dateDeleted instead of primary). This issue ...
2
votes
1
answer
202
views
500 Internal error on 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 ...
2
votes
2
answers
737
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 ...
1
vote
1
answer
147
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?
1
vote
1
answer
132
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 ...
1
vote
2
answers
443
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 ...
1
vote
1
answer
43
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 ...
1
vote
1
answer
45
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 ...
2
votes
1
answer
272
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.
3
votes
1
answer
269
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.
2
votes
1
answer
119
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
...
0
votes
0
answers
30
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'...
1
vote
1
answer
374
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 ...
0
votes
1
answer
366
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 ...
1
vote
1
answer
413
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 ...
2
votes
1
answer
93
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 ...
1
vote
1
answer
57
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' ...
1
vote
1
answer
352
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
1
vote
0
answers
36
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 ...
1
vote
0
answers
40
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 = ...