Go straight to content, do not pass menu, do not collect $200
Oct
23
2014

Drupal 7 notes - Apache config

0 comments

/etc/apache2/apache2.conf - find the <Directory> bits and make sure the /var/www one looks like:

<Directory /var/www/>
  Options Indexes FollowSymLinks
  AllowOverride All
  Require all granted
</Directory>

sudo a2enmod rewrite

sudo a2enmod headers

Sep
03
2014

Drupal 7 notes - making javascript work in a modal

0 comments

Or more accurately in my case, making a jquery gallery work inside a modal.  I am really bad at javascript so I have no idea if my hackjob is a good way to do anything but it did what I wanted.

Jun
27
2014

Drupal 7 notes - getting a Views block with a pager to remember what page it's on

0 comments

While building this gallery for this client, I ran into an issue where if you clicked on the next page in the navigation block and selected a project on the second page, when the new project loaded the block would reload back on page 1.  The Designer and I thought that pagers really needed to remember what page they were on but as of four years ago it was a feature Views and the core pager didn't support, so at the bottom of an issue someone else opened up four years ago asking for this to happen some kind soul provided this code:

Feb
05
2013

Drupal 7 notes: node or page template by path

0 comments

Because I always seem to manage to completely forget how to do something this basic.

template.php in theme_preprocess_page(&$variables) or theme_preprocess_node(&$variables)

Dec
17
2012

Drupal 7 upgrade from HELL

0 comments

Modded to be slightly more useful as I wrote the other one while slightly delirious.

Sep
27
2012

Drupal notes: backup process with drush

0 comments

There's probably a script for this.  Or maybe drush is the script.  Is all good, some things are done much faster with commandline :)

drush vset maintenance_mode 1
drush cc all
drush arb default --destination=../-.tar

And if there's updates to be done:

drush up -y

At the end:

drush vset maintenance_mode 0

Sep
01
2012

Sharing is...

0 comments

...privacy concerning if you're one of those people that object to things like tracking you around the internet, and not a big deal if you're not.

May
25
2012

Drupal 7 notes: html5 placeholder text

5 comments

Fairly straightforward. Mostly here as a reminder for how to do webforms (example has a theoretical nid of 1 and a theoretical form field called “message” and the “submitted” part stymied me for a bit).

Mar
25
2012

theAbysmal Calendar Drupal module

0 comments

I think it's done now.

Oct
04
2011

Thoughts on DiSo

0 comments

I've had several.

Simultaneously, I've had several thoughts on which way this post was going to go.  Originally I was going to go along the vein of a blog post from Zauber Paracelsus (which outlines the "nymwars" debacle to the date of that post, people embarking on "Project DeGooglefy" and alternatives to Google services).

Then I was going to do something or other about G+ and Facebook and problems with centralised social networks.

Somewhere in there I wanted to write about the DiSo project (which appears to have died), and projects such as Diaspora and Friendika, and how I'm wanting to attempt to help with everything, and where I'm going to expend most of my efforts.

Then I started wondering what all those people that aren't me want.  Build it and they will come maybe, but "they" still need to have a use for it and be able to use it.

Pages