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: Core and module patches for SEO

Drupal aggregator module shows a lot of 'bare' links on the feel items page, we assume that there may be chance of Google PageRank value leakage if it exists. So we update all the related <a> tags with the attribute "rel='nofollow'" to those corresponding functions in the related files of Drupal 5.1. The files are here below:

/includes/theme.inc
/modules/aggregator/aggregator.module

We have created a blog post named "Drupal 5.1: Core and module patches for SEO" to hold the .diff at this URL:

GPL'd Flash Player and new module

I want to bring to the attention of other developers who work with Macromedia Flash. I am creating a new module called SWF Tools. I hope this to become a generic API for all things Flash.
http://drupal.org/project/swftools

The reason I'm posting today is: I have just secured mirroring rights to a couple of tools.

How to access content field?

I am writing a module that needs to check whether a value exsits in the fields (i.e. name).

I tried to use if ($node->field_facilitator[0] == '') where facilitator is the field name, but I has not been successful in this approach.

JavaScript onSubmit causes troubles with my_modele_submit() function

Hi,

I'm new to Drupal and I am developing my first module. In the module I've created a admin form witch is validated by JavaScript. But doing a validation by an 'onSubmit' causes the regular my_modele_submit() function not to work at all. Can anybody tell me how to solve this?

Hacking User Module to check date-expires on login....

I am creating subscription based site using drupal 5.0. The administrator registers each user and grants them access to the site for a period of time (1 year).

I modified the user module by adding a date-expires column to users table. I have made the appropriate changes to admin create/edit forms so the data is stored in the db.

I modified function user_load to check date-expires, if date expires < system date, the date is valid, if not the $user = False. It works correctly.

Javascript and drupal

Hello,

I have a problem, I developed a my module and I have inserted it in
drupal system. Inside of drupal module I would like to insert
the Javascript code in order to open an external file like a popup.

help me, how to make?

thanks
ro

Pages

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