User login

Problem

Silly devel error

function
file: line
arguments
warning: Invalid argument supplied for foreach() in /var/www/wsf2008/modules/contributed/devel-5.x-1.x-dev.tar/devel/devel.module on line 1033.
devel_query_table
/var/www/wsf2008/modules/contributed/devel-5.x-1.x-dev.tar/devel/devel.module: 501
,
devel_shutdown

Queries taking longer than 5 ms and queries executed more than once, are highlighted.
ms
#
where
query

Using devel and getting this error?

i18n experimentals break ability to change content type descriptions

Drupal content type description won't change

aha:

http://drupal.org/node/112132
http://drupal.org/node/113652

it is a story type renamed to news, and the Description changed, and it somehow got stuck as this:

News stories have a title, a teaser and a body (the teaser is part of the body and can be separated by <!--break--<). News stories must belong to an action set.

Override taxonomy/term style links for a custom (module-owned) vocabulary

(Solution at bottom.)

Agaric's initial test implementation hook_link_alter indicated that it doesn't quite act however the module w

Add onto a form from other sources (like a subform) before submitting

You spend enough time in FAPI and it speaks to you. (UPDATE: but it speaks lies.)

The beginnings of a chance to catch material from the subform and duplicate it for the main form:

this should take care of prefilling places

What hasn't worked:

Disabling locale choices in Organic Group node form

Wanted to hide the choice of Language: "Selecting a different locale will change the interface language of the group. Users who have chosen a preferred language always see their chosen language."

Also we will disable the choice of whether to subscribe to the node you create for an action (set to yes), "Receive notification of replies or comments to this node."

And disable or hide upload files? I guess not, you could attach fliers...

Or should fliers be a separate content type?

Getting a subform to show up correctly

damn. action_group_node_form, the form that is an organic group, has none of its organic group-iness when pulled up through subform.

The trick-- and it is tricky -- is to specify your node type not just with the agaric_example_type_node_form but also in the arguments, 'type' must be set to agaric_example_type.

Hiding extra submit and preview buttons in subforms

The way recommended to remove buttons in the API function wsf_action_fix_subform($form_element, &$form_values) () does not work:

Disabled search within organic groups to work around bug

Disabled search within organic groups because there is a bug in views (according to Moshe, it's not in organic groups)

http://drupal.org/node/129838

Resolution

Possible to accidentally replace entered text with undefined from Drupal's autocomplete

Anyone else notice that on free tagging vocabularies, when no result comes up but you press the down arrow anyway, your text can be replaced wih 'undefined'?

Update: I think this piece in misc/autocomplete.js is working fine:

 
  // If no value in the textfield, do not show the popup.
  if (!this.input.value.length) {
    return false;
  }

The creation of the pop-up is probably earlier than it has to be, maybe it can be called earlier.

Resolution

Drush problems with... json?

PHP Warning: Module 'json' already loaded in Unknown on line 0
drush 5.x-1.0-beta4

Followed these instructions (modified for Apache) but they didn't help.

(If you've installed the module php5-json and get warnings like this one:

PHP Warning: Module 'json' already loaded in Unknown on line 0

it means that the module got loaded twice. Open /etc/php5/cgi/php.ini, scroll down to the end and comment out the line extension=json.so:

Syndicate content