Help With hook_nodeapi

I have a node type that I built with CCK, it has a FileUpload field for uploading txt and csv files. I am writing a module (my very first) that intends (among others) to insert the contents of the uploaded text/csv file into the database, so I implemented hook_nodeapi thus :

Add fields to taxonomy terms

How do I add additional text fields to taxonomy terms?

Is there any modules? Or how do I go about building my own?

Problem when I upgraded 6.19 t0 6.20

I was trying to updated drupal6.19 to 6.20 but it won't update. I use the custom theme that I bough. I used to update drupal 6.16 to 6.19 and it was working.

I'm not sure what the exactly problem. But my website has something wired. It has a duplicated drupal folder. The path is

drupal-6.19/sites/all/modules/drupal6.19

Lightbox2

Dear all!

I've installed Lightbox2 and use image module to create image gallery. It works fine with authenticated users. But Lightbox is not shown with anonymous user and images open as usual nodes. I dont find any options in the permissions page.

Please advise.

Using the php include statement

I've just clued into the fact that I can include files in the page.tpl.php file. Just wondering, before my file becomes festooned with include statements, if this is generally a good idea. It certainly saves me a lot of time and effort to construct, for example, a table in Dreamweaver and style it exactly the way I want it, and then include the whole thing into the page.tpl.php file using the php include statement.

Thanks for any help

Printing CCK image field in custom node template?

Afternoon folks,

I'm experimenting in an area of theming I'm very unfamiliar with and seem to of ran into a small issue. I'm attempting to print an image field into a custom node template. The template itself is functioning perfectly. After entering print_r($node) I have access to a lot of code which I keep referring to in the hope I'll strike it lucky and be able to print the image, however I'm struggling.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 6.x