Questions tagged [control-panel]

Questions having to do with Craft's control panel.

Filter by
Sorted by
Tagged with
4
votes
1answer
1k views

The file does not appear to be an image. Bug?

I've installed the latest ImageMagick on my ubuntu 14 server. If I force imageDriver to use 'imagick', I can only upload Gif images. And if I force it to use GD, I can upload all images but only ...
1
vote
1answer
213 views

Inline help text for entries

As a content strategist, I'm trying to take the memory and guesswork out of my client's experience while updating the site (check out this great article, "Training the CMS"). Field instructions are ...
2
votes
1answer
406 views

Changing the asset url for the Control Panel

I'm attempting to get the Control Panel assets to load from a CDN instead of locally from Craft. Going through the config options here and here I can't seem to find a way to change the asset URL. Is ...
2
votes
1answer
403 views

How can I add images to field instructions?

I'd like to have images in my field instructions, but adding the Markdown code doesn't work, nor does HTML. Is there a way to include images and other HTML within?
3
votes
0answers
127 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&...
3
votes
1answer
144 views

How can I dynamically remove some unwanted formatting tags inside rich text fields?

I set up a Redactor config to add h3 headings only. If I copy-paste texts from a text edition software like Microsoft Word and uses h1 or h2 for example in his document, these un-wanted headings will ...
3
votes
0answers
98 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 ...
1
vote
1answer
477 views

Unknown error occurs on every AJAX call in CP

I was working on a plugin with a hook on onBeforeSaveEntry in my dev environment (which is configured exactly like my live environment). I had a var_dump with an exit in the hook to check output of ...
2
votes
1answer
471 views

Craft redirect loop after logging in

I'm experiencing weird cookie/redirect issues after logging in the admin/cp. Keeps redirecting to / (even on /) untill I've deleted my cookies. Clean download/install, no errors occured. I have no ...
11
votes
1answer
474 views

How can I utilize existing UI for my plugin's control panel views?

I'm new to building plugins and I need to make templates for the control panel. How can I use existing Craft UI components to keep things consistent and save myself from having to rebuild everything?
1
vote
1answer
39 views

Can Matrix fields be added/shown on the entries listing of the control panel?

Is it possible to add a related matrix field and show the first entry in that field on the http://domain.com/admin/entries section of the control panel?
2
votes
1answer
200 views

Disabling the target=“_blank” on admin site title link

I'm looking to hook into this somehow to adjust the title home page link in the top left corner of the admin pages to stop opening in a new tab. Anyone have any good solutions for removing the target="...
2
votes
3answers
429 views

Triggering JavaScript from back-end event

I'm building a plugin and want to trigger some JavaScript on an event being fired (eg an entry being saved). What is the best way to achieve this? Coming up short looking through the documentation and ...
1
vote
1answer
524 views

Debugging an error (“An unknown error occurred”)

I keep getting an error when I am in the CP. The stack trace of the error that is logged is below: 2016/08/02 01:12:05 [error] [exception.Craft\HttpException.404] exception 'Craft\HttpException' in /...
1
vote
1answer
641 views

“Unknown error” constantly, seems tied to user preferences

I have a user group called Content Loaders with limited permissions. After creating a test user in this group I got an "An unknown error occurred" message every time I navigated anywhere in the CP or ...
1
vote
1answer
61 views

Tracking SQL queries from CP changes

We are developing over multiple environments and production stages, and we would like to be able to track the SQL changes that happen when we make a change to entries etc. on the CP. The changes don't ...
0
votes
0answers
81 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: '...
5
votes
2answers
870 views

User permissions on a per-entry basis?

I have a Structure section that contains most of the pages on my website. We have users that need to edit only some of those pages. Since permissions are set on a per-section basis, right now they ...
2
votes
2answers
419 views

Control Panel access. Greyed out button [closed]

The Admin login screen for my site is not working. The button to submit my credentials is greyed out and submission by pressing enter is not working either. Not sure how to go about solving this one ...
2
votes
1answer
110 views

Sharing files with logged-in users

Our client is a builder and they need a way for their contractors to login and upload/download documents about each build (plans, building consents, information etc). They (the builder) also need a ...
1
vote
0answers
64 views

Control Panel, Landscape / Portrait Images [closed]

How can i achieve that portrait images in Control Panel are shown as portrait images. Now they all are stretched to fit the width of the parent container. This behaviour is only in "Big View" of ...
2
votes
1answer
164 views

Control Panel, sorting issue

i am new to craft. Is there a connection between the control panel sorting setting for structure entries and the template output. {% set entries = craft.entries.section('projects') %} Changing sort ...
2
votes
1answer
354 views

Admin CSS missing from hosted site

The development site works locally, but on a live hosted server the admin CSS is missing. The admin JS shows up. The public-facing site works fine on the live server and I can log in to the admin area,...
2
votes
1answer
261 views

How to add assets field to control panel plugin template

