User login

Complete

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

Opt-in for contact from future WSF activities so site doesn't dead-end

Benjamin:
An aside: I was thinking it would be great if all the events like the US social forum could send their lists to be pre-registered with WSF2008.net. But they didn't ask people permission for this ahead of time, of course. Should we have a checkbox for "Let coming social forums in my area use my registration information" and/or "share with national social forum groups"?

Change the order of the node/add menu links under create content

How do I change the order of the create content links?

Resolution

Agaric thought of creating a module for this. And then we remembered that we just have to reorder their menu items. Administer » Build » Menu (admin/build/menu)

This won't help on the create content page itself, but we never visit this page. Do you? It can also be replaced with a physical page of links if you absolutely must theme this, or a module to replace the default page, but you know you don't need it.

Imagecache not showing images

Oh my god that was SOOOOOOOO annoying. We spent a simply silly amount of time trying to figure out why imagecache images would not display at all.

Resolution

Even though Agaric Design's site is now on Drupal 5, we hadn't changed the .htaccess file in the Drupal files directory since it was a tender young 4.7.

And therein lay the problem.

To quote from the imagecache modules page itself (a moral of this story is to always go there first-- in this case the answer was right on the front page before we could even look in the issue queue)

Replacing Blog pages with a View

weird issue: our blog view after upgrading the site from Drupal 4.7 to Drupal 5 is not in chronological order of posting.

Resolution

Replacing blog.module with views
http://drupal.org/node/47419

Wow, that worked really, really well. We just created the view through the views user interface (modifying tracker, which already had user arguments built in) but the Agaric blog looks great, for me too.

User could not connect to database in making a site with a there-then-missing installation profile

OK, you're not likely to run into this problem.

However, if you do things the Agaric way, and point a domain at a server, and Apache sends it to a valid Drupal installation with a custom installation profile option, and you select that installation profile, and then realize you really want Apache pointing your domain to a different, 5.2 installation.

You may get an error about the user being rejected for the database table. And you can keep trying this page with reset passwords and anything and keep getting the same error. It's weird, but that's what happened to us.

if ($variable) not always the same as if ($variable == 0)

Agaric school of coding mistakes lesson of the day

This, when $node->price equaled zero (actually, and significantly, 0.00), did not give the proper result:

        if ($node->price) {
          $default_value = $node->price;
        }

While this did work as expected:

Agaric school of coding mistakes lesson of the day

This, when $node->price equaled zero (actually, and significantly, 0.00), did not give the proper result:

        if ($node->price) {
          $default_value = $node->price;
        }

While this did work as expected:

        if ($node->price > 0) {
          $default_value = $node->price;
        }

Moral of the story: don't be lazy.

Ask Agaric: Getting started with Drupal

A lot of people want to know how to get started with learning Drupal...

I have a quick question for you. I have started to play with Drupal as CMS, with plug-ins and themes etc. . . Is there a good resource out there to learn the ropes? Nothing too involved, something like Drupal for Dummies (or for Smart People).

Taxonomy image with Category.module (Drupal 4.7)

Using taxonomy_image with category module (Drupal 4.7)

This works, but you need to know the direct path to the taxonomy image administration page (not its settings page).

The taxonomy help page - admin/help/taxonomy_image - says to do configuration at 'administer >> categories >> images'

If the Category module is installed, taking over the core taxonomy module's functions, there will be no link to image or images anything in the menu or as a tab.

Instead, you can navigate directly to the taxonomy_image admin page here:

/admin/taxonomy/image

Using taxonomy_image with category module (Drupal 4.7)

This works, but you need to know the direct path to the taxonomy image administration page (not its settings page).

The taxonomy help page - admin/help/taxonomy_image - says to do configuration at 'administer >> categories >> images'

If the Category module is installed, taking over the core taxonomy module's functions, there will be no link to image or images anything in the menu or as a tab.

Instead, you can navigate directly to the taxonomy_image admin page here:

/admin/taxonomy/image

Ask Agaric: Views of comments in Drupal 5

how do I make a view that displays only recent comments made on a certain content type?

This is basic views functionality.

Simply filter by node: type to restrict the view to specific content types.

The trick is you have to choose list (or table and possibly other views made possible by the Views Bonus Pack). Then you can select which fields to show: comment subject and time and body and anything else comment related.

how do I make a view that displays only recent comments made on a certain content type?

This is basic views functionality.

Simply filter by node: type to restrict the view to specific content types.

Token and Images (by way of pathauto)

We moved from Drupal 5.1 to Drupal 5.2 and updated a lot of modules.

For our random image view to work we had to save the modules page. Yay! It worked.

But then we updated from Token 1.6 to 1.8. The images from our random image view stopped showing up. Token required one database update. Did that. Saved the modules page.

Nothing.

Syndicate content