nodetracker

(Submitted Wed, 2006-10-04 00:01) | |

This is part three of a series. If you haven't already, you might be interested in reading previous articles.

In this tutorial, we are going to implement the hook_form_alter() function to test for duplicate entries based on a form field.

I'll be using the nodetracker content type that we built in previous tutorials for demonstration purposes, but the general method is applicable to any form or content type within Drupal.

(Submitted Mon, 2006-10-02 15:49) | |

I previously demonstrated how to build a personal nodetracker using CCK, Views, and the Views Bonus Pack.

But it's no fun to have to open up your website, log in, go into the create content section, and manually type in all the information every time you want to keep track of a Drupal.org node.

Well, with a bit of Javascript hackery and the prepopulate module, we are freed from such dreary tasks.

This can be used for any sort of node type. I'm using the node tracker here as a generic example.

(Submitted Wed, 2006-09-27 01:50) | |

I've received a number of emails since the launch of What Would Drupal Do regarding my personal nodetracker (see the righthand side of the screen, towards the bottom) [...]

Here is how it's done.

Syndicate content

Hosted By Dreamhost.com


Node Tracker

(#11811)
template.php: Overriding other theme functions
If you want to override a theme function not included in the basic list (block, box, comment, node, page), you need to tell PHPTemplate about it ...
[ | | ]

(#16383)
Making additional variables available to your templates
How to create additional variables in template.php
[ | | ]

(#5120)
Parse xml into sql insert statements
code (using PERL) to parse XML and programatically create nodes from the parsed data
[ | | ]

(#32597)
Need to create nodes from my module (programatically)
Programatically creating nodes, with examples
[ | | ]

(#17570)
Branches | drupal.org
How you maintain the CVS branches for your projects is very important, since that allows you to properly manage changes. It also determines what snapshot releases are available.
[ | ]

(#42562)
Tutorial 3: Creating new widgets with AJAX
How you build your own AJAX widgets will of course depend a lot on what you're wanting to do. But here are some basic steps to get you started.
[ | | ]

(#91709)
Added nodeapi('access') to node.module
This patch adds the operator 'access' to the hook_nodeapi hook. it is invoked after hook_access and allows a module to overwrite the hook_access result.
[ | | | ]

(#84961)
Add a "select all" toggle to forms with many checkboxes (eg: content management -> posts)
Some forms within drupal have dozens of checkboxes, each of which may have to be individually (de)selected. It would be really nice to have a javascript "checkall" toggle to make this easier. The main place I notice it myself, is when I want to delete lots of content from the content management -> posts screen.
[ | | ]

Did you know?

You don't need to register at WWDD to post comments.

Isn't it annoying when you want to comment on an article, but don't want to go through the hassle of creating yet-another-user account at yet-another-website?

Feel free to comment anonymously, or log in with your username@drupal.org account.

We won't mind a bit.