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

Developing a module without nodes???

How do I create a module that doesn't rely on nodes?

I don't want a form that can edit and create nodes....I just want a page that displays the contents of a database.
How do i do this?
It seems virtually impossible given the lack of information in the 4.6 module_hooks API.

If anyone knows how to do this, your information would be most appreciated.

Cheers,
David

USERplus php5 array_merge

I have a problem with the userplus module. i am using php5 and this version does not suport the array_merge function like php4 did.
Can some one help me with the changes i have to make to this module.
The problem is located at row 329 and 374 of the code of userplus.module.

else

I use this module, to delete/edit user from drupal userlist. I can do this by hand, but when you have over 400 users....
Are there other modules that can do the same thing, and do support php5?

Please help me with e-commerce module for Drupal v.4.6

Please help me with e-commerce module for Drupal v.4.6

I decided to try Drupal v4.6.1 because it has e-commerce module.

I enabled the following modules in administration part to try store:
address, cart, parcel, product, store.

But when I try to create products going here http://127.0.0.1/shop/?q=node/add/product I see blank page only.

Syndication Block/Module Update

I am looking to gather feedback or find others to help in updating the current Syndication block in drupal to be more robust then the current offer..

What I would like to see is a Settings Function to Syndication that allows you to:

1) Description field to the xml feed uses the mission statement.. which should be spelled out as if it is not added your xml feed is not valid and some of the RSS submission sites will not take your feed due to this. If there was a syndication settings that would link to this or let you use some other text then the mission that would be great.

2) the ability to add other links to quicky add to some of the more popular web based RSS readers with the correct badges. This should have some of them loaded but then also allow the admin to add the correct link, for example for yahoo.. (http://add.my.yahoo.com/rss?url=) and the correct image.

My yahoo (http://add.my.yahoo.com/rss?url=FEEDURL)
ROJO (http://www.rojo.com/add-subscription?resource= FEEDURL)
NewsGator (http://www.newsgator.com/ngs/subscriber/subext.aspx?url= FEEDURL)
Bloglines (http://www.bloglines.com/sub/FEEDURL')
eNewsBlog (http://enewsblog.com/addfeed.php?FEEDURL)
Technorati (http://technorati.com/faves?add=FEEDURL)
My MSN (http://my.msn.com/addtomymsn.armx?id=rss&ut= FEEDURL&ru=SITEURL)

3) Option to replace the current feed URL with a Feedburner URL or some other service that provides blog statistics... OR the other option would be build into Drupal the ability to provide better stats based on nodes viewed from a Feed..

Having a problem when building and outputting a custom form.

Hi all,

I'm building a module for a website I'm working on and I would like to have a form that contains various input fields but also one information field. Here is a snippit of code:

function howdoi_genform($list)
{
        for ( $i=0 ; $i < 10 ; $i++ )
        {
                $userfriendlyi = $i + 1;
                $form["question$i"] = array('#type' => 'textfield', '#required' => FALSE, '#default_value' => $list[$i][question], '#size' => 30, '#maxlength' => 30);
                $form["url$i"] = array('#type' => 'textfield', '#required' => FALSE, '#default_value' => $list[$i][url], '#size' => 50, '#maxlength' => 50);
                $form["total$i"] = array('#type' => 'value', '#value' => $list[$i][total]);
                $form["clear$i"] = array('#type' => 'checkbox', '#default_value' => 0);
                $form["id$i"] = array('#type' => 'hidden', '#value' => $list[$i][id]);
        }
        $form['submit'] = array('#type' => 'submit', '#value' => t('Save'));

  return $form;
}

Basically I'm trying to build a form with 10 sets of information. This works great except for the total for each set. It seems to be set correctly in the form because I can see the correct value for total when I use var_dump on the form. My problem comes when I try to theme the form:

<?php
function theme_howdoi_edit($form)
{

$output = '

';

Question URL Hits Total Clear Total?

Press Kit Tools (Advice Requested)

Looking for guidance on new module for digital management of Press Kit assets. I've posted the details in the Media and Document Manager forum. Here is the link:

http://drupal.org/node/63051

Have a look and comment there. Feel free to email me via the contact form if needed.

Thanks,

Doug

Pages

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