Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member

Configuring contextual link controls

From: Drupal 7 New Features

Video: Configuring contextual link controls

Over 25 years ago, the point and click interface catapulted home computers from something that was just used by hobbyists and grudging businesspeople to being a fun and useful device for ordinary people at home. Drupal has been undergoing a similar transformation over the past few versions, becoming less text and programmer- centric and much more graphical. Drupal 7 introduces several nice features that make administration even more graphical and intuitive. We already saw one of them in a video earlier in the series about the Dashboard where you can rearrange blocks on a page by dragging and dropping them.

Configuring contextual link controls

Over 25 years ago, the point and click interface catapulted home computers from something that was just used by hobbyists and grudging businesspeople to being a fun and useful device for ordinary people at home. Drupal has been undergoing a similar transformation over the past few versions, becoming less text and programmer- centric and much more graphical. Drupal 7 introduces several nice features that make administration even more graphical and intuitive. We already saw one of them in a video earlier in the series about the Dashboard where you can rearrange blocks on a page by dragging and dropping them.

Now, we're going to take a quick look at another one. Contextual link controls. This is really a very simple thing to show, but it has some subtleties. I'll show you over here on this search block here. I'm logged in as the administrator, so when I move my cursor over it, you see this little widget that shows up. We click that and we can Configure it. We see that it's a block. When you click on Configure block, we just goes straight to the place where we can say where exactly it goes on the page and change the title and so forth. That's pretty obvious. What's not quite as obvious is that the contextual link control changes depending on what sort of thing you're pointing at.

For example, here we have management, which is actually a menu. When we click on the link control here we get not only Configure blocks, since it does appear on the block, but also we could edit the menu to change it's name or list the links. And when of course add them and remove them the way we normally would in any other kind of menu change. Finally, I'll show you what it looks like on a node. I'll just add new content and just say it's an article and just say Test node. It doesn't really matter what it says. Scroll down to the bottom. It's going to be on the front page. Then we'll say Save and go back to our front page.

Now, as I hover over this one we see our link control we can actually go in and edit or just simply delete that node. Now I want to mention that only shows up when you're looking at the node in a list view such as on the front page. If I were to go to the node itself we would just have to click on the View or Edit tabs. I'm going to go back to that front page and just quickly delete this. Done! Contextual link controls are a simple little trick, but what's important is that the code that makes the impossible is actually built into Drupal's core.

That has a bigger implication then you see here because it means that people who develop modules for Drupal, and there are a lot of such people out there, can take advantage of these contextual controls. The upshot I think is that as time goes by a lot of modules are going to have the same sort of point and click convenience that this little widget offers. And that's going to make Drupal much more accessible to the public as a whole.

Show transcript

This video is part of

Image for Drupal 7 New Features
Drupal 7 New Features

29 video lessons · 7928 viewers

Tom Geller
Author

 

Start learning today

Get unlimited access to all courses for just $25/month.

Become a member
Sometimes @lynda teaches me how to use a program and sometimes Lynda.com changes my life forever. @JosefShutter
@lynda lynda.com is an absolute life saver when it comes to learning todays software. Definitely recommend it! #higherlearning @Michael_Caraway
@lynda The best thing online! Your database of courses is great! To the mark and very helpful. Thanks! @ru22more
Got to create something yesterday I never thought I could do. #thanks @lynda @Ngventurella
I really do love @lynda as a learning platform. Never stop learning and developing, it’s probably our greatest gift as a species! @soundslikedavid
@lynda just subscribed to lynda.com all I can say its brilliant join now trust me @ButchSamurai
@lynda is an awesome resource. The membership is priceless if you take advantage of it. @diabetic_techie
One of the best decision I made this year. Buy a 1yr subscription to @lynda @cybercaptive
guys lynda.com (@lynda) is the best. So far I’ve learned Java, principles of OO programming, and now learning about MS project @lucasmitchell
Signed back up to @lynda dot com. I’ve missed it!! Proper geeking out right now! #timetolearn #geek @JayGodbold
Share a link to this course

What are exercise files?

Exercise files are the same files the author uses in the course. Save time by downloading the author's files instead of setting up your own files, and learn by following along with the instructor.

Can I take this course without the exercise files?

Yes! If you decide you would like the exercise files later, you can upgrade to a premium account any time.

Become a member Download sample files See plans and pricing

Please wait... please wait ...
Upgrade to get access to exercise files.

Exercise files video

How to use exercise files.

Learn by watching, listening, and doing, Exercise files are the same files the author uses in the course, so you can download them and follow along Premium memberships include access to all exercise files in the library.


Exercise files

Exercise files video

How to use exercise files.

For additional information on downloading and using exercise files, watch our instructional video or read the instructions in the FAQ.

This course includes free exercise files, so you can practice while you watch the course. To access all the exercise files in our library, become a Premium Member.

Are you sure you want to mark all the videos in this course as unwatched?

This will not affect your course history, your reports, or your certificates of completion for this course.


Mark all as unwatched Cancel

Congratulations

You have completed Drupal 7 New Features.

Return to your organization's learning portal to continue training, or close this page.


OK
Become a member to add this course to a playlist

Join today and get unlimited access to the entire library of video courses—and create as many playlists as you like.

Get started

Already a member?

Become a member to like this course.

Join today and get unlimited access to the entire library of video courses.

Get started

Already a member?

Exercise files

Learn by watching, listening, and doing! Exercise files are the same files the author uses in the course, so you can download them and follow along. Exercise files are available with all Premium memberships. Learn more

Get started

Already a Premium member?

Exercise files video

How to use exercise files.

Ask a question

Thanks for contacting us.
You’ll hear from our Customer Service team within 24 hours.

Please enter the text shown below:

The classic layout automatically defaults to the latest Flash Player.

To choose a different player, hold the cursor over your name at the top right of any lynda.com page and choose Site preferencesfrom the dropdown menu.

Continue to classic layout Stay on new layout
Exercise files

Access exercise files from a button right under the course name.

Mark videos as unwatched

Remove icons showing you already watched videos if you want to start over.

Control your viewing experience

Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.

Interactive transcripts

Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.

Are you sure you want to delete this note?

No

Your file was successfully uploaded.

Thanks for signing up.

We’ll send you a confirmation email shortly.


Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from lynda.com.

Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

   
submit Lightbox submit clicked
Terms and conditions of use

We've updated our terms and conditions (now called terms of service).Go
Review and accept our updated terms of service.