Installation & configuration
Now that you’ve purchased your theme, the next step is uploading and installing it onto your site.
First, you should receive an email as soon as your purchase is processed. Included in this email is a link for downloading your theme in the form of a compressed archive. If you lose this email or cannot access the account, you may download this theme by going to http://www.topnotchthemes/user, logging in, and clicking on Files.
After you have saved your theme, you must uncompress the archive and upload (FTP) the theme files to the proper place on your server to use it.
If you don’t already have software on your computer to do these things, here are the free applications we recommend:
WINDOWS
- 7-Zip - http://www.7-zip.org
- FileZilla - http://filezilla-project.org
OS X
- The Unarchiver - http://wakaba.c3.cx/s/apps/unarchiver.html
- FileZilla - http://filezilla-project.org/
If you’ve never done anything like this, don’t worry! Here are the steps for uploading your theme:
- Download the file to your own computer. With most browsers, you may right-click on the file link and select an option such as
save link as..to save it locally. - Unzip the compressed file (usually by double-clicking it, or right-click on it for more options). You should see a
tnt_yourthemenamefolder (which contains your actual theme), and thenextrasanddocumentationfolders. Remember the location of this directory. - Start your FTP software.
- The program will need some connection information. The
hostorserverfield needs the domain name you’ve set for your website, or another name that your web host has specified. Theusernameandpasswordfields contain the username and password supplied by your web host. - Your FTP software will have a section labeled
Local Computerand a section labeledRemote Computer, or something similar. These are the file systems of your personal computer and the web server, respectively. - Navigate in the
local computerside to the location of the uncompressed theme. - Now look at the
Remote Computerside. You should see your Drupal files here, with an index.php file in this folder, or you may need to go inside a folder called htdocs or www. If you don’t see this, it’s possible that this is not the root directory of your website. Consult your web host or system administrator for the exact location in this case. - Inside the
sitesfolder there should be anallanddefaultfolder. Go into theallfolder and, if it doesn’t already exist, create athemesfolder. Then go intothemes. - Drag the
tnt_yourthemenamefolder with the uncompressed theme into the new themes folder. The files have now been uploaded!
Enabling Your Theme
The next step is setting an administration theme and enabling your new theme.
- Log into your site with your administrator account.
- Go to
www.yoursitename.com/admin/settings/admin - Set your Administration Theme to Garland (or another theme of your preference, but Garland comes with Drupal 5 and is a good admin theme), check both boxes on this page and click Save
- Go to
www.yoursitename.com/admin/build/themesin your browser. - There should be listing of each theme available for your site. Find the thumbnail and name of the one you’ve just purchased.
- There is an
enabledcolumn and adefaultcolumn in this table. Select both of these for your new theme, and clickSave.
Your new TNT theme is now activated on your site!
Configuring Your Site
There are some basic site options you may wish to go through before continuing. www.yoursitename.com/admin/settings/site-information contains several basic settings that will be used in many places. Again, you must be logged in as an administrator to use this page.
Name is the name of the site, and will be present in the header and title for all pages, unless the theme or your specific coding overrides this.
Email address is the contact page for this website.
Slogan is a tagline that most themes display near the site name.
Mission is a longer statement that themes sometimes display at the top of the content or in another appropriate area.
Footer message is a message that will be placed in the footer of each page if you fill this field in. Use this for something like a copyright statement or simple text, but menus should be added as a Drupal menu and then placed in the Footer region.
Default Front Page controls the initial page most visitors will see on reaching your website. It is initially set to node, which is usually fine. Once you get more comfortable with Drupal, you may wish to change this to something different.
Configuring Your Theme
There is also some theme-specific configuration that you will probably want to do next. On your www.yoursitename.com/admin/build/themes page, there will be a Configure link next to the theme. Click this and you can set whether your theme should show certain options, like the slogan or search box. You can also upload your own logo.
In order to fully make use of the regions and styling of your TNT theme, blocks must be configured. Blocks are displays of content that can be moved around to adjust your page layout. They could be a list of latest blog posts, a news feed, a series of images, etc. You must specify which blocks are displayed where, otherwise you will just see a simple header, footer, and your main content in the middle.
Go to www.yoursitename.com/admin/build/block, then click on the link near the top for tnt_yourthemename. Down in the table listing available blocks, use the Region drop down to select which blocks you want to display in which regions. You can use the Weight drop down to reorder them as you choose.
Note: Drupal themes from TopNotchThemes have many more regions and styles than most Drupal themes available. They are quite flexible, but there are some design constraints. You may not be able to put lots of blocks in some regions, or put a large image in a certain area, or your design will look awkward. We have tried to strike a balance between high end themes with strong aesthetic appeal, while still giving you the option to move content around where you need. Experiment to figure out what works best for your theme!
Removing Your Theme
You may wish to disable or remove a theme. The procedure is very simple.
To disable a theme, go to www.yoursitename.com/admin/build/themes, select a different theme as default, and uncheck enabled on the theme.
To completely remove a theme, FTP to your site as we did in the installation process. Navigate to the same location you used to install the theme and delete the folder you copied over initially. Once you’ve done this, the theme will be completely erased. If you want it back, you will have to redo the installation procedure.
Advanced Configuration
CREATING DIFFERENT LAYOUTS
You can use the concept of block visibility in order to create completely different layouts for different pages. For example, you may want to have a very different layout on your home page and only use the "preface" regions on this page to show some recent content.
Go to www.yoursitename.com/admin/build/block in order to see the regions and blocks available. Drag a block you’d like to only show on the home page into a preface region, and click Save. Click Configure next to this block, and scroll down to the section containing "Show block on specific pages". Make sure the second option is selected, "Show on only the listed pages", and enter <front> in the "Pages" field below. Click Save. Now this block (and thus the design for this section of your theme) will only show up on your front page.
MAINTENANCE PAGE
Your TNT theme comes with an "offline" template to match your site. To enable this, you’ll need to add the following line to your site’s settings.php file:
$conf['maintenance_theme'] = 'tnt_themename';
Replace "tnt_themename" with the actual name of your theme, which can be found as the "tnt_themename.info" file in the main folder of your theme. This page will be shown if you put your site in offline mode, or if your Drupal site is having technical issues.
EDITING YOUR THEME
It is also quite easy to make modifications to your TNT theme to further customize it for your specific needs. In your theme’s folder, open the local_sample.css file to see instructions on how to add changes to this file so your main theme can still easily be upgraded as new versions are released.



