Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

PHP Drupal Basics Writing Modules Specialized Modules

my specials.module appears in My First Modules list but it does not show on my home page My code is the same as the vid

I've made sure it's in the correct folder. Did anyone else have this problem?

Saeed Mulla othman
Saeed Mulla othman
13,200 Points

Hello Mr.William did you put your folder (Specials) in /sites/all/module/ ? you can download the project files and and see where is the problem ..

have a nice day

I have the same problem. Do anyone know how to fix it?

3 Answers

Did you clear the cache? Did you disable and then re-enable the code?

If so, can you post the code?

Jaan Talvet
Jaan Talvet
4,950 Points

Make sure the names of your files, specials.info & specials.module, match the array name "files[] = specials.module". I'd forgotten the 's' and it took me a while to spot the mistake.

There must be something wrong with the version.. I am facing the same issue while using a more up to date version of drupal 7. Anyone find a fix yet?

I figured it out! The issue is that during the video the instructor adds quotes to values of the $items properties Example: 'type'=>'MENU_NORMAL_ITEM', should be 'type'=> MENU_NORMAL_ITEM (remove the single quotes around 'MENU_NORMAL_ITEM') . Go back to configurations > Development> performance> clear all cache then disable and enable the module again and viola!!!