User login

Science Collaboration Framework

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

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.

Ask Agaric: Whitespace at the end of lines in a Drupal module or theme?

Is this annoying or a useful feature. My IDE removes trailing whitespace. The disadvantage is that it takes you more time to see the real changes/fixes.

It is a good thing that your editor deletes whitespace at the end of lines, that conforms to coding standards. While your making small typo fixes like that, you should fix the indentation also; I see some things where you removed space at the end but the indentation was left at far too much; each progressive indent should be two spaces (and no tabs used at all).

Semantic Web Firefox Extensions

Half of Agaric, at least, has installed these plugins for Mozilla-based browsers:

Reviving FOAF (scavanging Walkah's Drupal 4.6-era foaf module)

The release page as of October only showed 4.6 and a HEAD version from the same date (November 13, 2006) and about the same size. (Maybe HEAD was compatible with 4.7, i didn't try to use it, but that's the one examined below).

Here are the parts Agaric found interesting:

From foaf_user (implementation of hook_user), we see the addition of an HTML header and, in the content, a link to a FOAF download:

Drupal 6 theme from a module

Comment Module Example

Most of the time, the best way to learn is from looking at core. Randomly clicking around in a Drupal 6 download led us to modules/comment, where we noticed comment-folded.tpl.php. Aha! A template file with that name will probably not be called automatically by Drupal's template systems (as node.tpl.php might). So let's see just how comment.module handles this.

The _theme hook alerts Drupal to the presence of theming functions and, as in this case, a template:

Semantic Web session at DrupalCampNYC5

Leads the New York City Semantic Web Meetup.

RDF - Resource Description Framework
Sparql - an RDF query language

RDF by nature is a graph, whereas a relational database typically fits into tables. That's the biggest difference

Define parents to match your data set and it will create a subgraph.

Define graph please?

A graph is a label and a value.

My presentation for my CEO a year ago:

Relationships are directed. The relationship has a type and a direction.

If you just use a tag, you get a cloud.

Syndicate content