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

Latest posts box...

I am trying to list the latest posts on my frontpage, but I want to post them seperately for every term, so this is what i came up with:

Problem creating a module

Hello,

I'm trying to create a new module, but I'm stuck at the very beginning! :(

Here is the code for my module:

function mymodule_link($type, $club = 0) {
  if ($type == 'system')
  {
    menu("mymodule/list", t("List my entries"), "list_entries", 0, MENU_SHOW)
  }
}

function list_entries() { 
  return "Here comes the data..."; 
}
function mymodule_access($op, $club) 
{
  return 1;

}

When I call http://localhost/?q=mymodule/list

A "Page not found" is displayed, but I expected a "Here comes the data..." to show up

What am I missing here???

Any help is greatly appreciated



Kind regards

Thomas

Project Access Control ?

Hello friends,
My query is this: is it possible, in the current incarnation of the project module, to restrict access to projects by user? In other words, I would only like members of a given project to have access to it.

Thank you in advance, and thank you all for a great product - Drupal is near godlike.

webmail

I'm not sure if this is the right forum for this and I have searched high and low to no avail for an answer.

Is there a webmail module available for drupal?

2 new drupal modules : linkdump and shoutbox

I slapped together a couple of new drupal modules this last weekend - a linkdump and a shoutbox. Check them out at http://www.bitesizeinc.net/node/view/23719

Viewing hierarchical taxonomies

Is there a way to display a list of nodes that all have a common taxonomy ancestor?

For instance, in the "Food" example hierarchy in the drupal help, there is the term "Alcohol", with two children, "Beer" and "Wine". However, if the user clicks on the Alcohol term, then he won't see any nodes with just the Beer or Wine terms.

As far as I can make out, the "taxonomy/page/or/n" page doesn't take the inheritance of terms into account.

Pages

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