Questions tagged [control-panel]

Questions having to do with Craft's control panel.

Filter by
Sorted by
Tagged with
1
vote
0answers
41 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
113 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
199 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
87 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
92 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
377 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
472 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
2k 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
73 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
346 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
189 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
90 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 ...
9
votes
1answer
3k 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
210 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
586 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
109 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
54 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
130 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
706 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
59 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
64 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
27 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?
1
vote
1answer
106 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
397 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
98 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
162 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
vote
2answers
223 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
84 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
342 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' ...
1
vote
1answer
95 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 ...
0
votes
1answer
401 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"
6
votes
2answers
3k views

Javascript events when modal window is opened or closed

How can I detect when a modal window has been opened or closed? I am writing a plugin which wants to detect when a garnish elementeditor modal window has been opened or closed.
1
vote
1answer
32 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
176 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, ...
0
votes
1answer
345 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
0answers
235 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
1answer
90 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
1answer
148 views

With two EC2 Craft instances, the Control Panel session keeps expiring

Things were fine (no session logout for admin from CP) when there was only one EC2 instance for our website. I created a replica of the existing EC2 instance and now when I go to Control Panel, ...
1
vote
2answers
622 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
100 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. ...
1
vote
0answers
33 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
48 views

limiting profiles to user groups

Can profile fields be limited to user groups in backend? It seems that if you want required front end fields for users registering then admins in backend have to have these as compulsory when creating ...
2
votes
2answers
1k views

CP Session expires after short time

Our Craft installation is now working on the Production Cloud-Server, except that if I'm logged in the CP, after maybe 30 sec the login-modal pops up and says that the session has expired. If I just ...
4
votes
1answer
179 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
574 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
308 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