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

roundcubemail (rcmail) module support for 4.7

Hello,

I went looking on the site for information on this module. I have it working on 4.6 but was unable to get it working in 4.7. Has anyone been able to do this OR is an update for rcmail available on 4.7 (or soon)?

Thanks,

Matt

upgrade 4.6 user_view module to 4.7

Hello,

I've looked at the 4.6-4.7 module upgrade docs at http://drupal.org/node/22218 but didn't find anything useful on this. I have a module that used to add some custom data to the end of user profiles.

define (MARLBORO_PROFILES_LIST_TITLE, 'Marlboro Profile');
define (MARLBORO_PROFILES_RECENT_ITEMS_NUM, 10);

function marlboro_profiles_user ($op, &$edit, &$user, &$category = NULL) {
        switch ($op) {
                case 'view':
                        return marlboro_profiles_user_view ($user);
                        break;
        }
}

function marlboro_profiles_user_view(&$user) {
        $attrs = array('displayname' => 'full name', 'mail' => 'email address', 'edumarlborostatus' => 'status', 'edumarlboroclass' => 'class standing',
                        'telephonenumber' => 'phone', 'edumarlborocampusbox' => 'box'
                        );
        $ret[MARLBORO_PROFILES_LIST_TITLE] = theme ('marlboro_profiles_attribute', $attrs, $user);
        return $ret;
}

If I replace the last two lines of ..._user_view with a "print (theme(...))" call, all the data is printed correctly, but at the top of the page, so I know the data is being retrieved. I'm getting this error in the logs

Invalid argument supplied for foreach() in /var/www/drupal-4.7.0/modules/user.module on line 1453.

I just can't figure out what structure user.module is expecting for the data. I hardly understand the Drupal API, I'm just hacking together this and that, so my debugging skills are limited.

Image module?

I just installed Drupal 4.7 and it looks great, but I can't figure out how to upload images. It looks like the image module that worked with 4.6 didn't make it to 4.7. Was it replaced with something else? Looked, but couldn't find anything similar. Sorry if I just missed something. Thanks.

Smiles to FCKeditor

How i can add new smiles to FCKeditor?

A bit of extensive mod-theme help

I want to get multiple sites running on one Drupal installation, to get communities that are each bent towards a different aspect of the online community. To achieve this, I need to do a little tricking around with the way themes work.

Renaming nodes created by a module

This is a stupid question, I know, but... How do you rename a node that was created by a module? I'm using Acidfree albums, and I want to get rid of the name Acidfree that keeps popping up everywhere.

Thanks, and sorry if this question is really dumb. I know I have to edit the acidfree.module, I just don't know where.

Pages

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