module
How to handle heavy calculations in the background in Drupal
Say you have a data warehouse or data mart in your Drupal installation and you have to make a quite heavy calculation on a node save, but you don't want the users to wait for too long. Then you have to add the process to the background.
One way of doing it is to set a flag and have a function called by hook_cron doing the job. But you might not want to wait for cron to run and you don't want to hammer the site with cron.
Day planner block
This module creates a block with a day and hour calculator. It's not that generic, I have created it to match another project management tool I'm developing so the code contains some if module exists conditions but still can be useful if you need to calculate how many days there are between two dates or from one date if you add a certain amount of hours, and you don't want to calculate with Saturday and Sunday, so only working days will be counted.
Add WYSIWYG editor in your textarea in your module
This is how you can add a WYSIWYG editor like FCKeditor in a textarea from your module. You have installed your WYSIWYG module and FCKeditor and configure them as in the readme file. You have your module with your content type.
Top seo modules for your drupal website
Some modules to consider when planning for a SEO friendly site and actively work with your content based on Surgeboom's article and own experiences.
Install Drupal modules with Linux commands
How to download and extract a drupal module on Linux
wget http://ftp.drupal.org/files/projects/phpmailer-6.x-2.1.tar.gz
gunzip phpmailer-6.x-2.1.tar.gz
tar -xvf phpmailer-6.x-2.1.tar
rm phpmailer-6.x-2.1.tar
Drupal module order
List your sites activated modules.
SELECT `name` , `status` , `weight` FROM `system` WHERE `type` = 'module' AND `status` =1 ORDER BY weight ASC LIMIT 0 , 200
Compare your sites activated modules with an other sites modules list in the same database.
Module override another module
Here is the code that makes your module able to override other modules. Drupal uses a modules weight, stored in systems table when loading modules. The higher weight the later your module is loaded. You can use this if form_alter on an other modules form doesn't work and things like that.
Contact modules
Contact Form On Node
Kräver att avsändare är inloggad och fyller i mottagare och avsändare, vilket inte går att ändra. Kan styras per nodetyp och länk eller formulär i teaser eller fullview.
Advanced Contact
Inte så advanced,
Author Contact
Skapar ett block som sedan får styras via block-kontrollen
verkar vara ett och samma formulär
Contact Forms
Creates individual contact pages from contact form categories.
Men kan inte fylla på mer text innan eller kring formuläret.
praktiskt vid personkontakt.
Webform
Enables the creation of forms and questionnaires.