Theme settings

Video loading...

Join Drupalize.Me to watch this video

Join today and gain instant access to our entire video library.

Log in Sign up
  • 0:03
    Theme Settings
  • 0:06
    with Joe Shindelar
  • 0:08
    In this chapter we're going to take a look at using
  • 0:11
    the Theme Settings System in Drupal in order to make certain aspects
  • 0:15
    of our theme configurable.
  • 0:17
    This is really awesome when you've got a theme that may be used
  • 0:20
    on more than one site, and you want certain parts of it
  • 0:22
    to be configurable by the administrator.
  • 0:25
    For our site, what we're going to do is we're going to make it
  • 0:28
    so that this little character here, the delimiter

Theme Settings

Loading...

This lesson goes through the process of creating Theme Settings so that administrators of a theme are able to turn on and off specific features within the the theme, as well as specify other relevant settings.

Note: Twitter has recently shut down their v1 REST API so this lesson's site_slogan adjustment no longer works (it will always return no values because there is no API data found). The core concepts of how to create theme settings are still correct, you just won't be able to see the output from Twitter.

Additional resources: