Tag: debugging
-
Debugging CSS in Drupal 8 (Why aren’t my CSS files being loaded?)
Recently I was trying to style the output from views (in this case, an example property rental search). However, it was confusing to me because although most CSS was working as expected, some was not propagating to the elements themselves. When I did a ‘view source’ of the page I saw four cryptic looking CSS files,…
-
Automatically Check for PHP Syntax Errors
I was developing some PHP code the other day for a WordPress website and got interrupted. I left halfway through editing a PHP file. When I came back I had lost my train of thought and left a simple syntax error in the file. In a momentary lapse of reason I FTP’ed the file back…