How-Tos about Everything
The following list shows all the how-tos and screencasts on our site; you can filter the results by selecting categories from the menus below. Note that if you got here by clicking a tag, the results are already filtered by that tag.
One of the most powerful features Drupal is User Management and Permissions. Drupal User-Role model provides an easy and intuitive way to define and control access for people in your organization which can be managed and updated within your department. This allows an organization to define access to their website based on the specific needs of your team.
Here, we'll show you to add a User and assign her to a Role.
Adding a User
There are a few ways that you add a User to a Drupal site. We'll cover the easiest method:
- Have the user login at http://yoursite.unt.edu/user (N.B. replace 'yoursite')
That's it! Every Drupal site uses LDAP (aka ActiveDirectory) so anyone with an EUID can login on a site. However, without a Role assigned, they won't be able to do much.
Assigning a Role
To assign a Role to a user, you must be an 'admin' on the site. That is, you have been assigned the 'admin' Role on this site. You may be assigned the 'admin' Role when you first requested the site, or another 'admin' may have added you to that Role.
- Visit the User management section of your site: http://yoursite.unt.edu/admin/user/user
- Select the user(s) you want to assign the role by using the checkboxes next to their EUIDs
- In "Update Options" select "Add a role to the selected users" and select the Role to assign to the user(s)
If you want to accept online payments for your UNT Drupal site (hosted by CWS), you'll need to follow these simple steps first.
1. Contact Pam Johnson in UNT Student Accounting to request account details and let her know your intent to use online payments via Drupal. While she's working on that, you can move to step 2.
2. Submit a ticket requesting the Ubercart, Nelnet, and SecurePage modules.
Configure the Ubercart store settings with the account details that Student Accounting provided for you. On your site, you can browse to them through the administration menu (screenshot), or you can add this to your site url: "/admin/store/settings/payment/edit/methods"
Forms.unt.edu is a central location for dynamic forms provided by UNT Central Web Support. If your UNT department needs online forms, you may host them here in a matter of minutes, and the results can be emailed to you, downloaded as a CSV or XLS file, or displayed in a table.
We use Webform for creating dynamic forms and displaying the results. Webform is an extremely powerful module that allows people with minmal (no programming) experience to create truly dynamic forms that would otherwise take numerous lines of code. Webform can be used to create a variety of content aggregation applications including surveys, contests, contact forms, petitions, or event RSVPs.
Once you have logged in you will need to submit a ticket via the UNT Webmaster Dashboard.
Please include the name of the form you intend to create and a brief description of the form itself and what type of information you intend to collect.
Per our Service Level Agreement we will not create the form for you. We provide a location and place for you to create your form.
Dividing your web content up into logically-organized sections can help your users avoid information overload, especially on large sites. In this tutorial we'll show you how to leverage Drupal content taxonomies to make this kind of organization very easy to manage; we'll also demonstrate how to ensure that each section has its own URL, along with easy access to its content via a simple block in the sidebar.
Need something to draw your users' eye to your latest article or blog post? In this tutorial, we'll show you how to add a simple thumbnail image that displays alongside your content wherever it shows up on the site.
You can request modules by submitting a webadmin ticket, and once we've reviewed the module and found the drupal contributor support acceptable, we can install the module for you.
Since we install the modules, please refrain from manually installing of updating modules.
UNT officially uses Youtube, Vimeo, and ItunesU for hosted video content. There are some major advantages to offsite hosting of media:
- more bandwidth than UNT
- UNT web servers are not optimized for streaming media, and storage is limited
- distributed worldwide content network (so someone in EU gets content served from the EU, and not UNT)
- proper encoding for smooth playback and ideal resolution
- videos are easily embedded on blogs/websites
We do have the media.unt.edu server, if you feel inclined to use the Real Time Streaming Protocol, but as a standalone server, it can only offer limited performance and bandwidth. File access is managed via WebDAV, and you'll be responsible for encoding and setting resolution for your own videos.
If at all possible, we suggest looking to offsite resources that can better handle media distribution. If you plan to offer streaming media, please let us know via a ticket, so we can consult on the ideal design. Since we prefer to not serve videos directly from our dynamic (web3) farm, please keep that in mind when designing your site.
So you want to redirect a page? We prefer to do this via our Apache configuration files, so simply submit a ticket requesting a redirection from X to Y, and we'll be happy to do it for you.
We prefer not to do it via .htaccess, so just send in a ticket and leave it to us.
Update: the Views Rotator module has been deprecated, and we're researching to decide which module would best suit UNT's needs. In the meantime, there's a comprehensive list of the supported photo rotator modules at this drupal.org page. If you'd like to try one of these, send us a ticket and we'll install one of the active modules.
In an earlier how-to, we showed you how to set up an image gallery using Drupal's custom content types and the views module. In this tutorial, we'll be adding an additional component on top of that foundation: a dynamic, auto-fading slideshow block. Here's how to get it set up:
If you've got lots of different users contributing content to your site, it can be useful to receive notifications whenever new content shows up. In this tutorial, we'll use Drupal's rules module to make Drupal send an email to a site admin whenever a new Story node is created.