What is this module suposed to do?

How do you use it? I've followed the instruction and the only thing that happend is a Hooks folder and hooks files were added to the system.

How do you actually create a module?

thanks

Comments

joachim’s picture

Status: Active » Fixed

Go to admin/modules/module_builder to create modules.

chaloum’s picture

Joachim

I have and all there is a link to permissions and if I go to Administration » Configuration » Development

I see:
path the hook directory
Path to write module files
module header with this in it
/**
* @file
*
*/

Module footer
Beginner and advanced radio buttons
and a save configuration.

What do I do? is this it?

The documentation mainly talks about Drush. is there any documentation on how to use this module?

thanks

joachim’s picture

No, admin/modules/module_builder, not admin/modules

If those are both the same, clear your caches.

chaloum’s picture

Nope as I said,

The location You are pointing to only has permissions and under configuration is:

path the hook directory
Path to write module files
module header with this in it
/**
* @file
*
*/

Module footer
Beginner and advanced radio buttons
and a save configuration.

joachim’s picture

Are you telling me that admin/modules/module_builder shows you the same as admin/modules?

Have you cleared your caches?

chaloum’s picture

Admin/module only shows permissions
admin/modules/module_builder shows

path the hook directory
Path to write module files
module header with this in it
/**
* @file
*
*/

Module footer
Beginner and advanced radio buttons
and a save configuration

yes I've cleared the cache several times.

joachim’s picture

No, you're at the wrong place.

What you're looking at is at admin/config/development/module_builder.

Try again.

aaronott’s picture

chaloum

By the version you opened this under, I'm going to assume that you are using Drupal7 (please let me know if I'm mistaken).

This module is a good module and very helpful in that it builds out a skeleton of a module for you. There are two main ways to use this module, either through the web interface or through drush. If you are looking at using the web interface do the following:

Login as admin
Click on Modules in the admin bar
There should be a tab at the top now called 'Module Builder' (if not please make sure the module has been enabled by scrolling down)
Click on the Module Builder tab and start playing around with some of the different options.
Click the 'Generate' button at the bottom and the code will appear in a text area box for you to copy and paste into a module file, info file and others.

If you are looking at using drush I would highly suggest you read through the help docs for module builder drush help mb. The benefit of using drush is that Module Builder actually builds all the files for you (no need to copy and paste them).

Please let me know if there are further questions.

gomez_in_the_south’s picture

I was looking all over the link too, and couldn't find it.

Turns out I had to clear my cache first, before that tab appeared in the location given (D7). Perhaps this could be added to the readme.txt.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

chaloum’s picture

still not working for me

joachim’s picture

Status: Closed (fixed) » Postponed (maintainer needs more info)

Last I saw you were still not looking at the right path.

chaloum’s picture

no I'm looking at the correct path

joachim’s picture

StatusFileSize
new135.13 KB
new138.5 KB

No, you're really not.

Look:

Module builder - settings page.png

Modules - building.png

joachim’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)
chaloum’s picture

I've given up on this module. it doesn't work

joachim’s picture

It works perfectly for me and a load of other people; either there is something wrong with your setup, or, as I pointed out to you, you are looking in the wrong place.