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

how http://www.mailfriends.com/og embed the forum into a group?

hi guys,

since some days i try to embed the forum / latest forum entries from og_forum into my group homepage.

i think http://www.mailfriends.com/og got it

how to embed the og_forum into the group?

i already have a snipped to get the forum id from a group.

greets

Lausch

Disabling form element with active select

Hi all,
As described in this page : http://groups.drupal.org/node/3932, I'm using the active select module in order to create dynamic forms.
I want to enable or disable form elements on select events.

the php array I return in my active select callback function is as follows:

<?php
$my_php_array =  array(
    'bar-2' => array(
        'options' => array(
            'opt-val-3' => array(
            'value' => 'opt-text-3',
            'selected' => TRUE
            )
        ),
        'multiple' => FALSE,
        'disabled' => FALSE
    ),
    'bar-3' => array(
        'options' => array(
            '' => array(
                'value' => 'Please choose...',
                'selected' => FALSE
            ),
            'opt-val-1' => array(
                'value' => 'opt-text-1'
            ),
            'opt-val-2' => array(
                'value' => 'opt-text-2',
                'selected' => FALSE
            ),
            'opt-val-3' => array(
                'value' => 'opt-text-3'
            ),
            'opt-val-4' => array(
                'value' => 'opt-text-4'
            )
        ),
        'multiple' => FALSE,
        'disabled' => TRUE
    ),
);

...

print drupal_to_js($my_php_array);
?>

Everything works excepted the #disabled property.

Custom developed modules are getting disabled on login

Hi,

I am facing serious issues with my custom developed modules getting disabled while working inside drupal. I got to enable the module again and click on "Save Configuration". I am using Drupal - 4.7.3.

It would be of gr8 help if u could let me know why this happens?

Thanks in advance.

Usernode: handy but needed?

I've been using usernodes for a long time now, as they easily integrate with Views, to create userlists.
But I have no need for any usernode content, I wanted to link usernode things directly to the user profile page, where all the profile data is stored and shown.

So I wanted to redirect a usernode directly to the user profile page, which seems to be extremely easy:

Form callback with anchor, using drupal_goto

Hi Everybody,

Sorry if it has already been discussed (just havent found similar topics using "search" on the site).

When using drupal_goto function with optional third argument "Fragment" in a form callback function (after pressing custom button), i get redirected back to the form but without any anchor. Here is a piece of code:

function image_attach_nodeapi(&$node, $op, $teaser, $page) {
//[skipped]
switch ($op) {

Displaying user images with links underneath in existing modules like forum, buddylist etc

I am pretty new to Drupal so I'm not sure how to solve this idea we have.

We want that pretty much all modules that display the user image, like forum, buddylist etc etc will display some links under the image with stuff like send message, view profile and more.

I'm just not sure how I can get existing modules to display the image with links underneath like that. Any hints would be greatly appreciated.

Pages

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