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

How do I add Page Titles to nodes?

I want to add a custom page title to nodes - is there a module for that?

Gallery 2.1 module problem

I just upgraded my Gallery from 2.0 to 2.1. It works fine, but the Drupal Gallery module (gallery-4.6.0.tar.gz) does not. It returns an error message:

Fatal error: Call to a member function getErrorCode() on a non-object in /home/www/zoozem/public_html/modules/gallery/gallery.module on line 321

How can I fix it?

getting form variables

I've been struggling with this for the whole evening with no success :/
Briefly what I want to do in the bigger picture: I'm creating a module allowing users to search through some data. By default, it shows all data, but there's also a form that enables them to narrow the results. The form function is named hotFriendly_view_form.

The problem: after the user submits the form, $_POST array is empty if I call that form generating function (hotFriendly_view_form() ).

adding a site-wide rss feed...

I've cobbled together a site-wide RSS feed, adding it to summary.module. Seems to work except I get a "warning: Cannot modify header information - headers already sent by" message before the RSS feed. Any thoughts?

All I did was modify summary.module to add an item in summary_menu():

	$items[] = array ('path' => 'summary/feed', 'title' => t('summary feed'), 'access' => TRUE, 'callback' => 'summary_feed', 'type' => MENU_CALLBACK);

and then added this function:

How to change text in breadcrumb?

The problem is the following:

I have menu item named "parent [12]" and its son "son [32]".
Numbers in brackets are number of nodes in these terms.

So, I get breadcrumb "Home -> parent [12] -> son [32]".
Is it possible to change that to "Home -> parent -> son"?

Replacement for array2object..

Hi I'm working on to get the module called: "User badges" to work on Drupal 4.7 beta-6 and I struck onto an error..
Unlucky me the search engine has gone dead here on drupal.org so I can't search due to an upgrade of the site..

The line that's giving me a problem is this:

$edit = array2object($edit);

Here's what I've found about array2object.. It's used in Drupal 4.6 API and lies under common.inc and it does this: Convert an associative array to an anonymous object.

Pages

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