User login

Complete

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

Part of the pitch for Agaric training services

Dan says:

We learned web development while learning Drupal

so we haven't had to un-learn the non-Drupal ways of doing things.

Resolution

Don't try to use last insert ID to get the just-submitted user

<?php
// this does not work-- it grabs the ID of the last log message!!
  $uid = db_result(db_query('SELECT LAST_INSERT_ID()'));
drupal_set_message('uid: '. $uid);
?>

Resolution

Considering Capistrano for Drupal site deployment

All you need is Capistrano and an account on the deploy machine. This can be used and extended to deploy to several servers (also at once), move databases around, etc. The gain is that you don't need to login to the server. We can talk about that interesting technique tomorrow.

A nice feature is the ability to roll back to an older version if something bad happens. If this happens during deploy it rolls back automatically.

Stefan

Figuring out Organic Groups Project module integration: output of project module's link altering hook

See also, for OG/Project integration, Adding and modifying organic group action (create content) links.

Figuring out organic project module

These are the links we have to deal with, from hook_project_page_link_alter().

Theming Drupal's user login block with CSS

http://api.drupal.org/api/function/user_login_block/6

Really, what is wanted is CSS

Here's a sample:

  #block-user-0 .form-item /* "User login form" block */
  {
    margin-top: .5em;
    margin-bottom: .5em;
  }

Temporary confusion about our client's name. At least they were confused too.

Despite a number of places with varying uses in the documentation, code, and public documents, the acronym SCF has been decided to stand for
Science Collaboration Framework
not
Scientific Collaborative Framework

or any other variation.

Good to know!

http://sciencecollaboration.org

Resolution

Advanced Forum: module to consider later

For ScienceCollaboration.org and indeed for any of our sites, current or future, with a forum:

To consider later:

More advanced forum look and functionality. As of this writing, Advanced Forum is in alpha for both Drupal 5 and 6.

http://drupal.org/project/advanced_forum
http://drupal.org/node/227108

Resolution

Getting around a subversion file lock on a live server

Another contractor on a project with us, and one way or another there came to be this issue with files modified locally on the live server— to which, in our own practice, we only ever update, so there can never be conflicts.

RDFa in Drupal core: some suggestions from the semantic web community

http://drupal.org/project/vcard

Suggested simplification of the syntax, and a small correction, from <a href="http://lists.w3.org/Archives/Public/public-rdf-in-xhtml-tf/2008Oct/0026.html"

So the way I see this working for Taxonomy module is that a the URI for a publicly defined, shared ontology can be added to a Drupal term as metadata, which the proposed taxonomy_term_load hook would enable.

Syndicate content