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

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

Basecamp Integration

Anyone explored using the new Basecamp API to integrate Drupal with Basecamp?

I'd love to see this happen. I think there would be a lot of interest in this and I'm sure that bounty would be offered for this. However that's jumping ahead of things a bit. Not even sure how feasible it is and whether it would be really workable.

I'd rather see drupal offer some basecampesque functionality, which it is close to in some areas and far from in others.

Any thoughts on this?

can't create more than 2 path in module

I'm trying to write my own module and I have problem because I can't create more than two path for this module

function koszyk_menu($may_cache) {


  if ($may_cache) {
       $items = array();
     $items[] = array('path' => 'koszyk',
                      'title' => t('Zawartosc koszyka'),
                      'callback' => 'koszyk',
                      'access' => user_access('kupowanie'),
                      'type' => MENU_CALLBACK);
     $items[] = array('path' => 'koszyk/dodaj',
                      'title' => t('Dodaj do koszyka'),
                      'callback' => 'koszyk_dodaj',
                      'access' => user_access('kupowanie'),
                      'type' => MENU_CALLBACK);
     $items[] = array('path' => 'zamowienie',
                      'title' => t('Adres dostawy'),
                      'callback' => 'koszyk_zamowienie',
                      'access' => user_access('kupowanie'),
                      'type' => MENU_CALLBACK);
     $items[] = array('path' => 'zamowienie/koniec',
                      'title' => t('Adres dostawy'),
                      'callback' => 'koszyk_zamowienie_koniec',
                      'access' => user_access('kupowanie'),
                      'type' => MENU_CALLBACK);
  }

  return $items;
}


function koszyk_zamowienie() {

$output = "1234";
print theme('page', $output);

Dynamic dropdowns

Hi there,

I'm trying to implement two dropdowns in a node form. One is filled with country names, the other with cities. I like to accomplish the following situation: when the country is selected the city dropdown updates with a list of cities belonging to that country.
I'm using drupal 4.7, but can't find anything in the new formapi-reference. I think i'll have to solve it with the #attributes and some onChange action. But i don't know where to start.

I hope somebody can give me some advise on how to accomplish this situation.

Big Thanx In Advance,

Pages

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