This website is composed of information connected through taxonomy. It is simultaneously a proof-of-concept and a means to allow Agaric to share and store information both within the collective and the world as part of our open documentation philosophy.

User login

This website is composed of information connected through taxonomy. It is simultaneously a proof-of-concept and a means to allow Agaric to share and store information both within the collective and the world as part of our open documentation philosophy.

Creating SSH keys

keywords: cat authorized key

These directions worked for a Mac OS X computer.

On the home computer:

ssh-keygen -t dsa

Accept the defaults. Despite the term pass-phrase, as opposed to password, if you choose to use one, keep your passphrase short.

cd /Users/you/.ssh

(Change "you" to your username, the default place the previous command generates the key)

keywords: cat authorized key

These directions worked for a Mac OS X computer.

On the home computer:

ssh-keygen -t dsa

Accept the defaults. Despite the term pass-phrase, as opposed to password, if you choose to use one, keep your passphrase short.

cd /Users/you/.ssh

Intro to Drupal to a developer

Drupal is written in PHP. A lot of things (not everything) in Drupal is a "node". So from your perspective Drupal can handle the creation of content (as nodes) of any types and also the management of users logging in. Your module would create the ability for people to do something to content (a ratings module would be a good place to find an example of this), and also create user-specific pages listing the recommendations of people they subscribe to.

Drupal is written in PHP. A lot of things (not everything) in Drupal is a "node". So from your perspective Drupal can handle the creation of content (as nodes) of any types and also the management of users logging in. Your module would create the ability for people to do something to content (a ratings module would be a good place to find an example of this), and also create user-specific pages listing the recommendations of people they subscribe to. I don't know of an example of how to extend users (to add "subscribe to this user" buttons) but I'm sure you (specifically you!) can do it.

Random IRC knowledge

(I know, this isn't actually Linux sysadmin but it's on the same category of nerdiness from my perspective.)

After searching the world wide web for:

  • irc how do you refer to yourself
  • irc call by username
  • irc use username

Finally found all the IRC answers, from tomf__ on (where else?) Drupal.org:

How to effectively use IRC

Specifically, referring to oneself should be used only for actions, and is done thusly:

You precede the action with /me

(I know, this isn't actually Linux sysadmin but it's on the same category of nerdiness from my perspective.)

After searching the world wide web for:

  • irc how do you refer to yourself
  • irc call by username
  • irc use username

Finally found all the IRC answers, from tomf__ on (where else?) Drupal.org:

How to effectively use IRC

Specifically, referring to oneself should be used only for actions, and is done thusly:

You precede the action with /me

Porting a site to Drupal the Agaric Way (some notes)

Dan showed a new recruit how to do a port to Drupal the Agaric way.

Some points to note:

Dan showed a new recruit how to do a port to Drupal the Agaric way.

Some points to note:

<

