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

URLs to local files when clean URLs are enabled

I am faced with the following dilemma:

I have a module that implements a block. In this block there will be links to a local directory. The problem is, it is up to the use to decide where to install Drupal and what to name the directory:

Example1:
http://somehost/drupal/subdirectory1

Example2:
http://somehost/subdirectory2

Help with custom node module

Hi all.

I'm having a really hard time developing a node module to suit my needs... and would really appreciate some help and guidance.

Basically I need a module that allows authorized users ("content managers") to submit pages that have a title and body in the 'content' area and, an image and a list of "downloads" (that hopefully can be uploaded directly from the submission page) in the 'sidebar right' area.

og: how hard to have 30 groups show up in collapsible menu or 3 columns?

I have about 30 groups for og. In theory, it could go up to 100 or more. How hard is it to have the user interface by easier. I see 2 choices
1) collapsible menus, like what we have in module builder module
2) columns

If either is either to program, I'd appreciate some tips on how. If it's difficult, I'd appreciate an estimate of how many programmer hours it would need.

Otherwise, I'll have to redesign the groups to keep it a manageable number.

Modify contrib module to list nodes of child terms

I am trying to get the term extensions for flexinode to work with Drupal 4.7. The only trouble I'm having is that the code will only list nodes for the parent term, and not for its children. I need a way to modify this code so that selecting a parent term in the URL will also list the nodes of child terms. Thanks for any help on this: the module is quite small and seems simple enough.


/**
* Implementation of hook_help().
*/
function flexinode_terms_extension_help($section) {
switch ($section) {
case 'admin/modules#description':
return t('An extension to the flexinode module allowing table views by taxonomy term as well as by type.');
}
}

function flexinode_terms_extension_menu($may_cache) {
$items = array();

if ($may_cache) {
$items[] = array('path' => 'flexinode/termstable', 'title' => t('tabular view'),
'callback' => 'flexinode_terms_extension_page_table', 'access' => user_access('access content'),
'type' => MENU_CALLBACK);
}

return $items;
}

function flexinode_terms_extension_page_table($ctype_id = 0) {

// badness:
$term_id = arg(3);
if (!$ctype_id || !$term_id) {
drupal_not_found();
exit;
}

$output = '';
$ctype = flexinode_load_content_type($ctype_id);

// Build the query.
$fields_to_select = array();

Copyright module needs an upgrade to 4.7

I've already tried to resurrect the module for 4.7. I have detailed my efforts to convert the module to the new forms API here:

http://drupal.org/node/19061

However, there are problems and I'm no coder. I'm guessing, however, that the fixes for this somewhat simple module would be a walk in the park for someone. I can create the patch, if someone wants to post the changes to the code. Thanks again for any help on this one...

Allow multiple accounts from one email address?

Is there a way to allow more than 1 account with one email address?
I saw in node 15578 a suggestion for how to possibly hack this with 4.6. Now that 4.7 is out, I thought I'd raise the question and see if it's easier in 4.7 (or even has a setting)

Pages

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