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

Project vocabulary tabs persisting between sessions

I'm working on some improvements to the project module. I've modified the taxonomy for Projects but, for some reason, the tabs, seemingly populated by categories data objects, doesn't seem to be updating. I cannot see where in the code the project module is generating these tabbed headers:

function project_page_overview($termname = NULL, $version = NULL) {
// If browsing by taxonomy, only fetch projects for this term
if (function_exists('taxonomy_get_vocabularies') && ($vocabulary = current(taxonomy_get_vocabularies('project_project')))) {
$terms = taxonomy_get_tree($vocabulary->vid);

if ($termname) {
foreach ($terms as $term) {
if ($term->name == $termname) {
break;
}
}
}
else {
$term = current($terms);
}

if ($term->description) {
$output .= $term->description;
}
$result = db_query(db_rewrite_sql("SELECT n.nid, n.title, n.teaser, n.format, n.changed, p.issues FROM {node} n INNER JOIN {project_projects} p ON n.nid = p.nid LEFT JOIN {term_node} r ON n.nid = r.nid WHERE n.status = 1 AND r.tid = %d ORDER BY n.title ASC"), $term->tid);
}
// Fetch all projects
else {
$result = db_query(db_rewrite_sql("SELECT n.nid, n.title, n.teaser, n.format, n.changed, p.issues FROM {node} n INNER JOIN {project_projects} p ON n.nid = p.nid WHERE n.status = 1 ORDER BY n.title ASC"));

Credits module

I'm currently attempting to develop a credits module, whereby users can gain points for contributions to the site. These credits can then be exchanged for features such as custom titles, avatars, etc. I'm having a problem deciding which would be the best way to store this information in a database.

Intergrating Moxiecode ImageManager into Tinymce

Hi there
I'm trying to integerate Moxiecode ImageManager into Tinymce, without any success so far. I've followed the integration instructions and have added the required code into the tinymce.module. Unfortunately Imagemanager still does not load from within Tinymce.

If anyone has successfully integrated Imagemanger into Tinymce, I'd be really grateful for some advice.

Thanks

Looking for a drupal developer to work on Amazon style review module

I'm looking to contribute to the drupal community by sponsoring a robust review module. I'm not entirely clear on the best and most drupal way to architect the thing. I'm thinking that reviews would be nodes, each of which would be associated with a parent node (pertaining to the object/book/design/etc being reviewed). I don't think that comments are robust enough to support all of the needed features.

Anyone have an idea about this problem

I posted a issue about my problem with the Workspace module and nodeperm_role working together. Content created by any given user gets duplicated many times in the user's workspace, while content that was created by others (but the user can edit through nodeperm_role) gets treated normally by workspace (no redundant listings). Any help resolving this issue would be appreciated.

My initial report can be found here: http://drupal.org/node/27576

image upload api

I've done some searches on this and everything that I can find seems to be pretty old and more concerned with getting images into a blog or textarea. My question is this:

What is the best way to add an image upload element to a node type? I am working on a module that need to allow two images to be uploaded along with other custom data. When viewed, the images must be shown as thumbnails that link to the larger images.

Pages

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