Questions tagged [control-panel]

Questions having to do with Craft's control panel.

Filter by
Sorted by
Tagged with
1
vote
3answers
1k views

What is the Control Panel URL?

The installation instructions say: "A few seconds later, you should have a working Craft install! ... If it was successful, Craft will redirect your browser to the Control Panel." My installation ...
1
vote
1answer
412 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 ...
1
vote
1answer
141 views

How can I use asset select modal in utility?

I created a custom utility template. Inside the template, I would like to use the built-in asset select modal for the "Add image" button. Any way to do this please?
1
vote
1answer
52 views

Special order filter (by language) in CP for Craft Commerce

We have a online-shop for german customers (Craft 2 + Commerce 1) and will expand the shop for american customers (via second domain). Is there a way to filter the order (status) views in the Backend ...
1
vote
1answer
114 views

Removing the LivePreview and Share Buttons?

Is there a way to deactivate this functionality? We dont want our clients to use it just yet. I could delete them with my Module's js, but it is triggered after the site is build and the "popping" ...
5
votes
1answer
887 views

How to reference the current entry element in custom Control Panel templates?

This might provide it's own answer, but I thought I would ask to be sure. How do you reference the current entry in custom fieldType or CP templates? I have tried {{ entry.id }}, {{ element.id }} but ...
1
vote
3answers
923 views

Get the current entry element in the CP (edit entry view)?

You can listen to entries.onSaveEntry or entries.onDeleteEntry events and then get or modify the entry via $event->params['entry'];. But how would I get the entry element and its properties in the ...
1
vote
1answer
43 views

Craft CP and a11y

Is there some documentation/summary to which degree Craft's CP supports accessibility (a11y), WCAG2 compliance? Especially support for color blindness and keyboard only usage is requested in an ...
1
vote
1answer
377 views

Translate labels in CP with Craft CMS 3

I was wondering if it was possible to translate the labels, like "Singles","Entries" in the CP I know it's possible with Craft 2, but I didn't find with Craft 3. Do you have any ideas? Thanks!
1
vote
0answers
25 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
2answers
1k views

System language, can I change it after installation?

I have Craft on local (Pro edition) that was installed with French as the system language. Is there a way to change to another language (English for example) for the control panel? I want to change ...
3
votes
1answer
450 views

Set custom sort order for index pages in the CP?

Good chance this is more of a feature request than a question you can help out. But as I am new to Craft plugin development and might oversee something I ask it anyways: Now that it is possible to ...
1
vote
1answer
833 views

Installing Craft 3 on Cpanel

Can I install Craft 3 using cPanel instead of composer. Any suggestion or guide on it? I tried find tutorials but found for Craft 2, not for Craft 3.
0
votes
0answers
309 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 ...
1
vote
1answer
38 views

CP: Title from relation?

I have the following 1:n relation between two sections: Source Element: Interview Target Element: Persons In the CP (only there) I need to be able to identify Interviews by the name of the ...
1
vote
1answer
131 views

Craft 2 JS error in CMS since upgrade to 2.7.0

My Control Panel has stopped working since upgrading to Craft v2.7.0. in chrome. I get the following JS error no matter what is clicked in the entry fields and no action is taken. So for example if I ...
1
vote
1answer
39 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.
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
211 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?
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
138 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
228 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 ...
1
vote
1answer
97 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 ...
4
votes
7answers
4k views

Live Preview not working

Live Preview isn't working for any kind of entry. Dev or production. I get the following error on chrome's console. jquery-2.1.1.min.js?d=1409764106:4 POST http://undiario.dev/ 500 (Internal Server ...
1
vote
1answer
106 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 ...
2
votes
2answers
406 views

Commerce Orders Search Bug in CP?

I'm trying to figure out how searching for Commerce Orders in the CP works. I've run some tests searching against the following fields: Shipping Business Name Billing Business Name Shipping Method ...
1
vote
1answer
516 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
79 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
397 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 ...
3
votes
1answer
193 views

craft()->locale->getTimeFormat() throws Fatal error

When requesting the control panel I get the following error: Fatal error: Call to a member function getTimeFormat() on a non-object in /craft/app/etc/requirements/RequirementsChecker.php on line 103 ...
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 ...
2
votes
1answer
2k views

Customizing front-end login/logout redirects

I have "manage" link that redirects to domain.com/login. "login" is custom front-end page that after logging in redirects to homepage. After logging in when I click "manage" again the domain.com/login ...
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
222 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 ...
4
votes
3answers
609 views

Asset thumbs missing in control panel after Assets Source update

I've updated several Assets Sources on my production site. I've exported / imported the database from production into local - the new Assets Sources are in place but the asset thumbs are now missing. ...
1
vote
1answer
126 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
151 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 ...
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
794 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
64 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
68 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
125 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
408 views

Compress Craft Control Panel CSS and JS per environment

Is there a way to compress the Craft CSS for a specific environment? Currently there is a setting for Javascript, useCompressedJs, set to true by default. useCompressedJs Tells Craft whether to use ...
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 ...
3
votes
1answer
172 views

Assets folder first level open by default

Is there any way to make the Assets folder also show the first sub folder level by default, like in the attached screenshot?

1 2
3
4 5
8