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

Image Gallery - Front Page Wonky with 3 galleries

OK so the page is here http://happydyke.com/image

For some reason, the first gallery has a huge section while the following two galleries are pretty much the correct size, or what I consider to be the correct size. How can I scrunch up the family gallery to look more like the landscape and pets galleries?

Javascript Navigation Menu

Hi, is there any javascript module that makes Navigation or other sidebar menu more dynamic

Display a block in content template (contemplate)

I would like to display a block (in this case "similar entries") inside the contemplate body. Is php to do this or a relevant forum topic to look at?

hook_form_alter with upload.module

Hello,

I'm trying to overwrite the upload.module default form settings in a custom content type module. I don't want the 'attachments fieldset' to be collapsed when creating a new node of my content type.

So I have:

function mynode_form_alter( $form_id, &$form) {

        $form['attachments']['#collapsed'] = FALSE;
        $form['attachments']['#collapsible'] = FALSE;
      
}

Offcourse there should be some more form_id and type checking but I'll add these later.

H3 Header / CSS Divider with CCK

Is it possible to add an H3 headline before something such as a group of CCK fields and to add a divider line with CSS to the bottom of the group of fields? I am fairly new to Drupal, so any help would be appreciated.

Heres a link to a screenshot for reference. http://img72.imageshack.us/img72/6469/screenshot002pz3.png

create node permissions

I have added some code to the user_access function that queries the database. This additional functionality is provided in a function that essentially replaces $user->roles with a function that returns roles based upon group context.

When someone creates a new node, say create->page, what functions are used to check create permissions?

I know user_access is checked, and I'm returning the correct values. But, what else is checked? Thanks.

Pages

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