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

Exporting XML from nodes and fields

How would i be able to create a CUSTOM XML file where i can pull info from a COntent type..

so for example i have a content type for portfolio . it has title, image1 , image2, image3, etc

and i would like to create a XML feed that has the info into seperate tags

<title>my title</title>
<image1>myimage.jpg</image1>
etc

Mod like Case Tracker

I am working on finding out how to use Drupal to track files for a repo company that I work for and ran across Case Tracker. Case tracker is close to what I need but does not store all the data I would need to associate with a file. However it is a step in the right direction. Is there anyone who has worked on modding Case Tracker? Is it dificult to someone with only an beginners knowledge of PHP? And lastly is there a billing module that can be associated with case Tracker?

Thanks if advance for the information.

customize add node page for new node type

Hi,
I created a new node type, and have a few custom fields on the 'add' node page. I would like to disable some of the options on this add page that don't make sense for my node type. How do I do that? In particular I don't want the comments, menu, path, and attachments sections to even show for this node type. Is there a way to make that happen?

Thanks,

Current Jobs Page - Need Help

Hey all,

Drupal newb here. I'm working on the internal website for my company and I wanted to get some advice. I am trying to implement a "Current Jobs" page so that the company can track installation jobs and certain users can change the status of each job. I guess what I'm asking is what do you think would be the best way to implement this.

Multiple module instances

Is it possible to have a module that is installed multiple times on the same Drupal site? We are currently using a bibliography module and we would like to have two instances of the module. How would I go about this?

Thanks,
Kyle

Annotate - Pro Drupal Dev Book : .install question

Hello,

I am going through the examples in the new Pro Drupal Dev. book and can get the example Annotate module to show up, but I cannot get the annotate.install function to run. No table is being built. I have installed other modules and they worked fine, just not this one.

I also checked a few other small modules for reference and they seem to all follow the same flow and all haev the same permissions.

Any even tried this?

I am not even getting the error/status messages.

Here is the code I am using:

----------------------------------

<?php
// $Id$

function annotate_install() {
drupal_set_message(t('Beginning installation of annotate module.'));
switch ($GLOBALS['db_type']) {
case 'mysql':
case 'mysqli':
db_query("CREATE TABLE {annotations} (
uid int(21) NOT NULL default 0,
nid int(21) NOT NULL default 0,
note longtext NOT NULL,
timestamp int(11) NOT NULL default 0,
PRIMARY KEY (uid, nid)
) /*!40100 DEFAULT CHARACTER SET utf8 */;");
$success = TRUE;
break;

default:
drupal_set_message(t('Unsupported database.'));
}

if ($success) {
drupal_set_message(t('The module installed tables successfully.'));
}
else {
drupal_set_message(t('The installation of the annotate module was unsuccessful.'),'error');

Pages

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