how to add php member methods to own node type (own class)

Hi,

i have an own node type holding some data. For reasons of clean code i want to implement a class representing this node type. in this class i want to implement private and public methods.

How can i do this ?

the node_load hook only produces an object with some additional data of my node type. Do i have simply create a class and have to load the set the right member variables in node_load hook ? and then use my class via phpdoc ?

Give me some hints please ;)

T function and hook_block in Drupal 6

I am using hook_block in Drupal 6 for most of the display of my module. However, I can't seem to get the t function to work. Is there something special I need to do to get translations from a linguist displayed in hook_block?

Bug report for Date and/or views module or maybe Drupal?

Hello,

I am having a new and very strange problem on my drupal site related to the date and/or views modules or perhaps drupal itself and I wonder if a recent update might have introduced a bug because nothing changed on my end.

I have a drupal 6 installation customized to act as an employee training database among other things.

Employees have accounts on the website and user profiles, user profiles contain training completion dates (using the dates module).

There is also a "position" node type that make reference to the employee's user profile.

Rule for site off-line

Hello everyone, how can I create a rule that tells me if my website is off-line?
Thank You

Missing Content in Drupal Installation.

Hello,

I recently had to take over a messy drupal 6 site form an admin who jumped ship.
So my job at the the moment is a transitional administration.
I do have a background in coding but i never worked with drupal before, so please excuse any stupid questions.

I had to install a bunch of omitted security- and other updates and I recently got a message from the client that the "news" item is missing from the site's menu.
also www.ourdomain.com/news produces an error ( not found ).

content migrate

Hello everyone, I effettuaton migrate from one site to one in D6 in D7. Obviously the migration is done by making a copy of the site locally and working on that.
Now I find myself with the site locally, in D7, with different content than that in D6 which remained in production, esmpio forum posts increased.
I wonder, is there a way to synchronize the contents of two sites and migrate content from that in D6 that in D7?
Thank you all.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 6.x