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.

Synonyms and Related Terms in use

Evidence emerges that people intend and are finding ways to use Drupal's core taxonomy features related terms and synonyms (which are separate concepts– in the database synonyms are simply alternate names for a term, while related terms provides a table for every term term eligible to to have relations).

Here are the sightings:

Evidence emerges that people intend and are finding ways to use Drupal's core taxonomy features related terms and synonyms (which are separate concepts– in the database synonyms are simply alternate names for a term, while related terms provides a table for every term term eligible to to have relations).

Here are the sightings:

Displaying a Voting module star rating on custom themed CCK node types

Voting module
Drupal 4.7

How to display voting widget on our custom node template

This should do it for you, boys and girls.

if( function_exists("voting_control_node") ) {
$votingwidget = voting_control_node(&$node, FALSE, TRUE);
print $votingwidget;
}

Unrelated notes on not screwing up:

Don't forget parenthesis for if statements! It makes an ugly error.

Parse error: parse error, unexpected T_STRING, expecting '(' in...

Voting module
Drupal 4.7

How to display voting widget on our custom node template

This should do it for you, boys and girls.

if( function_exists("voting_control_node") ) {
$votingwidget = voting_control_node(&$node, FALSE, TRUE);
print $votingwidget;
}

Unrelated notes on not screwing up:

Don't forget parenthesis for if statements! It makes an ugly error.

Parse error: parse error, unexpected T_STRING, expecting '(' in...

Undo that SVN add

In Subversion, to cancel an svn add example_folder command before committing to the repository, do not use svn delete or svn remove or made-up stuff like undo or cancel.

Use the svn revert command:

svn revert --recursive example_folder

And all will be well.

Update: Commenter says this can lose local changes. Not sure about that, but my use case was indeed to get rid of everything so i didn't care. And i'm on Git now.

Legacy Scraper

This module for 4.7 (PHP5 with XML DOM required) is not currently supported. It was created by David Donahue in 2006, and while Agaric Design Collective has adopted the scraper project and added a separate module for very basic scraping that uses a different method, we have not had reason to dive into this code. If you do, or want to add another module to the scraper family, let us know and we can add you as a maintainer to the project on Drupal.org (if you have a CVS access).

This module for 4.7 (PHP5 with XML DOM required) is not currently supported. It was created by David Donahue in 2006, and while Agaric Design Collective has adopted the scraper project and added a separate module for very basic scraping that uses a different method, we have not had reason to dive into this code. If you do, or want to add another module to the scraper family, let us know and we can add you as a maintainer to the project on Drupal.org (if you have a CVS access).

Legacy Scraper scrapes data from web pages. This data can then be imported into a Drupal site as nodes (via CSV) or used for any other purpose.

Share RSS feeds between two Drupal sites

This is the basic, basic approach.

Drupal RSS feed aggregator
external RSS block
display RSS feeds in a block
http://support.bryght.com/adminguide/configure-rss-aggregator

On the site you'd like to get feeds from...
Drupal turn on RSS feeds

just find the section you care about, try adding /feed to the end if no little orange block is there

Agaric wants to know how to deny access to settings form in 4.7

Agaric got this error message:

Cannot use string offset as an array

(in, say, modules/system.module on line 745, as a hypothetical example)

Turns out this is from using return t("Access Denied") syntax when the hook_settings function expects a form array to be returned.

We thought we had the answer and posted as such here:

http://drupal.org/node/22797#comment-240833

Agaric got this error message:

Cannot use string offset as an array

(in, say, modules/system.module on line 745, as a hypothetical example)

Turns out this is from using return t("Access Denied") syntax when the hook_settings function expects a form array to be returned.

We thought we had the answer and posted as such here:

http://drupal.org/node/22797#comment-240833

But while this effectively denies access, no error message appears and the form is provided as just the save and reset buttons. Not the greatest user interface feedback.

Replacing text that does NOT match a given string

Agaric likes to ask the hard questions...

ereg_replace beginning is not found
ereg_replace not present
ereg_replace not equal
ereg_replace character does not match

This is what Agaric came up with. We think that's what the ^ (carrot) character does in that context: negate, deny, exclude the following characters.

Using the . to also match on shttp, or any letter http if they've got others. Oh man, that's https and the . doesn't work that way anyway. Aborting that part of this.

From our scraper module, no, not right:

Agaric likes to ask the hard questions...

ereg_replace beginning is not found
ereg_replace not present
ereg_replace not equal
ereg_replace character does not match

This is what Agaric came up with. We think that's what the ^ (carrot) character does in that context: negate, deny, exclude the following characters.

Using the . to also match on shttp, or any letter http if they've got others. Oh man, that's https and the . doesn't work that way anyway. Aborting that part of this.

From our scraper module, no, not right:

<

blockquote>

Ask Agaric: Unsubscribing from a Subscription to a Post

From a user of an Agaric client's site:

I was wondering if you could help me. I have subscribed to one of the forums and would like to unsubscribe. Can you tell me how to do so. Thank you.

To unsubscribe from content updates, go to your account:

http://example.org/user

Click on the "Subscriptions" tab. Most likely, uncheck any boxes you see (on the "threads" sub-tab that comes up by default), and press "Save".

From a user of an Agaric client's site:

I was wondering if you could help me. I have subscribed to one of the forums and would like to unsubscribe. Can you tell me how to do so. Thank you.

To unsubscribe from content updates, go to your account:

http://example.org/user

Click on the "Subscriptions" tab. Most likely, uncheck any boxes you see (on the "threads" sub-tab that comes up by default), and press "Save".

Possibly also click the "Edit" tab and make sure your account isn't set to automatically subscribe to threads to which you post.

Taxonomy Suggestion Accepter

A while back a client asked for the ability to accept taxonomy term (category) suggestions on his Drupal site. It's not what Community-Managed Taxonomy is meant for, but it's a potential application to keep in mind. Here's that request (that didn't go anywhere) and notes from the time:

<

A while back a client asked for the ability to accept taxonomy term (category) suggestions on his Drupal site. It's not what Community-Managed Taxonomy is meant for, but it's a potential application to keep in mind. Here's that request (that didn't go anywhere) and notes from the time:

<

blockquote>

Bibdesk and Biblio

Agaric wants to know...

Do bibdesk (open source bibliography desktop application for Mac) and biblio drupal module work together?

There's a possible connection, but it's not in English!

BibDesk | pabsta's groove
Je viens de découvrir BibDesk. C’est un GUI fait pour les Macs destiné ? ... J’ai également découvert le module biblio sur Drupal, mais qui semble mal ...
http://www.pabsta.qc.ca/node/399

Agaric wants to know...

Do bibdesk (open source bibliography desktop application for Mac) and biblio drupal module work together?

There's a possible connection, but it's not in English!

BibDesk | pabsta's groove
Je viens de découvrir BibDesk. C’est un GUI fait pour les Macs destiné ? ... J’ai également découvert le module biblio sur Drupal, mais qui semble mal ...
http://www.pabsta.qc.ca/node/399

... translation just says that Biblio's import (of a version he's using in 2007 April) doesn't seem to work.