ul>

  • the HTML used on the pages (converting some sections of content to lists - "<ul><li>" etc) and the need to make links where the content calls for links
  • creating a custom path for a node involves /replacing/ the existing path (a node will always be available at its /node/## address) with the new path-- not adding onto it. Furthermore, the good-looking path process can be automated (grabbed from titles) with the pathauto module.
  • User Image Gallery (Avatar page) with Views: Basics and Beyond

    (Changing the options on an avatar gallery page created from user's profile pictures with Views Bonus Pack's grid view. The instructions and options here are for Drupal 4.7 but should apply equally to Drupal 5.)

    Administer > Views

    Click "edit" next to member_gallery

    Scroll down to "Arguments" and click to expand.

    Under "Argument Handling Code" change:

    $view->gridcount = 3;

    to:

    $view->gridcount = 5;

    Scroll all the way down and press the "Save" button.

    Click on member_gallery to have a look at your view.

    (Changing the options on an avatar gallery page created from user's profile pictures with Views Bonus Pack's grid view. The instructions and options here are for Drupal 4.7 but should apply equally to Drupal 5.)

    Administer > Views

    Click "edit" next to member_gallery

    Scroll down to "Arguments" and click to expand.

    Under "Argument Handling Code" change:

    $view->gridcount = 3;

    to:

    $view->gridcount = 5;

    Scroll all the way down and press the "Save" button.

    Click on member_gallery to have a look at your view.

    Photo Albums on Agaric Sites: How to Upload Pictures

    Adding pictures to an Agaric site with an image gallery can be done photograph by photograph, like any other content, by categorizing it into a picture gallery vocabulary (category).

    However, for people who have an expensive digital camera and have discovered that it frees them from 24 or 36 pictures at a time by a factor of 10 to 100, Drupal sites made by Agaric (OK, any Drupal site with image module) can take mass upload and import of photos (or any digital image).

    Adding pictures to an Agaric site with an image gallery can be done photograph by photograph, like any other content, by categorizing it into a picture gallery vocabulary (category).

    However, for people who have an expensive digital camera and have discovered that it frees them from 24 or 36 pictures at a time by a factor of 10 to 100, Drupal sites made by Agaric (OK, any Drupal site with image module) can take mass upload and import of photos (or any digital image).

    Using the Banner Module

    Agaric is experimenting with the Drupal Banner module, and as some of it is less than intuitive, we thought we'd document some of it here.

    Agaric is experimenting with the Drupal Banner module, and as some of it is less than intuitive, we thought we'd document some of it here.

    <

    ul>

  • Don't forget to follow its installation instructions and put those two PHP files in your root directory.
  • And put at least &lt;?php print banner_display(4, 1); ?&gt; in your page.tpl.php where you want the banner to appear, with "4" being the taxonomy term ID of the banner group (see docs, and "1" is the number of banners from that group at a time.)
  • Modular Homes and Custom Content

    This will be Agaric Design's live experiment with working on content with an eye toward key words. This is for the site Driscoll Associates Modular Homes.

    First step was just adding nodewords, to throw some of the below on the site.  (Another thing adding the nodewords module did was provide meta tags for geolocation so Driscoll Modular Homes now shows up on lists of places near Natick and Framingham, at least.)

    This will be Agaric Design's live experiment with working on content with an eye toward key words. This is for the site Driscoll Associates Modular Homes.

    First step was just adding nodewords, to throw some of the below on the site.  (Another thing adding the nodewords module did was provide meta tags for geolocation so Driscoll Modular Homes now shows up on lists of places near Natick and Framingham, at least.)

    <

    blockquote>House
    Houses

    Easier to edit, keep domain name, professional?

    [These were asked by a friend of ours who suggested our services to an organization where she was a long-time volunteer.]

    So, if you were to remake the site, these are my questions:

    [These were asked by a friend of ours who suggested our services to an organization where she was a long-time volunteer.]

    So, if you were to remake the site, these are my questions:

    <

    ul>

  • Would it be easier for them to perhaps be able to edit on their own?
    • YES!!!

  • Would we be able to host through you guys and keep the same domain name?
    • Yes-- provided you know who has access to the domain name, it can be directed at any server (and for real, not just forwarded with masking).

  • Get secondary links to show up under front (home) page in Drupal 5

    Do you, for some strange reason, want secondary links to show up under your primary links when users are at your front, home page?

    After a bit of frustration ourselves, here is Agaric Design Collective's very short guide to getting secondary links to show up when you are at your front page menu item.

    Change your menu declaration for "Home" (or whatever you call it) from &lt;front&gt; to whatever you actually have &lt;front&gt; set to in your site settings, such as node/1.

    Do you, for some strange reason, want secondary links to show up under your primary links when users are at your front, home page?

    After a bit of frustration ourselves, here is Agaric Design Collective's very short guide to getting secondary links to show up when you are at your front page menu item.

    Change your menu declaration for "Home" (or whatever you call it) from &lt;front&gt; to whatever you actually have &lt;front&gt; set to in your site settings, such as node/1.

    That's it, everything will work now, move along, nothing more to see...