Hot answers tagged

7 votes
Accepted

Asset URLs not HTTPS

Yii will check for the following server environment variables when determining if it’s an SSL request: HTTPS – should be set to “on”, “ON”, or “1”; or HTTP_X_FORWARDED_PROTO – should be set to “https”...
Brandon Kelly's user avatar
7 votes

Locked out of my Account, how to get back in?

This is not actually my answer since it's from Andrew Welch on Twitter here: https://mobile.twitter.com/nystudio107/status/1063135843441954816 If you have access to MySQL, you can change the admin ...
John Morton's user avatar
6 votes
Accepted

Specifying administrators for localized sites?

Yes. you can: Here I created a User group which has only access to the english part of the content. As you can see these are checkboxes. So you can grant access to multiple languages at once.
KSPR's user avatar
  • 3,756
6 votes

Plugins not showing in Admin

Probably the name of the folder isn't the plugin handle. Check inside the plugin's folder to see if the actual plugin folder is inside there. For instance: forge@nys-production ~/nystudio107.com/...
andrew.welch's user avatar
  • 11.3k
5 votes

Recovering (or creating a new) admin account

I'm rusty on MySQL so it took me a while to go through this. I'm leaving this here for future internet travelers. It's based on Brad's solution, so read through that first, then you can use these ...
hisnameisjimmy's user avatar
5 votes

How do I UNLOCK my account?

If you don’t have access to another admin account, you could unlock the account directly in the database. Change the lock value to 0 for the account in the craft_users table.
carlcs's user avatar
  • 36.1k
5 votes
Accepted

Plugins not showing in Admin

I'm an idiot. In the Settings area, I was expecting the plugin to show up in the Plugin section after uploading. Don't know why, but noticed last night that under the System section, there was a ...
Shad's user avatar
  • 451
4 votes

500 error on installation since version 2.3

In case it helps someone, my issue was the permissions for the root index.php file...It was 666 (writeable by group) and when I switched that file permissions to 644, the installation was able to move ...
glenn's user avatar
  • 61
4 votes

Changing the default admin path

Have you got your htaccess file working ok? By default the htaccess file is named incorrectly, it should be .htaccess nothtaccess`. You can read about renaming that file in the installation docs. As ...
joep's user avatar
  • 610
4 votes

Craft CMS Log Rotation

Craft will automatically 'rotate' logs into new files as each current file reaches the maximum size (~1MB). This is why, if you look in /craft/storage/runtime/logs, you may see craft.log, craft.1.log,...
Michael Rog's user avatar
  • 3,400
4 votes
Accepted

Settings in Admin Panel Blank

There's a chance that one of your plugins is causing this behavior. Go into your craft_plugins table, and change the value of enabled to 0 for every single plugin. If your Settings page is then ...
Lindsey D's user avatar
  • 23.9k
4 votes
Accepted

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

You can use "incognito mode" in your browser, or you use another browser or computer for this type of front end testing.
carlcs's user avatar
  • 36.1k
4 votes

Would it be possible to create a plugin to warn a user if a page is being edited

Inspired in part by Mats' detailed answer, I've written a plugin that does just this: MN Snitch Enjoy!
Marion Newlevant's user avatar
4 votes

Order entries based on date field in the Control Panel

The CpSortableCustomColumns plugin lets you sort your element index tables on custom fields. Sounds like it does exactly what you want.
Marion Newlevant's user avatar
4 votes

How can I add a favicon to the admin part of Craft?

If you go to Craft Settings > General you can add a site icon in there plus a logo for the login page.
Mark's user avatar
  • 707
4 votes
Accepted

Can I rename my craft/ folder?

Absolutely! In fact, you've outlined the steps needed to do so... Rename craft folder Change $craftPath value in index.php That's it!
Lindsey D's user avatar
  • 23.9k
4 votes
Accepted

Missing Users tab in CMS

Based on your screenshot, you're using the Personal version of Craft, which only allows for one user, which is why you won't see a Users section in the sidebar or the Settings screen. If you upgrade ...
Jalen Davenport's user avatar
  • 3,011
4 votes

How to modify the login panel

You can add a logo to the login page by uploading one to Settings → General Login Page Logo. If you need further tweaking, you could use the Control Panel CSS plugin. I wouldn't recommend modifying ...
Oli's user avatar
  • 7,370
4 votes

How to modify the login panel

I solved this by adding a module that is supposed to act as a sitemodule with different functions I use over most of my projects. Inside that module you register an asset bundle that ultimately adds a ...
MisterMike's user avatar
4 votes
Accepted

Missing the "Settings" tab in admin panel

It's likely because allowAdminChanges is set to false for the staging/production environment in the config/general.php file. This is generally done purposefully so that you don't run into any issues ...
GTerrill's user avatar
  • 311
3 votes
Accepted

Equivalent of EE admin info code

Not exactly. But if you're looking for stats, devMode does some query profiling right in the console: I'm not sure if you're looking for a 1-1 correlation but you can obtain whether or not the server ...
RitterKnight's user avatar
  • 6,572
3 votes
Accepted

Plugins in admin navigation

There's a plugin for that by Josh Crawford https://github.com/engram-design/CPNav
carlcs's user avatar
  • 36.1k
3 votes

Would it be possible to create a plugin to warn a user if a page is being edited

It's definitely a feature Craft is missing, and I've had requests from several clients who are frustrated about it (not super frustrated, fortunately, because everything else in Craft is so much ...
Mats Mikkel Rummelhoff's user avatar
3 votes

Missing entries in admin panel

Are you accessing the same databases? You need to make sure that the local database has been uploaded to the remote server. Then all your entries should show up. You can back up your local database ...
Cavell Blood's user avatar
3 votes
Accepted

Plugin access and control panel navigation

You must give your users the “Access [Plugin Name]” permission. You can either grant that permission directly to each individual user from Users → [User Name] → Permissions, or if each of the users ...
Brandon Kelly's user avatar
3 votes
Accepted

Disabling the target="_blank" on admin site title link

You can use the handy Control Panel JS plugin and add some JS that targets the site-name class on the anchor and removes it. jQuery's removeAttr should do the trick.
Brad Bell's user avatar
  • 67.2k
3 votes
Accepted

Hiding Field on Parent Entry

You can create two different Entry Types for your Structure section, and use one Entry Type for parent entries, and a different entry type for child entries. Entry Types have their own field layout, ...
Mats Mikkel Rummelhoff's user avatar
3 votes

Can't access admin panel

I had the same issue on my mac and struggled for hours. Having the right .htaccess file in place was key, but if you are not getting Craft's error messages, that's a sign your .htaccess file is not ...
Topolino's user avatar
3 votes

How do I fix PHP Notice - Undefined index: releaseDate?

I've run into this issue myself with Craft version: 2.6.2962. The line in question is expecting a column from the database called "releaseDate". In my case, that column no longer exists. It might ...
sturakov's user avatar
3 votes
Accepted

Is there a way to change what happens after you save a new entry?

You can, and it's easy! The "Save" button contains a dropdown arrow, with alternative options for saving: You'll notice that "Save and continue editing" is the top option. You may also notice that ...
Lindsey D's user avatar
  • 23.9k

Only top scored, non community-wiki answers of a minimum length are eligible