Operators Explained

=
equals (exact value of a property, consider ThemeKey Debug to get an impression of the possible values)
!
not equals
*
contains
!*
not contains
<
less than (alphanumeric values are treated in alphabetical order: "A" is less than "B" but "B" is less than "a")
<=
less than or equal to (alphanumeric values are treated in alphabetical order: "a" is less than "b" but "B" is less than "a" and "A" is less than "a")
>

Properties Explained

blog:uid

Blog: User ID - The id of the user (uid) who owns the blog.
Page Cache: Supported

drupal:base_path

Drupal: Base path - If Drupal is installed in a subdirectory, the base path will be '/[subdirectory]/', otherwise just '/'.
Page Cache: Supported

drupal:get_q

Drupal: $_GET['q'] - Current value of Drupal's query parameter "q"
Page Cache: Supported

drupal:is_front_page

Drupal: Is front page - 'true' if current page is front page, otherwise just 'false'.
Page Cache: Supported

Overriding CSS for the entire website

Currently Themekey CSS does not have an option to override the CSS for the entire site but this can be easily achieved using the user: uid option.

First navigate to admin/config/user-interface/themekey and open the "Adding CSS Rule Chain" tab. Towards the bottom of the page is the New Rule section. If you have multiple rules then the first rule matched will apply its CSS file and the rest of the rules will be ignored, bear this in mind if your adding multiple rules.

Drupal Flight Control: Troubleshooting Guide

See Drupal Flight Control

SSL / no communication with git and repository API's

This could happen, if you are using SSL certificates on your version control system, that are either

  • not trusted by the OS running Flightcontrol
  • not combined with a CA certificate, trusted by the OS running Flightcontrol

To fix this on Ubuntu or Debian systems, you can run these lines:

LinkIt

Improve the informations displayed in the LinkIt results overlay.

Integrate Honeypot with Fail2ban

If you have control over your webserver and can install Fail2ban on the server, you can add configuration that will automatically ban bots on the system level if they trigger enough Honeypot rejections, saving your webserver from having to deal with these bots in the first place!

Since Drupal (and, by extension, Honeypot) writes to the system log, we can use fail2ban to ban IP addresses of hosts (bots) that have too many failed login attempts.

Steps:

Pages

Subscribe with RSS Subscribe to RSS - Site administrators