Adding contextual menu links and using menu autoloaders

Drupal: 15m
Video Series
Information

This chapter walks through the process of adding links to the contextual drop-down widgets new in Drupal 7. It also shows how using menu autoloaders can help simplify the code that you write in your page callback function since you won't have to do extra checking on the data.

Discussion

Comments on this video

You need to be an active subscriber to comment. or .

Is there any way of getting that text inverter function?

Hi yanniboi! The inverter function that is mentioned halfway through the video is available in menu_magic.context.inc. All related files are located in the Downloads tab. ~Michelle

Hey Michelle,

Not really that urgent any more. I ended up using the strtoupper function to see it the module did what I wanted it to. Just out of curiosity though, where can I find the 'download tab'. I'm probably making a bit of a fool out of myself, but I didn't know there was such a resource available. (I even searched the page source in case I just wasn't seeing it :P )

Thanks for the help!

Not every video has companion files, but if the video does, a Downloads tab appears in the left sidebar, just above Discussion. Often, for a series, we will attach the files to the first video in the series.

Ahhh I get it!
Well that's good to know, I'll keep my eyes peeled for the future.
Thanks for the help! :D

Lullabot logo

Lullabot has trained thousands of Drupal developers & guided the development of some of the largest Drupal websites.