In this video we will look at overriding a theme function instead of working with the template files. We will be modifying the breadcrumb using theme_breadcrumb(). to do this we'll use the Theme Developer module to help us find what we're looking for, and then we'll walk through how to override.
Additional resources
Theme Developer module (Drupal.org)
960 Robots
Provides a overview presentation for how Drupal's menu system takes care of incoming requests via the index.php. Then it walks through the process of implementing a simple module that hooks into Drupal's menu system at the path of /magic.
It then executes a page callback function of menu_magic_basic(),
which outputs some simple markup text.
Additional resources
In this video we will see how we can create our own preprocess function for a theme function (not just templates). We're going to use this to display the user's full name on the site wherever the the username would normally appear. We start by creating a full name field, and then show how to get this working on our site.
Additional resources
In this video we will look at how to add CSS and JavaScript to our site using drupal_add_css()
and drupal_add_js()
. We will also show using these functions to conditionally add the CSS and JavaScript, within our page preprocess function.
Additional resources
In this video we'll see how we can create our own template suggestions. We'll do this in our node preprocess function to create a new node template that will be used depending on the day of the week.
Additional resources
In this lesson we will cover what is necessary to use repeating/multiple dates on a single event. After getting the proper modules installed and a content type to handle repeating dates, we show you how the calendar module handles this out of the box. We go even further and explain how everything is setup to give you a better understanding of all the settings necessary to make this happen.
Additional resources
In this lesson we will configure the day view even further by adding our taxonomy field as a method of grouping events. This will give us the ability to show events grouped together in a column to further organize our day view.
Additional resources
In this lesson we will cover customizing the day and week view. Sometimes your events may have the same or close to the same start times, this can start to make your calendar look very complicated. We will show you how to utilize the overlapping feature and all of the settings to make the display easier to look at for your viewers. We will also discuss how to bring focus to certain time periods and some more advanced settings pertinent to the week and month view.
Additional resources
In this lesson we add some usability to our calendars with color-coded striping. You get to pick which colors represent which taxonomy terms so that each calendar event is marked. Alternatively, you can stripe your calendars by content type. We also add the Legend block to our sidebar that shows what each color represents.
Additional resources
Do you find that you have too many events on one day and that it is skewing the look and feel of your calendar? You have options! You can set a maximum number of events that display per day and include a 'more' link that takes you directly to the View of that specific day. Does that inconsistency bother you? You can make the link appear for any day that has any number of events.
Additional resources
In this lesson, we cover how to customize the Month and Week view of the calendar. The primary concept in this video deals with the different ways of displaying an event that covers multiple days and how it is outputted to the screen.
Additional resources
In this lesson we show you how to add an iCal feed to a new calendar and an existing calendar. We cover the required modules for an iCal display as well as the configurations necessary for it to work properly. We also show you what an iCal feed looks like and how you can remove certain fields from it.
Additional resources
In this chapter we will cover utilizing some built in blocks that come with the calendar module. We'll show you how to setup and configure a mini calendar block as well as an upcoming events block.
Additional resources
In this chapter we will discuss how an administrator can change the look of a calendar display. Out of the box and using the views template, a calendar is ready to go, but sometimes you just want to change things up. This video will cover the basics of editing a views display to make the calendar week view a list of events instead of the standard calendar week display.
Additional resources
In this chapter we will cover a little hidden gem of the calendar module. We will show you how to place a link at the top of a calendar display to quickly jump into adding content to the calendar based on the content type used.
Additional resources
In this chapter we will show you some configurations of the calendar that allow you to modify how it outputs things like Monday versus Mon. These configurations can be modified in each calendar display and blocks for what makes sense to the implementation used.
Additional resources
In this series, we give you step-by-step tutorials to get a calendar on your website.
We’ll create a field that will help you get data into your calendar, go over all the proper modules you need to install, and introduce you to a new way of getting your calendar going with a template. Then we’ll configure some blocks, add them to our website to display a mini calendar and upcoming events, and bring taxonomy in to get some organization inside your calendar. We’ll customize the look and feel of the calendar and get involved in using repeating dates or multiple dates.
By the end of this series, you will become a calendar guru.
Additional resources
In this starting chapter, Karen is going to set up some basic things we'll need to start building calendars. We'll enable the modules we need, including Date and Views, and take care of some core configuration for our dates. Then we'll use Date Tools (which comes packaged with the Date module) to quickly create an Event content type with a date field, and use Devel to generate a bunch of dummy content so we can see how things are shaping up as we start building. If you would like to see more detail about creating Date fields you can review the Dates with Drupal 7 series.
Additional resources
In this chapter we will get a calendar up and running on our demo site. We will cover the necessary modules, how to install them, as well as basic site configurations. We'll also show how simple it is to get a calendar on your site using a views template, and then give a tour of some calendar features.
Additional resources
This video goes through some of the strategies for translating a design into a Drupal theme. We talk about the two approaches of adding the HTML to an existing Drupal theme template vs. inserting dynamic variables into the HTML provided by our designer. Throughout this video, we're going to be assuming that our designer has delivered the full HTML, CSS and JavaScript to us, and we'll be adding in the dynamic variables. In this process we start to look at the design and start to break it up into it's component Drupal parts and start to strategize for how to build out the site and implement the design..