User login

Drupal

Code for Contrib: When There's Not a Module for That

Presenters: mlncn, Stefan Freudenberg, misscs

You won't understand everything about module development this hour, or this week, this month, this year, or this decade.

That's why the approach here is to learn how to learn. Not simply, this is what , but what investigation or resource or secret guild of wizards was needed to gain that knowledge?

Drush site-upgrade and re-running upgrades over existing code

Drush's site-upgrade command asks whether to replace or re-use an existing target site.

Drupal site already exists at /home/ben/code/anjali7/web. Would you like to:
[0] : Cancel
[1] : Delete the existing site and start over.
[2] : Re-use the existing code, re-import the database from the source site
and run updatedb again.

This can be avoided by running the command with the --reuse flag.

Terminal-style syntax highlighting

For documenting on Drupal web sites steps taken on the command line, Agaric would like syntax highlighting of the sort GitHub is using. Note that it is adding a class to the pre tag, and then using spans within that!

Perhaps could be added as a feature to the Code filter module.

Using directory-reserved paths in Drupal

[There is no current general resolution to using directory-reserved paths, but it's surely possible with custom Apache rewrite rules-- apparently everyone concludes (as i am right now) that it's not worth the effort!]

Partial Resolution

To .htaccess, add:

    # Allow the modules path to be used by Drupal for the modules chapter.
    RewriteCond %{REQUEST_URI} ^/modules/?$
    RewriteRule ^ index.php [L]

Relation module

The http://drupal.org/project/relation module, formerly Awesome Relationships, is the new way to relate two anythings (well, entities) in Drupal 7. And the relationship itself is an entity.

http://www.drupal4hu.com/node/288

Nothing happens when saving webform e-mail settings

Trying to change the e-mails that are sent out when a web form is submitted, the form submits, a message is given saying that everything saved or updated fine... and not a single change is saved.

Had to look at Watchdog to see what was happening.

Syndicate content