Questions tagged [control-panel]

Questions having to do with Craft's control panel.

Filter by
Sorted by
Tagged with
0
votes
1answer
177 views

Change field arrangement from the entries page

In ExpressionEngine you can rearrange the field types from inside the entry. I was wondering if there was any feature like this in Craft? I've got a lot of different types of entries so it's a pain to ...
1
vote
1answer
1k views

Displaying content defined by radio button in admin panel

I want to let my customer decide if they want a 2 or 3 column page so I made a radio button but now I need to show different content if they select one of them but I cant get the syntax right. {% if ...
1
vote
2answers
124 views

Change name of “New Entry” button

is it possible to change the name of the "New Entry" button? In my case the user can add a new program part. And so the button should call "New program" or something like that.
1
vote
1answer
94 views

How to set url of delete button of editableTableField?

As title says, I have a URL which I need to call when someone clicks on delete button. I already have a primary key which I need to set and append in delete URL. How'd I do that? Update Rows are ...
2
votes
1answer
191 views

How to add a custom tab in the user editing page

I try to add a custom tab to user account editing page, but there is only one default tab called 'profile' to use and we are not allowed to add another tab there. I am just wondering if this is the ...
1
vote
1answer
84 views

Richt text change default configuration

Is it possible to change the default settings of the Rich text field? I know that I can change the configuration in Simple.json and Standard.json but I can't find a Default.json file.
1
vote
1answer
279 views

Customizing CP Entries section template

First, which template does the actionGetElements use to generate a response? Second, how can I customize the template for a single entry section?
2
votes
1answer
1k views

Customize Admin Sidebar Menu Items?

Looking for a way to show Channel entries directly on the sidebar for content editors. So if someone has access to: DEFAULT STRUCTURE of Sidebar Menu Entries -> CHANNELS -> News News Item 1 News ...
2
votes
1answer
41 views

Craft Panel Structure Duplication Issue

Having a weird issue here. I have a structure field inside my section on my panel which is divided up by headings. The issue I'm having is that when I try to collapse a heading via the panel, it ...
1
vote
2answers
165 views

Checkbox profile fields front end show labels in cp

I have some custom profile fields saved on registration in the front end. They are checkboxes and only submit on front end reg when they are set as an array. eg: <div class="checkbox"> <...
0
votes
1answer
722 views

Can not login in the control panel: Internal Server Error 500

The website ist working, but I can not login in the control panel. In the console: 500 Internal Server Error - .../resources/lib/jquery-2.2.4.min.js?d=1493300895 setcookie() expects parameter 3 to ...
1
vote
1answer
69 views

Is it possible to allow a user choose tags in admin panel using checkboxes?

The system I'm building requires a flexible taxonomy, where users should be able to add new taxonomy stuff to entries really easy and freely as soon as the need arises. So tags seem to work best for ...
0
votes
2answers
1k views

How can I force a slug to update on save

I'm using the auto generate entry titles from custom fields option, eg {eventVenue}-{seriesName}-{eventDate} But sometimes the eventVenue isn't known at the time of creating the entry, so you can ...
1
vote
1answer
416 views

Craft Commerce - Create Order from Control Panel

We've been looking around to get some info for this feature but didn't find anything yet and wanted to ask here in case we are missing something. Is there a way to create an order from the Control ...
7
votes
2answers
2k views

Does Craft Have Publishing Workflow?

Is it possible to allow some users to write content & an editor can edit & publish / approve it?
2
votes
1answer
368 views

Possible to redirect elsewhere after saving an entry?

I'm editing an entry in the CP... mysite.com/admin/entries/mySection/33-my-awesome-entry Now when I save this entry, it will redirect me back to the entry index page. However, I'd like to override ...
3
votes
1answer
152 views

Is there any way to group Matrix blocks in the control panel (see image)?

Sorry if my question seems incomprehensible, it's my first question here so please go easy on me :) !! I'd like to group the fields in the image in one drop-down menu where, if possible, I can add ...
1
vote
1answer
173 views

How to deal with too many folders in asset source?

I've got a channel with over 1,000 pages, and the entries for this channel have an asset field (for images). I set the asset field to use {slug} as the folder name (because otherwise the content ...
0
votes
1answer
45 views

How to show if a user is logged in to control panel

Is there a way to show if a user is currently logged in to the control panel? As I need a way to see if the client is working in the CMS.
2
votes
1answer
229 views

Filter entries in the CP based on custom permission

We started a new project, a website that lists products based on regions (for example US and Europe). We have all products in 1 channel (to make it dynamic to add more regions later on) and have a ...
1
vote
0answers
35 views

Version 3 Beta Login Logo Not Resizing [closed]

The login page logo does not resize on Craft V3 Beta, but the site icon does, using the identical image. The images are resized to 500 x 500 when uploaded to the cp settings page, but the logo width ...
1
vote
2answers
406 views

Remove entry enable/disable for user

Is there a way to disable the general entry enable/disable toggle button for some users and let them have only the localised enable/disable button. Because I had the problem that a user disabled an ...
2
votes
2answers
4k views

Change system language

I have a craft installation (that's up to date), that was installed with english as the system language. Now that Craft has quite a lot of system languages, is there a way to change to another ...
2
votes
1answer
478 views

Updating Craft in Laravel Valet dev enviornment

I ran into an issue updating Craft and Craft Commerce in my development environment. I am using Laravel Valet. As soon as I want to update (tried manual as well) Craft will throw the error : Unable ...
2
votes
1answer
108 views

Unknown error in users section, after importing sql dump. Need help understanding logs

I am new to craftcms, and have installed a fresh copy. I am trying to create a lab version of our company's website. I installed the fresh install, then I imported the database from sql_dump file, ...
1
vote
1answer
124 views

How to submit custom fields that are added in the right pane to your plugin?

I'm making my first Craft plugin. I have added custom fields to the right of an entry form with the cp.entries.edit.right-pane hook ("Share on.."). But I can't seem to find how to 'transfer' these ...
1
vote
2answers
160 views

Organize singles in Entries tab

Looking to build a largish site with Craft and I need a way to organize the entries for content editors/creators. Adding headers down the side will help for channels/structures, but all singles seem ...
1
vote
1answer
533 views

Send activation email only for users created over the Control Panel

We have a website that allows users to register themselves with a front-end registration form, and are automatically logged-in once they're done (thanks to autoLoginAfterAccountActivation). But we ...
1
vote
0answers
111 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 ...
2
votes
2answers
368 views

Assign user group to group of entries

In the CP, is it possible to assign a user group to selected entries within a section. For example, say I have a section called Events. Within that section I have a fieldType called company. Can I ...
9
votes
2answers
736 views

How can I run the Control Panel from a separate domain?

Is it possible to separate the public site and the Control Panel on separate domains (i.e. www.domain.com and admin.domain.com)? With baseCpUrl you're able to force the admin URL to admin.domain.com, ...
3
votes
1answer
55 views

How can I make an entry (in this case a page from structure) only visible to users with cp access?

I tried 'draft page' but that only shows it in live preview. I need it accessible through the navigation as well. I was expecting a concept button in the CP that would allow this? Do I need to make a ...
1
vote
0answers
43 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
1answer
85 views

Limitation of adding a Category from the CP field modal within an entry

Is there a way to either add a parent selector to the category field modal, or remove/hide the "+ New Category" button when editing an entry? We are using a category group to contain Locations, which ...
1
vote
1answer
150 views

Access logged-in user info when `baseCpUrl` is different than `siteUrl`

Our site's control panel needs to be on a subdomain for security purposes. So our baseCpUrl setting in our general.php file is http://craft-admin.domain.com/ while our siteUrl is set at http://www....
9
votes
2answers
1k views

Plugin Dev - Load third party library

What is the preferred way of loading a third party library in a plugin? I'm trying to develop a plugin to extend SproutForms so that users get signed up to Campaign Monitor. So far I've got an ...
0
votes
1answer
88 views

Headings Not Shown When Adding Custom Source

When adding custom sources as per the docs https://craftcms.com/docs/plugins/hooks-reference#modifyEntrySources like so: foreach($this->regions as $region) { $sources[] = ['heading' => $...
1
vote
1answer
172 views

How to show details on linked entry in CP (another field inside related entry)

I'm using a row layout SuperTable to create a recipe (ingredients are entries). Is there a way to show another field inside the related entry (not just the title) together with the entry title? I need ...
1
vote
1answer
454 views

Getting error “Your session has ended. Enter your password to log back in.” every 30 seconds or so

This is happening for all users and only on production environment. "Your session has ended. Enter your password to log back in." Entering your password does not allow you to actually see the admin ...
1
vote
1answer
484 views

Add an add entry button to my Plugin in Craft CP

Hey I'm writing my first Craft plugin and would like to add a button to have a dialog box in . I want to create a link to a page entry with this and save it to the database. This is the code I want ...
2
votes
1answer
310 views

Control panel field name & instructions translations

I've installed a Craft Pro site with 3 locales: Dutch, French & English, but the people who are going to input data will speak those languages too, so I need to translate the instructions field in ...
4
votes
1answer
408 views

Allow a User Group to access plugin pages (without hasCpSection)

I'm facing a problem which, on the surface, seems similar to this thread... Like that other thread, I've found that a specific user group is unable to access my plugin's pages because the plugin is ...
1
vote
1answer
312 views

How to set error message in element action?

I call a service function inside the performAction method of custom element-action and I'd like to show an error message to user if the service function returned false. I was able to set success ...
1
vote
1answer
51 views

LastPass causing incorrect email address to be saved in new user form

I already have a solution for this but am writing it up in case others run into the same issue. After creating a new user, my email address was showing up as the username of the new user. (This site ...
1
vote
1answer
59 views

How can my plugin render a generic Matrix block in the Control Panel?

Here's a sample of a matrix block: I would like to have my own fields inside the block and retain the basic functionalities like Collapse, Disable, etc. Basically, just use the Matrix block UI ...
3
votes
1answer
129 views

Plugin to “check/uncheck” all matrix blocks while editing entries?

I did a brief search and didn't pull anything up. Is there a native or easy way to "check/uncheck" all matrix blocks? We have a considerable number of them and this would be extremely helpful. Thanks.
1
vote
0answers
69 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
1answer
78 views

Add Entry Button Not Shown When Overriding Entry Sources

We're putting together a site where there is regional content managed by regional editors. I want to override the sources to only list entries from regions they are allocated to. I also want to group ...
0
votes
1answer
18 views

Move Icon Disappears from Categories editor

The move symbol - the one that allows you to move a category in the list up or down, etc. -- is gone from one of my category groups. It's the one that appears just after the checkbox to select a ...
2
votes
1answer
283 views

How to duplicate an element type model with content?

Duplicating models is easy if you do it from the edit view, where you can just omit the ID and pass it along to save(). But how would I go about doing that programmatically without having a POST ...

1 2 3
4
5
8