User login

Needs Improvement

Workable solution needs improvement

Delete unused taxonomy terms from a free tagging vocabulary

Wish taxonomy terms would get deleted when a node is deleted, if they aren't used by any other content?

Agaric brings you the next best thing.

@TODO ben-agaric: turn this into a module

Basically we want to delete any term that doesn't exist in the term_node table, though it would be nice to do this by vocabulary (as in, nice not to accidentally delete your carefully set up non-free tagging vocabulary)

Vocabularies for vocabularies, or paired-term taxonomy

As long as it's theoretical, I'm pure genius.

http://groups.drupal.org/node/4658#comment-21689

Hello freeburj,

Taxonomy totally should be able to do that, but what you're asking is actually pretty tough. In the broadest sense, taxonomy lets you set up an arbitrary set of terms for content, and you want to then apply an arbitrary set of terms to those terms that apply to content.

Custom nodes module AND CCK: Bdragon serves you cake and lets you have it, too

stompeers___: I have just a few tables: masters (which are the CDs and DVDs), sales orders (which consist of orders from clients) and work orders (each work order is for a single master, and there may be many work orders for a single sales order).
[9:26pm] pnm_ joined the chat room.
[9:26pm] designerbrent left the chat room. (Read error: 110 (Connection timed out))
[9:26pm] purserj joined the chat room.

A call to t() in FAQ causing excessive locale cache refreshing

Agaric @TODO - report this to FAQ issue queue

Here's a string that shouldn't have been in t() --

aeb831da T+0.588907 [DEBUG ] cache_clear_all('locale:pt-br', 'cache') in `modules/locale/locale.module':213

t() call in hook_info in Usernode causes too much locale caching

t() hook node_info Drupal
cannot use t() in custom node declaration?
hook_node_info

Our latest culprit in the Drupal refresh wars: Usernode.

Decimal numbers and Drupal's db_query (sprintf)

GMap centering rounds off?

Drupal.extend({ settings: { "gmap": { "view_gmap": { "width": "100%", "height": "300px", "zoom": 9, "controltype": "Small", "align": "None", "maptype": "Hybrid", "line_colors": [ "#00cc00", "#ff0000", "#0000ff" ], "behavior": { "locpick": false, "nodrag": 0, "nokeyboard": 1, "nomousezoom": 0, "autozoom": 0, "dynmarkers": 0, "overview": 0, "notype": 0, "collapsehack": 0, "scale": 0, "fatmarkers": false }, "markermode": "1", "longitude": "-71.000000", "latitude": "42.000000", "markers": [

Untranslating terms in Drupal 5: two places you have to do it

Agaric ran into an absolute show-stopper problem (somewhere it's listed on the wsf_action issue queue) that was caused not by code (the usual culprit when ben is developing) but by configuration, and in particular the absolute madness that is taxonomy term translation in Drupal 5. I think we've posted elsewhere: Just don't do it.

But if you have and need to recover:

Deleting all translations here
eng/admin/content/taxonomy/6/translation
is not enough.

Even though it may really look like no one has a translation anymore:

Unsetting things in Nodeapi View works to hide them

<pre>
function wsf_action_nodeapi(&$node, $op) {
  if ($node->type == 'action') {
//  when showing a node: load, view, alter
    switch ($op) {
      case 'view':
        // unsetting things in nodeapi view *does* work
        unset($node->content['locations']);
        break;
...
    }
  }

Users and usernodes getting out of synch

it's quite annoying... the only way to delete a usernode is to delete the user. So to delete orphaned usernames I assigned a bunch of them to New Test, and deleted the user New Test (directly through user/##/edit rather than an admin interface). This worked great, except... it left the New Test usernode orphaned!

(I can see a vicious cycle here)

Unpublishing for now, to keep it out of lists (remember to filter your user pages by published), but we'll have to be aware to look out for more user/usernode weirdness.

Resolution

Syndicate content