User login

How to

Information on how to do something... anything.

Theming node creation forms to split up taxonomy input fields by vocabulary

The otherwise excellent documentation Using Theme Override Functions For Forms doesn't work too well for core forms like the node form. What that documentation is actually about is creating your own overridable theme functions for your own custom forms.

It's a somewhat different approach to overriding core forms. And even though you may have a custom content type "custom" you cannot override its form with theme_node_custom_form, sadly.

How to print views from a theme: use PHP to insert views directly into a template

This is useful for custom home pages (page-front.tpl.php), and can also be used in custom modules that provide pages.

Not the answer! This is for putting a view directly into a node: http://drupal.org/project/insert_view

There are at least two ways to print a view directly from your theme, custom module page, or PHP input format page:

Pass information from a URL into a Drupal page or form

The solutions are not Drupal-specific, should work in any PHP.

drupal pass url to form

arg(2) does it -- or arg(0) or arg(1) or whatever.

panels arguments title
Done. Note: Panels 2 will be able to have a title influenced by arguments without any need for this hack.

How to set up RSS feeds on a Drupal site without Subscriptions module: using Views of course

Joeri Poesen of Symbiotix wrote Agaric, "You've got some great drupal content, but no feed" and "so chances are I'll forget about you, which would be a shame."

That's why it's important to have an RSS feed, which Drupal gives you out of the box. Most people won't be kind enough to write you an e-mail. The other lesson: always assume people are listening.

Being professional web developers, we wrote back "Agaric carve rocks! What Web 2.0?" Well, close: "Is there anything other than Subscriptions for doing that stuff?"

Agaric Design Collective's Wiki Recipe

Description:
Easily create and edit content and link to others' wiki content. All participants logged into the site can edit this content type. All edits are stored as revisions.

http://dev.wsf2008.net/eng/admin/settings/filterbynodetype

Ask Agaric (unsolicited edition) - how to change Drupal core output with a theme

Hi Neil,

I haven't themed forums in this way but here's the general approach:

You want to look in forum.module (and possibly other files such as include/*.inc files-- core isn't entirely modular (yet) to try to find the function that outputs the time. It _should_ be named function theme_something_something. (Where it is actually called to produce output it will be in the form theme('something_something') -- this is how Drupal allows you to override theme functions rather than modify core.

Search just modules on Drupal.org

ben-agaric: Is there a way to search specifically for modules on Drupal.org ? I am *not* a newb!
[5:14pm] ben-agaric: never mind -- advanced search: http://drupal.org/search/node
[5:15pm] gnat_x: ben-agaric: i always just use google, and limite it to drupal.org
[5:15pm] ben-agaric: then expand the closed fieldset, and choose "Project" for the content type
[5:15pm] jenlampton: ben-agaric: I also like to do a google searh on "site:drupal.org project whatever"

Putting regions and blocks in Drupal nodes

Regions in blocks from Lullabot as interpreted by Morton:

übermucho more fun with regions in nodes

Ohh and another little thing i found over at the lullebot site (eaton you are a hero!) adding regions inside the node - damn that have been a lifesaver the last couple of weeks.
So just if i ever ever ever forgets it - heres the snip (and now no more absurd css trix margin: -666px 0 0 0)
add a region

Translation How-To for WSF2008

This is the translation how to document, it is still a work in progress...

In order to paint as good a picture of this process as possible, we will go through the translation process using actual examples from the website. Let's say we want to translate the 'What and Why ?' page on the site. Assuming you are logged in follow these steps:

1.

Click on the title to get to the node page. When there, click on the 'translation' tab. (If you don't see that tab, talk to your system administrator)

2.

Syndicate content