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

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?

Weblink module: Allow duplicated weblinks

Hi,

how can I change the code to allow duplicated weblinks in the database??

Thanks,

Roseline Paquin

node_prepare stripping out my tags

Hi

I have been using the node_example.module sample to learn a bit about writing drupal modules. I have run into a bit of a problem though with the node filters and I am hoping that a veteran developer could just clarify this issue for me.

The node_example.module has these two functions that are used to render the 'new' node:


function node_example_view(&$node, $teaser = FALSE, $page = FALSE) {
  $node = node_example_content($node, $teaser);
  return theme('node', $node, $teaser, $page);
}

function node_example_content($node, $teaser = FALSE) {
  $order_info = theme('node_example_order_info', $node);
  $node->body .= $order_info;
  $node->teaser .= $order_info;
  return node_prepare($node, $teaser);
}

function theme_node_example_order_info($node) {
  $output = '<div class="node_example_order_info">';
  $output .= t('The order is for %quantity, %colour items.', array('%quantity' => $node->quantity,
                                                                   '%colour' => $node->colour));
  $output .= '</div>';
  return $output;

node->body is themed by node_example_content() and then filtered through node_prepare. One of the things that the theme does in insert a

into the node body. The problem is that the filter then removes the
.

Now my problem is:
How do I use my theme to insert the

tags that I want, but still prevent users from submitting node bodies that contain
tags.

Pages

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