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

Temporarily blocking edit

How can I temporarily block editing of a certain node?

Where should I modify to change the layout of the login block? Currently looking into user.module

Hi,

I just started to use Drupal about a week ago and quite new with the API. I am trying to move the login block to the top part of a page. At the same time, i want to change the login block so the textfields are next to each other (like below so the login block looks like a bar) and the remaining items - 'register' and 'request password' below the textfields.

       +-------+                +-------+     +------+
user:  |       |    password:   |       |     | Login|
       +-------+                +-------+     +------+

I have manged to change the location of the block by modifiying an existing theme. I added this code below to whereever i wan the block to be displayed.

        $block = module_invoke('user', 'block', 'view', 4);    		
	print $block['content'];

So, right now i am stuck in changing the layout of the textfields so that they are next to each other. For now, I have editted user.module and added a new $delta value of 4 so the code above would work. But i am not sure what to do next. Is there a file where that i can edit to change the layout of textfields?

e-commerce custom product module

I am tying to set up e-commerce to sell PC's and laptops with options to customize them ie ram, hard drive, cpu etc. Looks like I can use the custom product module that is supposed to come with e-commerce/modules/contrib. I just can't seem to find it???
This (http://drupal.org/node/52743) article refers to it but it isn't in contrib folder.

Newbie help needed to see images with img_assist, rather than code

Sorry to ask, but I have looked around and experimented. I am using the image.mod and img_assist.mod, which seems perfect for what I want it to do.

HOWEVER, when I preview, all I see is squareblocked coding. What am I doing wrong to not see the image instead?

Mucho appreciation in advance,

Stephen

Need a very easy Forum / Message Board, but am Noob

Hi all,

As a group of friends we used a message board that came with an online game (soccer competition), but now we would like to have our own site with the same functionality.

It is something very simple and easy: It is basically a forum with a single thread which is directly displayed on the front page. It should only be visible and editable for logged-in users.

I have tried some things with the forum module and several other modules and I have searched the forum, but I am afraid I cannot find it.

Does anybody have an idea how to set this up?

Books as workshops, credit system

On my site, I'm using books as online courses. Now I want to add a credit system, i.e. users have credits according to their activity on the site. When they want to advance to a new course unit, a certain amount of credits is automatically subtracted from their account balance. If they don't have enough credits, they're told how much credits they need instead of seeing the course unit.

Pages

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