Questions tagged [control-panel]

Questions having to do with Craft's control panel.

39 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3
votes
0answers
97 views

Responsive control panel styles

I have a plugin that extends various Craft templates and styles, however, in one area it requires some custom Control Panel styles that Craft has not already created. As the Craft Control Panel is ...
3
votes
0answers
121 views

How can my plugin use Craft's native dragdrop support

I am using a generic Garnish modal from Craft like so: $container = $('.upload-modal'); $modal = new Garnish.Modal($container, { autoShow: false }); I would like to have craft's native drag&...
2
votes
0answers
96 views

Add CP Tab content into include file

I am making a plugin where I have about 10 tabs at the top. Depending on the admin users privileges they may see a subset of 1-5 or 6-10 and super admins can see all 10. The issue I am running into ...
2
votes
0answers
62 views

Allow CP sorting on an added EntryTableAttribute

I am adding a column to the entry table with links to reverse related entries: public function defineAdditionalEntryTableAttributes() { return array( 'blockParent' => ...
2
votes
0answers
319 views

control panel login redirects back to login

First, I just took over administration of our Craft site from a previous employee, and the original site was set up by a contractor, so I'm still trying to figure things out. Yesterday it was ...
2
votes
0answers
154 views

Manipulating CP Elements List view with source filtering does not work for assets

I made a plugin which customize columns table view for all my elements and using a filter on the source : Entries: section public function modifyEntryTableAttributes(&$attributes, $source) { ...
1
vote
1answer
82 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
0answers
95 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
0answers
46 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
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
0answers
24 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 ...
1
vote
0answers
39 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 ...
1
vote
0answers
69 views

How to localize password emails and password change form?

Just wrapping up my first multi-language Craft 2.x site, and the last localization issue we're having is the password reset process. I can't find a way to localize: The email which is triggered by ...
1
vote
0answers
210 views

Control Panel freezes due to Access Control Checks?

Basically, I have no clue what this means? But, I am unable to edit any entries in Control Panel -- everything times out after I try to save and/or return to the main entries page. [Error] ...
1
vote
0answers
32 views

Can I force extra fields to be required on asset upload

I am trying to figure out if there is a way to require additional fields be filled out while uploading an asset (mainly pdf's) in the admin control panel. I know I can add meta data fields to an ...
1
vote
0answers
98 views

Disable SVG previews for asset field?

A client of mine uploads multiple, complex SVGs (2MB and larger) to an asset field. Unfortunately, Craft CMS isn't able to automatically generate thumbnail images (with a reduced filesize, not just ...
1
vote
0answers
40 views

Listen to replacing files through CP's assets section

Admin users can replace asset files without having to deal with re-uploading/re-creating a new asset using the feature/technique described in Peter's answer here: Is it possible to replace uploaded ...
1
vote
0answers
64 views

Search syntax for searching matrix fields (in the CP)

Looking for a way to search (in the CP), for elements where a matrixField is empty or not. This seems to work: - with matrix rows: myMatrixField::* - without matrix rows: -myMatrixField::* However, ...
1
vote
0answers
54 views

How do I filter / restrict entries field in CP with a category

Is there a way to restrict the entry field type to specific categories? For example when adding a new field with type "Entries" to select the categories from where entries will be available. I found ...
1
vote
0answers
64 views

Entries fieldtype

Is there scope for updating the Entries fieldtype so that only sections editable by the user are shown in the pop-up modal? Obviously don't want to go changing the core files, but some digging ...
1
vote
0answers
108 views

Plugin access assets directly in CP

I need to develop a plugin where the user can modify his pictures (assets) on the fly. I've already done that in another PHP project and am willing to port it on craft, but I cant find any way on how ...
1
vote
0answers
244 views

Login Problem on Cloud Server

i'm developing on a dedicated root server and all works fine. The whole installation (database and all files except /craft/storage) is then pushed to an git repository and will be deployed to the ...
1
vote
0answers
70 views

Child page not appearing in the main menu

On our website www.efcgroup.net we have created new new product under a ghost page (under parent). We can see the new page heading in side bar but not under main menu at home screen. In this example,...
0
votes
0answers
16 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
0answers
14 views

404 on craft.css and charts.css

I can't think what change would be causing this. I haven't updated to 3.4 yet. (3.3.20.1) On the CP side, it's getting a 404 on craft.css and charts.css. I nuke the vendor/craftcms folder and then ...
0
votes
0answers
26 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 ...
0
votes
0answers
52 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 ...
0
votes
0answers
14 views

Redirect to paginated page after saving Entry within CP

If you are editing entries and then save the entry via the save button, craft redirects you back to page 1 of the element index. I feel we should be able to set our own options as to if we want to ...
0
votes
0answers
7 views

trigger javascript when block is added to matrix or supertable

I need to run javascript to modify a field-input when the user edits an entry and adds a block/row to a matrix or super-table field. Is there an event to listen on or some callback to hook in? ...
0
votes
0answers
36 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 ...
0
votes
0answers
19 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
59 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
31 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). ...
0
votes
0answers
19 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
0
votes
0answers
246 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 ...
0
votes
0answers
44 views

Charge Plugin - Subscribers have access to the Control Panel and any other subscribers personal information

We bought the Charge Plugin and got it up and running for a subscription service and the website has just gone live. We just realised any new user (subscriber) has access to all other users details ...
0
votes
0answers
25 views

What's wrong when entries appear again after save?

Entries should be live and say so in the CP, but they where gone in a listing in the frontend. But after saving entry by entry they appear again. What could be wrong?
0
votes
0answers
77 views

Displaying Pending users within CP users field (in plugin template)

I'm displaying a Users field within a template within a CP plugin, but when editing the entry, only Users that are active are being shown. Here is my field: {{ forms.elementSelect({ id: '...
0
votes
0answers
329 views

Change the current locale

Can I change the current locale? I've set up a standard site, using CRAFT client version (one language). Apparently Craft installs the en_us as the primary language. Content is added (in Dutch) and ...