Questions tagged [control-panel]

Questions having to do with Craft's control panel.

Filter by
Sorted by
Tagged with
1
vote
3answers
605 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 ...
1
vote
1answer
40 views

Rearrange Headings Alphabetically

Is there a way (or plugin) to organise headings alphabetically? You can drag and drop to rearrange but if its a contact list for example, being alphabetised is really useful.
3
votes
2answers
930 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 ...
2
votes
1answer
1k views

Craft incredibly slow site performance

I am experiencing incredibly slow site performance. This extends to loading the control panel (/dashboard, /login). This only happens when I put the site on to my hosting, locally using MAMP it runs ...
3
votes
1answer
51 views

Generating thumbnails when using a memcache server for session storage frequently signs users out

I can't figure out why, but when I'm connected to a memcache server the thumbnail generation process in Assets hangs for long periods of time, the getElements process throws 403 errors, the generating ...
1
vote
0answers
27 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 ...
3
votes
2answers
212 views

In the CP, How to make images bigger when the users select images?

In the Control Panel, when users are selecting an image for the asset field, the thumbnails are too small in the popping up image modal. Is there any way to make the images bigger?
2
votes
2answers
425 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....
1
vote
0answers
46 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 ...
2
votes
0answers
141 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 ...
0
votes
1answer
236 views

404 errors on cpresources images [closed]

i'm facing 404 errors for images related files in the control panel like users photo, Login Page Logo, site Icon... etc... for user photo for example i can edit the image, and i see it normally, but ...
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
1answer
107 views

How to display in the CP only the current user's entries?

Well the issue is simple, I have a multi-user backoffice, where they use the same section and entry type to create a new entry. The problem is when the current user (not the admin) tries to add an ...
1
vote
1answer
108 views

Craft 2 CP session expires unexpectedly, requires repeated login

Environment Craft: 2.6.3013 (Personal) MAMP Pro: 4.4.1 PHP: 7.0.12 (CGI Mode) Behavior After logging into the CP, and following a relatively short period of time, the session expires unexpectedly and ...
1
vote
1answer
523 views

Get control panel asset thumbnails into a frontend template

My frontend template displays the assets that have been uploaded to Craft. I could create a series of asset transforms within that template to create a range of thumbnail sizes. Not too sure about ...
3
votes
1answer
3k views

Why is the cpresources folder so big?

I'm just wondering why don't you guys compile all the cpresources into 1 .js and 1 .css file? Right now this folder is gigantic :D cfr: https://i.imgur.com/Oksr5Kn.png
1
vote
0answers
81 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 ...
3
votes
1answer
402 views

Sort CP Entries by Category

I know it's possible, using modifyEntrySortableAttributes, to sort the CP entries table by a custom field, when that field is a number, string, date/time, or bool. Would it be possible to sort a CP ...
11
votes
1answer
4k views

{parent.uri}/{slug}

In Craft 2.x you have the option of setting the top-level entries URL format for a structure section separately from nested entries i.e. top-level/{slug} and {parent.uri}/{slug} But in Craft 3 the ...
1
vote
1answer
226 views

Overriding native CP template (without hacking the core)

Is it possible to create a plugin that overrides a control panel template, and still be able to update Craft normally? What I'd like to achieve: I have a custom field with information on every asset ...
1
vote
1answer
128 views

Possible to change view of related entries field?

Is it possible to change the display of the related entries field, to include extra info (hoping to add thumbnail, because otherwise these entries are damn hard to identify!) I don't think they are ...
1
vote
1answer
59 views

Available updates not displaying on local copy but show up on live site; instead displays “You're all up to date!” with 5 pending updates

When I attempt to display available updates on my local copy, Craft is unable to display them and instead shows “You’re all up-to-date!”. Available updates do display on my live copy, as well as on ...
1
vote
0answers
155 views

Structure not allowing drag/drop [duplicate]

Craft 2.6.2999 I have two channels that I've set to structure. In my local install I can drag/drop entries no problem. HOwever on the staging server the drag drop function doesn't work - there are no ...
1
vote
1answer
421 views

Yii Toolbar triggering mixed content warning in CP

I've enabled Show the debug toolbar on the Control Panel in my Craft Admin account in a local development environment that uses SSL. As soon as I enable it, I get the following error each time I load ...
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 ...
1
vote
2answers
805 views

Is it possible to set a new route for a plug-in CP section in Craft 3?

Is it possible to use a custom route for your plugin's CP section, instead of cpTrigger/plugin-handle, or to direct cpTrigger/plugin-handle to a different template other than plugin-handle/index.twig?
1
vote
1answer
68 views

craft.entryRevisions.getDraftsByEntryId(entry.id) is returning an empty array

