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

Cannot use object of type stdClass as array in dba Module

Hi All

I am a drupal newbie learning fast, and am also new to MySql, having previously used Oracle. I have installed the dba module to help with looking after the database but when I click 'view' or 'check' to show the rows in a table I get the following error:

Fatal error: Cannot use object of type stdClass as array in D:\www\drupal\includes\theme.inc on line 652

For 'view', this only happens when there is content in the rows. If a table has 0 rows a page is returned

I have tried different themes but this has no effect

customize fields in rss feed

I am developing module that uses nodeapi to add two additional fields to nodes. How can i include these two new fields in the rss feed for the node?

Thanks

Embed video script in Drupal?

I have know idea how to do this, but was checking out this script, http://cit.ucsf.edu/embedmedia/step1.php and thought it could be something cool to include in Drupal. Could be a good interface to help users display media.

Defining Multiple Node Types

I'm developing a module on top of the organic groups module which already defines the 'og' node type. I want three more node types: og-pages, og-news and og-events. I was using flexinode for these at first, but I need to have a 'ranking order' field for each node type which I can easily access in a page block so as to order the node listings their accordingly... flexinode doesn't seem to make such things easy. There are also a few other things lacking about flexinode, so I thought I'd define the nodes myself.

Math Symbol Support like Wikipedia ?

I really like the way of inputting math symbols used in www.wikipeida.org (or in their Mediawiki). Is there any way to port that kind of math inputting filter into Drupal? Thanks a lot!

How to add tabs to a new node edit page??

Hi, I have a new module that's a node, and i want to add tabs to node create/edit b/c the node captures a lot of data. Since it's a node, it uses hook_form(), but i can't see how to add tabs to my hook_form() code. Is there a way i can add tabs to the myNode/add? I tried using hook_menu() and added tabs and callbacks, but that didn't work; each tab simply has the contents to hood_form() no matter what i put in the callback.

Any advice??

Thanks,
m

Pages

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