User login

Fragment

Testing nodeapi to see when it lets us do what

So we have testing the data available to see what happens when we try to save one our action-space associated actions or other content.

The nodes created are 571: Required, an Action space (organic group).
And 572: A new action to test, an Action.

Locale slowing stuff down, too many cache refreshes: investigating the professional way

So I finally found a thread where folks went about investigating what caused the locale cache refresh issue in the more Drupalish way:

locale initialization slowness
http://drupal.org/node/65801

And in particular this debugging patch:

Can't use taxonomy_node_get_terms immediately after terms inserted

The short version is in the title -- use your own query (or the get terms by vocab one which doesn't use a cache technique of any sort, no static variable).

The rest of the post is how NOT to do it when you're pressed for time and making stupid time-consuming mistakes.

let's transfer places

Action made in the same turn (but definitely after) an Action space (organic group) does this:

locale_refresh_cache call by Subscribe: legit or not?

When clicking on "Subscribe" on a node, it triggers locale_refresh_cache:

Getting Started with Getting Things Done

Obtain People Who Give a Damn 501(c)3 nonprofit status.

* Revise application.

* Print application.

* Find/look up application form and address.

* Mail to lawyer.

[This is a very old note, but it's proof that GTD works.  I never completed the beginning of the system (deal with all your present junk) and certainly never looked at this note again-- but it worked, PWGD has 501c3!]

Music Web Sites and Disciplined Anti-authoritanism

The Agaric Design Collective has several music artists asking us to do web sites for them, so we did our due dilligence and surfed the web for fun and profit.

What we came up with is musician and web designer Scott Andrew's simple but to the point site and his wide ranging essay on how to promote your own music, ""

He recommended networking on http://www.garageband.com/ and MySpace

Getting Things Done Thoughts and Drupal Module

One recurring thought is how all of this getting-your-life-in-order stuff is just as important, useful, and applicable to a single mother of two as it is to a CEO, or to me.

I keep thinking how glad I am I got this book, even though I haven't done a single thing in it yet.  It's a broader truth: sometimes simply reading someone you agree with can be affirming and useful in a way, and comforting, especially when you're confident you will soon be acting on the principles, advice, or ideas that are so concordant with your own.

Custom UI for taxonomy: might as well not associate it with any vocab

Taxonomy will automatically add something to each node that is associated with it. There's no way out of it.

See http://api.drupal.org/api/function/taxonomy_form_alter/5

JSON (JavaScript Object Nugget) to PHP array

I am shocked, shocked that Drupal is not already fully buzzword compliant. I expected lots of material on making, sending, getting, reading, and mangling JSON. (I made up the part about the N standing for Nugget by the way. I'm pretty sure it's JavaScript Object something though.)

Instead, Agaric was forced to fall back on the PHP manual: only in PHP 5.2 and above the function json_decode will turn a JSON string into a PHP object (or, optionally, an array).

Syndicate content