I'm trying to get the drafts for the entry on the front end to populate my plugin on the sidebar but cannot get the drafts returned with this code in a Twig template. entry is an EntryModel here. ...
1
vote
1answer
69 views

How to differentiate between positive and negative numbers in search

I discovered today that searching a custom field for a number will return results containing either the positive or negative versions of the number, even if I do an exact search. For example: ...
0
votes
0answers
28 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?
2
votes
1answer
126 views

CP search for entries by postDate?

Does the control panel search support postDate, expiryDate, dateCreated, dateUpdated? For a custom date field, the below will return all dates in October 2017: customDate:2017-10 But for entry ...
1
vote
1answer
109 views

Why when a task is marked as “Stalled” the following tasks can't automatically processed?

This is annoying to have to click on “Try again” to unlock the queued tasks. This could leads to dozen and dozen of stucked tasks that usually could be processed without any problem (like the ...
1
vote
2answers
238 views

CP search for entries where a specific field is empty

In the control panel, is it possible to search for entries where a specific field is empty? The Craft search syntax page doesn't help here, and the logical values used in twig don't seem to work here. ...
1
vote
1answer
91 views

CP form submissions occasionally reaching PHP's 300 second timeout

Occasionally—I'd say about 30-40% of the time—when submitting a form in the backend, be it saving an entry, updating a custom field, etc, the page will just sit there, loading. This can and often does ...
1
vote
1answer
100 views

How to move sidebar menu to top in CP

I've seen some Craft CPs that display the sidebar menu horizontally in the top of the browser as a header. Does anyone know how this is done? Is there a plugin? I think this would be useful for ...
1
vote
1answer
395 views

User data segregation for multi-sites in Craft 3?

How will data be handled in Craft 3, when it comes to the 'multi-site' feature? Will most structured data will be accessible across sites? What about user data? If I have 'Site A' and 'Site B' ...
0
votes
1answer
442 views

you cannot access the CP with that account

New user has activated account but is getting this message when trying to log in: "you cannot access the CP with that account"
1
vote
1answer
35 views

Is it possible to display another column in Entries type field?

I would love to be able to show another column inside Entries type field. Specifically, Image field. Basically,the same functionality as on the Entries list. Is there a plugin or another way of ...
3
votes
2answers
200 views

Control CP matrix layout with CSS

Is it possible to control the Matrix layout with CSS within the CP? The Rich Text fields I have are currently displaying like this: But I'd like this specific field to look something like this: I'd ...
2
votes
2answers
1k views

/admin/actions/users/login 404

When trying to login to my live env on craft, I get the following error in the javascript console. [Error] Failed to load resource: the server responded with a status of 404 (HTTP/2.0 404) (login, ...
1
vote
0answers
256 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] ...
0
votes
1answer
384 views

404 Error on Image Transforms

Transformed Images are failing to load with a 404 error For example: http://mysite.com/index.php?p=cpresources/transforms/382&x=v0nGRK3Qr This happened after I swapped the db. So, everything ...
1
vote
1answer
96 views

Disabled entries don't show up in the Linked entries field when displayed in the CP entry list

As you can see, I would like to see what challenge the submission is linked to, even though that Challenge might now be turned off (expired or disabled). Is this a bug or intended behaviour. Is ...
1
vote
2answers
784 views

Can I access the code with my admin

I am an in-house graphic designer with virtually no experience with building websites. My company has a website built with Craft for which we have an admin to change some content like images and ...
1
vote
1answer
103 views

Only see 3 textarea field on Plugin Setting Page

I am developing the plugin to send user difference confirmation email which more than 20. I put those fields in templates/settings.html so that the admin could change and update the message content. ...
2
votes
2answers
1k 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
0answers
34 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 ...
2
votes
1answer
91 views

Is there a way to add instructions directly on a entry index screen in the CP?

I have structure entries that needs to be in a very specific order, following a pattern of horizontal and vertical images to create the right affect on the front-end. I would love a way that I could ...
4
votes
1answer
190 views

How can I submit a form from a Garnish HUD footer?

I'm working on a Dashboard widget from which users can submit entries for review from a Garnish HUD, like so... I've started by placing a hidden form next to each little Submit button... <form ...
3
votes
1answer
660 views

How do you handle routes in CP with Query Parameters?

I am currently setting up routes for a one-page application. As soon as a Query Parameter is introduced, the route fails. The route "test" replaces "my-av1" in the following photos. The documentation ...
4
votes
1answer
358 views

ElementType CP section does not display table

I can not for the life of me figure out why my cp page will not generate the elements table. On other elementtype pages in the cp there is an XHR request made to a controller called "getElements" and ...

1 2
3
4 5
8