This forum is for module development and code related questions, not general module support. For general support, use the Post installation forum.

new module

I just recently have created a new module.

Basically what this would do is display in a block latest postings on a particular taxonomy.

There're lot of things need to be done:
1. put more link
2. select what node types to display on the block
3. include related terms and synonyms on that block

here's the code, feel free to test and comment on it. thanks...

[%
function taxonomy_block_link($type, $node = 0, $main = 0) {
if ($type == "system") {
drupal_set_html_head("
rel=\"stylesheet\"
href=\"modules/taxonomy_block/taxonomy_block.css\" />\n"
);
}
}

function taxonomy_block_help($section = "admin/help#taxonomy_block") {
$output = "";

switch ($section) {
case 'admin/help#taxonomy_block':
$output = "

Display list items from taxonomy in a block.

";
break;
case 'admin/system/modules#description':
$output = t("Display in a block the list of items/nodes from taxonomy.");
break;
}

return $output;
}

function taxonomy_block_block($op = "list", $delta = 0) {
if ($op == "list") {
$vocabularies = taxonomy_get_vocabularies();
$ctr = 0;
foreach ($vocabularies as $vocabulary) {
if (variable_get("taxonomy_block_show_" . $vocabulary->vid, 0)) {
$vocab_tree = taxonomy_get_tree($vocabulary->vid, 0);

Need help integrating phorum5 with drupal

Hi,

I have a site running since 1997 (www.bmwe30.net) that I'm currently converting to drupal.
I'm currently using webbbs to power the site's forums, which I'll replace with phorum5 (www.phorum.org).

block featuring links to latest terms in a defined taxonomy?

Has anyone created a simple block, featuring links to the latest terms to be added to a specific taxonomy?

e.g. if I have a taxonomy called albums, this block will list say the latest 5 terms to be added to albums?

Cheers,
E

block featuring links to latest terms in a defined taxonomy?

mailhandler, no help on commands

Hello,

I have installed the mailhandler module recently. When I click on the link "Commands" on the add mailbox page (http://drupal.org/?q=admin/system/modules/mailhandler/add) The link is not work.
It seems that "admin/system/modules/mailhandler/help/#commands" has not handled in the code.

a simpler project module

Hi chaps! My first post here!

I searched around the site for a trouble ticket (or help desk) module. The "project" module makes the job but it's to complex. So I am looking for something muuuuuuuch more basic.

Like apply taxonomies as categories and so avoid all the procedure of project creation/management.

Any module ready or any way to do that?

TNX!

knowledge base module

Hi all,

I am not a devloper, but was wondering if there exists a knowledge base module for drupal?

Pages

Subscribe with RSS Subscribe to RSS - Module development and code questions