CSS

Disable cache and enable Twig Debug!

Disable cache and enable Twig Debug!

You will find this helps when developing drupal themes as it allows you to not have to clear cache everytime for you to see your change after you make a change to your theme.

1) copy $SITE_ROOT/sites/example.settings.local.php to $SITE_ROOT/sites/default/settings.local.php

2) edit settings.local.php

  1. a) uncomment:
    • $config['system.performance']['css']['preprocess'] = FALSE;
    • $config['system.performance']['js']['preprocess'] = FALSE;
    • $settings['cache']['bins']['render'] = 'cache.backend.null';
    • $settings['cache']['bins']['dynamic_page_cache'] = 'cache.backend.null';
    • $settings['rebuild_access'] = TRUE;

3) edit $SITE_ROOT/sites/default/settings.php

The sky has fallen, the sky has fallen

Well, my attempts at learning Omega 4 was a total disaster. It turns out the Omega 4 uses Sass and in order to use Sass one must install all kinds of other program/tools. The procedure for windows was tedious and ended up not working very well so I figured I would install it on my LINUX VM but ended up being just as frustrating and in the process of trying to get Sass installed I ended up hosing up the OS. I ended up reinstalling LINUX twice because the first time reinstalling it I upgraded everything and ended up with incapability issues (guess I need to learn much more about LINUX before doing anything as advanced as upgrading php to 5.5 and drush to 7) but I finally got things up and running again and I decided to abandon Omega 4 for the moment. I got Aegir back up and running and installed a couple of distributions, Commerce KickStart and Bahai Incubator

Back on track?

The last couple of days I seem to be doing better at refocusing on the task-at-hand.  Last night I finally completed the tutorial I started on "Photoshop CS5 for Web" on Lynda.com (http://www.lynda.com/). I have been on Lynda.com for almost as long as I have been working with Drupal.  I find video tutorials are the way to go for learning.  I guess that is because I'm more of a "visual" person.  I learn better by seeing rather than reading (though I have read through many self-taught disciplines over the years).