Questions tagged [control-panel]
Questions having to do with Craft's control panel.
429
questions
2
votes
2
answers
472
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 ...
2
votes
1
answer
595
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
1
answer
221
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
1
answer
285
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 ...
2
votes
1
answer
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?
2
votes
1
answer
277
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 ...
2
votes
1
answer
153
views
Entries not being searched in the control panel
I have a 'person' channel that does away with the title field and instead uses custom fields like so {lastName}, {firstName}.
However, I've noticed that when I'm looking at the entries listing in the ...
2
votes
2
answers
288
views
'Create a new entry' CP is blank if matrix field exists
I set up an matrix field and put it into section type.
If I am trying to create new entry a kind of broken 'Create a new entry' CP is shown up. Only title 'Create a new entry' and an broken 'save' ...
2
votes
1
answer
107
views
CP entry instructions on multiple lines
I would like to make instruction field info on multiple lines in CP to improve legibility.
You can make a line return when you input the field instructions but it does not work.
2
votes
2
answers
2k
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 ...
2
votes
1
answer
240
views
Locale Global section in CP bringing back page can not be found
I've been asked about doing a Russian version of a website. I've set up a new locale in the Locale settings, as well as an ru/ folder with index.php and .htaccess. Adding a news story in Russian works ...
2
votes
1
answer
371
views
Creating Task cause Site/CP to hang
I have created a simple task to automatically create some entries if they don't exist and this all works fine.
The only issue I am having is that if the task is still running and I try and load a ...
2
votes
1
answer
526
views
Saving entry in back-end with extreme delay
When making any kind of POST to the back-end of my craft install, the server will essentially hang for a significant delay each time. I have researched related issues and have disabled all plugins ...
2
votes
1
answer
104
views
Page breaks when editing a field
I'm suddenly having issues with multiple Craft builds on my local dev environment.
Basically, everything else is working fine but when I edit a field the page breaks. It appears to only be displaying ...
2
votes
1
answer
177
views
Prevent redirecting to the control panel from a URI of "/login" when logged in
I have a top level page that needs the URL of "/login/". It has nothing to do with an actual Craft login.
If I have a logged-in session, that url redirects me to the dashboard (via UsersController-&...
2
votes
2
answers
730
views
How to only show translated fields in an additional locale?
I'm using the localisation feature for the first time, and I'm not sure if I understand its rationale.
On a site with entries that have multiple fields, I only have the main body text set up for ...
2
votes
1
answer
83
views
Member ControlPanel Logs?
Are there some logs which tell, what the member does in the backend?
Something like: "User: «John Doe» Edited this entry at this and that date".
Just a bit more information than what is written on ...
2
votes
1
answer
94
views
Alternate way to test Preparse field?
I'm trying to use a Preparse field to display something conditionally depending on entries' lastUpdated property. In pseudocode:
if lastUpdated < (now - 30 days)
**>30 d**
endif
However, ...
2
votes
1
answer
241
views
Is it possible to increase the number of entries in the entry list in the entry view, where default is 100 per page?
Is it possible to increase the number of entries in the entry list in the entry view, where default is 100 per page? We want to show 300 entries per page in the admiun panel.
2
votes
1
answer
231
views
Module's control panel sub-navigation is not working properly
I have a problem with setting up a CP navigation for my module.
In module's init() I declared the following:
Event::on(
Cp::class,
Cp::EVENT_REGISTER_CP_NAV_ITEMS,
function (...
2
votes
1
answer
160
views
Set default status in CP admin for queried entries from "All" to "Live"
Just wondering if there's a way to set the default status for the entry listing pages in the admin, in my case from "All" to "Live". This would need to account for a page "refresh" and navigation ...
2
votes
1
answer
324
views
How do I get the Site/Revision/Draft in a field in the control panel?
Is there an easy way to fetch the selected Site, Revision and Draft of the dropdown (the one an editor would use to switch the Site/Revision/Draft) in control panel in a plugin?
The only way I found ...
2
votes
1
answer
364
views
Craft 3: Searching within back-end & front-end isn't giving all entries/results
Searching within Control Panel as well as the front-end is not going through all entries. When I try searching in the Content tab I see the pages are listed but when I try to search for the entry it ...
2
votes
1
answer
248
views
Cannot find control panel after installation
After installing craft on apache server, when I try to access control panel using web/admin, serwer throws 404 error.
I didnt changed cpTrigger setting. Default craft template that displays after ...
2
votes
1
answer
94
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
1
answer
53
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
1
answer
3k
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 ...
2
votes
1
answer
528
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
1
answer
189
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?
2
votes
1
answer
113
views
Allowing non staff users to access CP to post and edit posts?
I ask this in the context of a sharing content site, let's say a forum.
This doesn't seem to be a recommended practice, and I wish to know if there is a particular reason:
I plan to let non staff, ...
2
votes
1
answer
616
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 ...
2
votes
2
answers
945
views
Control Panel URLs being rewritten to use index.php?p=admin/
All of our control panel URLs are being rewritten to show index.php?p=admin/***
While this isn't a problem in itself we can't determine why it's happening when the frontend of the website itself is ...
2
votes
1
answer
1k
views
Filter Entries field by category in the CP?
Is it possible to filter relations entries field by a category in a control panel entry?
I would like to relate two channels using the entries field but I have 100 source entries so I was hoping to ...
2
votes
1
answer
593
views
Searching Content Back-end
Currently in the admin panel, all entries per channel appear in a single list. Is it at all possible (at least, by default) to filter/search by type?
For instance a dropdown of all entry types, or ...
2
votes
1
answer
199
views
How might big Matrix/Relationship fields affect front-end CP performance?
I frequently run into front-end performance issues in EE CP pages, where I have a big Matrix field (100+ rows), or a Playa field with a long list of entries (3000+ relatable entries), or worst of all, ...
2
votes
2
answers
467
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
1
answer
343
views
Change the name of 'CraftSessionId' from HTTP header requests?
I am running a Nginx server and tried to hide the 'Set-Cookie' parameter from the HTTP header output when using curl -I hostname.com - I applied the Nginx configuration using:
proxy_hide_header Set-...
2
votes
1
answer
172
views
How are people organizing their global sets?
I've found it a little challenging to use global sets effectively, so I'm wondering how others are doing it.
The fact that a global has to be in a set has been a little tricky to deal with at the ...
2
votes
0
answers
30
views
Allow filtering elements by fields on related elements in element indexes
I'm trying to show some additional columns in the entry index, and allow editors to filter and sort by them. The problem is that the fields that need to be used for sorting are set on related entries, ...
2
votes
0
answers
173
views
How to search/filter in CP by date range?
Is there a way in the control panel to list all entries with a date field between two dates? For example, last updated between 12/16/2019 and 2/15/2020.
Interested in doing this for both automatic ...
2
votes
0
answers
184
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 ...
2
votes
1
answer
196
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 ...
2
votes
0
answers
68
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
0
answers
383
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 ...
2
votes
0
answers
187
views
Manipulating CP Elements List view with source filtering does not work for assets
I made a plugin which customize columns table view for all my elements and using a filter on the source :
Entries: section
public function modifyEntryTableAttributes(&$attributes, $source)
{
...
1
vote
3
answers
901
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
3
answers
7k
views
Can't access admin panel
It's the first time I'm using Wamp for local hosting my Craft website.
I've changed my Windows and Wamp apache host file for accessing my domainname instead of localhost. (ronvanderwerf.loc instead of ...
1
vote
3
answers
1k
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
1
answer
608
views
Displaying notification in control panel
Is there any js function that will display these notifications that appear on top of the screen? Flash messages use these notifications, but I don't want to use flash messages, I want to display ...
1
vote
2
answers
354
views
“Access Plugin” doesn't appear in Permissions list
Non-admin users are not able to access my plugin in the CP. With admin rights, everything is fine—the templates are accessible, but all the other users are getting 403.
I've tried to build the plugin ...