User login

Complete

To be used with care. Pages are complete only when they meet the posting guidelines.

Add action form print_r dump - for easy reference for form_alter and form theming

modern version of add action form

Agaric output this form for the sake of setting a more logical default start time for the date module CCK field here,

We're keeping it around for the fun that could be had with time zones...

Array
(
[#id] => node-form
[nid] => Array
(
[#type] => value
[#value] =>
)

[vid] => Array
(
[#type] => value
[#value] =>
)

i18nmenu too many calls to refresh cache?

There is no reason for i18nmenu to be doing this. Is there?

Calendar date foreach() issue for preceding non-date arguments

Fixed in dev version
http://www2.drupal.org/node/171843#comment-278399

KarenS - October 7, 2007 - 19:53
This was something that used to work and got broken as the Calendar acquired more features. I just committed a fix to the dev version of the module that should make it possible to use a non-calendar argument in front of calendar arguments, which will let you dynamically filter the calendar by whatever that argument is.

Remember return $variables line in function _phptemplate_variables

So, it turns out that in your _phptemplate_variables($hook, $variables = array()) function in template.php, the return $variables line is very, very important.

As in your site self-destructs if you don't have it or accidentally comment it out.

Another helpful tip from Agaric Design Collective!

(And no, we don't learn these the hard way. Angels descend from heaven and whisper Drupal truths in our ears, complete with error output.)

Disable delete for regular users

Conclusion: Because Drupal 6 finally introduces delete permissions separate from edit permissions, Agaric's motivation for providing truly proper behavior went the way of "why do today what's been done for you tomorrow?"

Instead, we present a dirty hack.

A tweak to Agaric's form tweak module that:

Last minute errors (Agaric overzealous cleaning crew)

also

1-in action space menu there should be an item visible to insiders and outsiders "overview " giving a list of elements in action space wiht their nature (the title and nature and date and number of comments)- it is still very confusing when looking

2-i have been trying to create content (other than actionsà in action spaces -NOTHING WORKS EXCEPT IMAGES
Fatal error: Call to undefined function wsf_action_autofill_places_from_group() in /var/www/d53/sites/wsf2008.net/modules/wsf_action/wsf_action.module on line 56

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:

Making links in your theme work with Drupal localization

The name of the Agaric Design Collective member who screwed this up will go unmentioned. (The person who in the first version of this note forgot to put the print statements before the l() with t() function was me, though.)

Before:

<div class="lbutton"><a href="/findaction"><span class="buttn2">Find an Action</span></a></div>

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!]

Remixing Drupal the Agaric Way: Multilingual Panels

Step 1: Find a function that does some or most of what you want.
Step 2: Find another function that does the rest of what you want.
Step 3: Mash them together.

The situation this time: we have a Drupal 5 site (World Social Forum 2008) with i18n (internationalization module) and need translated content to show up in panels.

Update: Go straight to the patch.

Syndicate content