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

Add onClick attribute to login form textfield?

Hello,

I'm trying to add onClick and onBlur attributes to my Login form input textfields. I have no idea how to achieve this but I found '#attributes' => array( shown in the below code. It's probably not the way to do it and I'd really appreciate some help!

Thanks.

CCK fields or module's own fields?

I took a different approach on a drupal site I am building than what I am used to and I want to know what you guys think.

While CCK is great, because gives a lot of flexibility to add or remove node information sometimes modules need to work with that data in specific ways. Automatically assign values to a field, obtain data from a field, perform complex validations, or use data for other things rather than displaying/storing. This is were old style node content type development comes handy.

Now with this said and after reading http://drupal.org/node/105808 I totally agree that CCK should be the starting point for any node type. Now what with the fields that are related to some other module?

I can think of two possibilities, either a "value add" (as it's explained on the previous article I mentioned) that add the fields to any existing content type, take care of the validation, store it on the module's own tables and have whatever logic the module provides

or (which is something I am trying right now)

Create all the fields with CCK, and let the module knows which specific CCK content type should that module use for its extended logic and what fields of the CCK content type are to be mapped to the fields the module expect the content type to have.

With this I can think of the following pros and cons of each possibility and like to hear other opinions:

Google API - gdata module - SoC 2006 project

hi ppl,

As you may be aware, google's api is this gdata

Whilst going through the module section, I stumbled across a 2006 SoC project - soc-gdata

The development doesn't appear to have finished. I haven't looked at how far the development actually got. I'm not in a position to view nor make an informed judgement.

Both drupal development (themes & modules) and google's gdata api have interested me for some time.

Discography

Hi,

I'm going to be creating a Drupal site that requires the use of a Discography. I noticed there's a module in existence, but that it doesn't support Drupal 5.

I have two questions really: 1) would someone with a basic grasp of Drupal's workings and PHP (but who's a developer by trade, just not a PHP one) be able to migrate a 4.7 module to 5? And 2) Is there some other way to produce a discography page in Drupal (perhaps using Views and a custom content type).

Thanks for any advice or help.

Dan.

Imagemenu doesn't display

I just got the latest version of this module, uploaded it and enabled it in Drupal.
Then I added a menu and a menu item, referring to "files/welcome.gif" and the "" path.

I went to my blocks administration and added the Imagemenu block to the header block, but it doesn't seem to display...
I looked at the user settings, but there's nothing there to set for this Imagemenu to be displayed... What am I not seeing?

How do i re-direct drupal to a new site?

Hi All,

Can someone please advice me on how to redirect drupal site to another site. E.g: from www.example.com to https://paysite.com.

I will also like to Post some parameters to the site that I am re-directing to. E.g. I am trying to customise e-commerce module to use a specific payment gateway module. I need to pass Mechant-ID, total-amount, etc.

Pages

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