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

Drupal 5.1 commands

i have a site that I am been working in that is developed in 4.6. I inherited the site and have learned enough to create content, blocks etc. I learned the commands for bold, underline, italics etc. and am fairly proficient at using them now.

I tried my hand at creating a new site using 5.1 but none of the formatting commands that I have been using with the prior version do not appear to work. Is there a new formatting guide to follow?

Thanks to Views, VotingAPI, and Fivestar Developers

The latest version of Views, VotingAPI, and Fivestar modules are great. Thank you to the developers working on those modules. I setup a lovely Top 10 list showing Vote Count and the Average Rating in a matter of minutes.

Thanks!
Robin

Persistent login returns undefined index error and cannot login to system

Hello All -

We are receiving an error when trying to log into our site" Notice: Undefined index: PERSISTENT_LOGIN". I have not figured out how to bypass this error and login to the site to turn the offending module off.

Below is the full error message.

Any recommendations or solutions would be appreciated. Also, we are willing to pay for someone to solve this as soon as possible.

Thanks, Joe

Notice: Undefined index: PERSISTENT_LOGIN__ in /home/theking/drupal-5.1/sites/all/modules/mysite/persistent_login/persistent_login.module on line 259

Notice: Undefined index: persistent_login_login in /home/theking/drupal-5.1/sites/all/modules/mysite/persistent_login/persistent_login.module on line 366

Warning: Cannot modify header information - headers already sent by (output started at /home/theking/drupal-5.1/sites/all/modules/mysite/persistent_login/persistent_login.module:259) in /home/theking/drupal-5.1/includes/bootstrap.inc on line 522

Warning: Cannot modify header information - headers already sent by (output started at /home/theking/drupal-5.1/sites/all/modules/mysite/persistent_login/persistent_login.module:259) in /home/theking/drupal-5.1/includes/bootstrap.inc on line 523

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.

Pages

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