This forum is for module development and code related questions, not general module support. For general support, use the Post installation forum.

Creating an organic group or other node programatically

I am building an application that needs many of the features of organic groups, but needs a simpler interface for creating them (it's a sort of "private club" type of application). To do this, I will need to create a node of type 'og' programatically, using data from an external database.

I know that I can create an object that "looks like" an og node, and pass it to og_insert. But this strikes me as pretty fragile (hell, it's a low level hack), and I'm wondering if there has to be a better way.

forum.module

Hi!

I'm new to drupal, and I'm having BIG troubles the the forum... That's because I NEED to limit acces to some forum categories and there is NO way I can do it... I've tried taxonomy access... Nothing...

Anyone cané help out a newbie?...

I've researched drupal.org and no help yet..

Any help would be appreciated! :)

I reaaly loved the look and feel of drupal, but if there is no way of getting this right... I guess I will have to go with Xoops...

And... really... that one way I wouldn't like to go...

How to retrieve form values?

Completely new to Drupal and module development. I am trying to make a modification to the "Amazon Tools" module to allow me to choose which items go in the recommended list. I have added a new column to the database and I can load it into a new $node->Recommended variable. I added a new checkbox called "Recommended" to the amazon-node editing form and properly set its initial state from $node->Recommended. Now...for the life of me I can't figure out how to retrieve the value of my new checkbox from the form and store it back to the database.

Book module does not show author info or date anymore?

Hi,

I'm running drupal 4.6.2 and my drupal site heavily relies on the book module, however it doesn't seem to display the author name or date on the book nodes as it did when I ran 4.5. Is this a bug or just a downgraded feature of the module for 4.6? Or have I done something wrong and switched that setting off somewhere?

Open to all advice.

Thanks alot.

F.Q.

all online users list

I want to create a link so that i can list "online users" in a page like users list (http://drupal.org/profile)

how can i do this?

blogapi makes my site fail xhtml validation!

the following line:

<smile type="text/css" media="all">@import "misc/drupal.css";<link rel="EditURI" type="application/rsd+xml" title="RSD" href="http://varnelis.net/blogapi/rsd">

which appears to be created by blogapi makes my site fail xhtml validation. what can I (or drupal developers) do about it?

obviously, in the line of code above, smile is really style, but the forum won't let me input style, even with the code tags around it!

Pages

Subscribe with RSS Subscribe to RSS - Module development and code questions