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

returning a list of nodes from a particular user

I'm trying to get a link to redirect automatically to the "track" portion of a user's profile. Here's the code I've got so far. It generates a link in every forum message which reads 'View other posts from this user'. What I can't figure out is to get the link to point to the list of nodes which the tracker module creates for each user; instead it just takes me to the user's profile.

Also, how would I get this to appear on other user generated node types (i.e,. blog posts, etc)?

Cannot see Gallery image block unless logged in

I've just installed Gallery module. Everything works correctly and I was able to setup Gallery image block. However, I can only see the Gallery image block when I logged in. Without logging in, block is not displayed. All other blocks are working fine except for this issue with the Gallery block. I've check my block configuration and configure it to display to everyone. Have been browsing around a while, but still haven't been able to find anything out. It's probably just some configuration settings that I miss. Any help is really appreciated.

Create single categories with mutiple listings in review module

I really need help to get this done. Here is the link to how it is now but not how I need it.

www.imaginetdesigns.com/drupal/review

I need it to look like this:

Category Title Rating

Films Superman ***
Mission Imp. *****

Eats & Drinks Tahoe Joes *****
China to go *****

One category with multi. listings

How to create a release of DRUPAL_4_7 for a module?

I just made a module at http://drupal.org/project/moderation_log

AFAIU, the next thing is to make a release for this module. However, when I click "Add new release", I get only the HEAD as a CVS identifier suggestion while my module in the DRUPAL_4_7 branch in CVS.

What to do?

Flash module for Drupal 5

A while back I wrote a module for Drupal to make it (very) easy to upload Flash content to a site. I've finally gotten round to upgrading it for Drupal 5. I've put a download on my site if you'd like to try it.

hook_user: How to manipulate the user object during user updates?

Hello,
I use hook_user in my module ("roles_by_profile") to modify account data when a user account gets updated:

function role_by_profile_user($op, &$edit, &$account, $category = NULL)
{
	if ($op == 'update')
	{
		...
	}
}

Within the ($op == 'update') condition I modify the $account object. However, these modifications are not saved to the database, although they should be – after all, $account is passed as a reference. What exactly is the problem here?

Pages

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