Simple Drupal Question...

Given $node->type is it possible to programatically find the module name?

For example, from $node I can find the type - say 'storylink'. The module that defines this type is 'vote_storylink()'.

Is it possible to find this association programatically?

Thanks!

Converting Book type to Story type

I'm upgrading a site from 4.7.x to 5.x. I want to convert to book type nodes to story type, How I can do that?
---
Sharique

how to display INLINE buddylist's pictures in profil ??

excuse my language, i'm french.
I put buddylist pictures in my membres 's profils.
To display inline these pictures, i made a css.
But it's not very good..

Do you have another solution ???

CSS of the table :
.buddy img{
float:left;
display:inline;

Php code to show pictures :

Previewing content just reloads form instead of previewing

The subject line pretty much sums it up. I've got a Drupal site that I've been working on for some time up and running, and everything seems good, except that when creating or editing content (of any type), when you click "Preview", it just reloads the existing create or edit form (with all its contents still intact, thankfully) instead of previewing the page.

Can't upload attachments

Hi all,

I have a new problem, which doesn't seem to be related to anything that was done on the site. It used to work fine, and now suddenly does not.

We are using version 4.7.6 and can't upload an attachment at all - when I browse to a document and then click "attach", the gray bar just goes and goes forever. It never gives an error message, and it never finishes. My file does not appear in the /files/ folder, nor /files/tmp/ (in fact, I just manually created /files/tmp/ on the server since it was not already there and I thought that might have been part of the problem).

Pages

Subscribe with RSS Subscribe to RSS - Drupal 4.7.x