So, a date field can be added to a plugin template within the control panel using: {% from "_includes/forms" import date %} {{ date({ id: 'fields-invoiceDate', name: 'fields[...
2
votes
1answer
88 views

Entries form in control panel won't display if I have a Matrix field enabled

I'm new to Craft, and have a local installation of version 2.6.2789 I have created a section with its own field layout. Everytime I enable a matrix field in the field layout, the section entry form ...
2
votes
0answers
333 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 ...
4
votes
1answer
1k views

YouTube video embeds in rich text field not saving

When adding a YouTube video to a rich text field the video embed appears as expected. The entry then fails to save with no error (if I make other changes at the same time they don't save either). ...
1
vote
1answer
148 views

How to notify the user from a Task

Is it possible to somehow notify the user from a completing task? I am walking trough a set of .csv files and on completion i would like to notify the user. // last step $stepIndex = $step + 1; if ( $...
1
vote
1answer
84 views

How can I access or set a Task's properties inside a class or method?

How am I able to get or set additional properties on a Task model inside a plugin. Eventually I would like to influence the Totalsteps of a task. $task = craft()->tasks->createTask('Reroute', '...
3
votes
1answer
302 views

Listen for checkbox check event for assets table and modify action trigger menu item

I am able to listen to an event when the user checks the checkbox in the assets table. This is within my js file init file that extends garnish: Garnish.Base.extend When the checkbox is selected, I ...
1
vote
1answer
47 views

Can anything be done to suppress or limit the clickable area of the checkbox in a Matrix block header?

You know, the one that gangs blocks together but never really gets explained in the docs. I hate that thing. I hate it because double-clicking (or single clicking) anywhere in a Matrix block header ...
3
votes
2answers
421 views

Cannot enable Craft plugin in control panel

I'm attempting to enable a plugin from within the Craft control panel but I am unable to do so. It shows Disabled and when I click "Enable" it shows "Plugin Enabled" at the top but still shows ...
3
votes
1answer
270 views

Settings in Admin Panel Blank

Have kind of a weird problem going on with my site, which I just moved over from my staging server to production. Originally, everything looked fine, except I couldn't get into the Admin Panel. I ...
2
votes
1answer
264 views

Moved from dev to prod server, admin page blank

I have a dev server (sandbox.site.com) and a prod server (www.site.com). I copied over the contents from sandbox to dev using cp -r. Loading up my website on the production site looks fine. Everything ...
3
votes
1answer
62 views

URI not shown anymore for structures?

In the entry list for structures, there used to be a column where my client could see the URI of each entry. Now that it dissapeared because of what seems to be the last update of Craft CMS, how can I ...
1
vote
1answer
320 views

How to edit the Date Created value that appears on the Entry page

I've just noticed that there's a Date Created value that appears for each entry in the control panel. Here's a screenshot: . How can I edit this Date Created value? I've just looked at the ...
2
votes
1answer
72 views

Separate time settings from user locale?

I would like to render the DateTime fields in the backend with european time format, even though the user I'm logged in with is set to English/US. Is this possible?
1
vote
1answer
175 views

Log in as different users in backend front end at the same time?

Is it possible be logged in with different users in frontend and backend, and if so, how do I do that? It would be very convenient being able to test logging in/out different users in frontend, ...
3
votes
2answers
379 views

Plugins in admin navigation

Is it possible to choose which plugins appear in the main admin navigation? I've installed Entry Count (https://github.com/putyourlightson/craft-entry-count) and it's now showing in the navigation (...
2
votes
2answers
161 views

Restrict entry editing to category / topic

How can I implement security which allows members to only publish an entry in an assigned category / topic? Example: The site is a business directory. Business listings are published in cities: New ...
1
vote
1answer
275 views

Live Preview and CDN caching

We have a problem with using Live Preview on a site that uses CDN caching [CloudFront]. When opening Live Preview a POST is sent to the actual page URL containing the information and the response is ...
2
votes
0answers
63 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
1answer
125 views

How to disable element editor on custom element type?

I'm working on custom element type and I'd like to disable the editor modal at element index view that appears when you double-click on status icons/thumbnails in the title column. Any help?
3
votes
2answers
286 views

When I flip the “Featured Entry” switch, disable it on other entries [duplicate]

Assuming I'm using a lightswitch to denote an entry as "Featured," how can I then disable that lightswitch on every other entry, so that no matter how many times I flip these switches only one entry ...
1
vote
0answers
55 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 ...
5
votes
1answer
252 views

Is there a way to see the total number of entries in a channel in the CP?

Is there a plugin or something I'm missing in the CP to just see how many entries are under any given channel or structure?
1
vote
1answer
429 views

Possible to add category field to modifyEntryTableAttributes?

I'm playing around with the modifyEntryTableAttributes() and tried adding a category field. I get an unknown error has occurred. Guessing there's a problem with it being a category field and not ...
3
votes
3answers
558 views

Rename Entries to Content on CP top menu

A purely cosmetic change, but just wanted to know if its possible to change the menu item for Entries to something like Content? From a client point of view, I just know some will beg me to change ...
2
votes
1answer
456 views

Blank entry page in CP

I set a matrix block field for a blog's channel and when I try to create a new entry, It is empty But if I change the matrix field with another field, it works. Anyone have an idea? Thanks in ...
12
votes
2answers
1k views

Why are some entry detail views empty in the control panel?

I can't seem to edit entry details all of a sudden: in this Products section (and only this one section), the page title and "Current Version" button will render, but the rest of the page is missing. ...

1
4
5
6 7 8