Installation Guide

This guide will help you install Roowhaline on your Textpattern-powered blog.
You should already have TXP installed. If not, please install it and then get back to this guide.

You can apply template to clean, just-installed TXP, or change older template for this one. In this case, please make sure that you've made an backup copy of older template (pages, forms, css, etc.)

Installation is pretty simple due to very few pages and forms used, and mostly you'll need only to copy-paste code.

Installation consists of:

  1. Creating sections
  2. Modifying pages code
  3. Modifying forms code
  4. Changing css
  5. Installing plugins
  6. Uploading images on server
  7. Checking
  8. Turning on Clean URLs (optional)

Template, all images, including photos, are © Dmitriy Chekanov. Template and images are licensed under GNU GPL.

Let's start.

1. Creating sections

To get 1:1 copy of Roowhaline's demo site, create 5 sections. Log in admin panel, go to Presentation - Sections, and create these sections:

Sections
NameTitlePageStyleRadios
AboutAboutdefaultdefaultNo-No-No-Yes
ArchiveArchivedefaultdefaultNo-No-No-No
ArticlesArticlesdefaultdefaultYes-Yes-Yes-Yes
ContactContactdefaultdefaultNo-No-No-No
SearchSearchdefaultdefaultNo-No-No-No

Now lets modify pages.

2. Modifying pages code

Roowhaline uses only 2 pages - one for error messages handling, and another for everything else. As a result, you can customize it easily and fast (check Customization Guide later).

Go to Presentation - Pages in admin panel and replace the "default" and "error_default" pages code with code from "default.txt" and "error_default.txt" files located in Pages folder in template distribution package.

Ok, now it's time for forms.

3. Modifying forms code

Go to Presentation - Forms in admin panel and replace code of forms "default", "comments_display", "search_results", "comments" and "comment_form" with provided in files located in Forms folder, in template distribution package. Files have exactly the same names, as the forms have.

Don't forget to click "Save" button to save each form.

4. Changing css

Go to Presentation - Style in admin panel and replace the "default" style code with code from "default.txt" file located in Styles folder in .. yep, you're right, in template distribution package.

5. Installing plugins

You need to install 4 plugins - 1 for navigation (ako_nav), 2 for contact form (zem_contact_lang and zem_contact_reborn), and one for automatic TOC generation (cbs_article_index). You can view additional info like the names of authors and tips how to use them when installing.

To install plugins, go to Admin - Plugins in admin panel and paste content of files "ako_nav.txt", "zem_contact_lang.txt", "zem_contact_reborn.txt" and "cbs_article_index.txt" into "Install plugin" textarea. Files are located in Plugins folder in template distribution package. Don't paste them all at once: paste one - press "Upload" button - press Install button and then click "No" link under "Active" label to activate plugin. Do the same with second plugin, then with third and then with the last one.

You've almost made it..

6. Uploading images on server

Use preffered FTP-client to upload folder "roowhaline" located in Images folder in template distribution package. Upload it to "images" directory on your server. Path to images should be like this: "URL of TXP-powered site/images/roowhaline/".

Horay, installation is complete!

7. Checking

Now point your browser to your blog URL, and you should see 1:1 full functional copy of Roowhaline demo site. If not - check if you passed through all steps above correctly.

8. Turning on Clean URLs (optional)

Clean URLs, or CURLs, or SEFR URLs, or SEO URLs, or many more synonyms, are "human-readable" links looking like "domain/page", not "domain/index.php?id=1". It's not necessary to enable CURLs for using Roowhaline, but it's very nice feature and my advice is enable it. If CURLs is turned off, you'll need to modify a bit urls in navigation and in search form action attribute (check Customization Guide to find out how navigation been made and TXP documentation to find out how urls should look like).

If you already have them turned on or a bit lazy, skip this step.

Things you need to done to activate CURLs in TXP:

  1. Make sure, that server allows using .htaccess overrides and Rewrite module (for Apache server).
  2. Now connect to your server via ftp or via file manager and locate TXP's file ".htaccess". It should be right in the folder where all TXP's files and folders are.
  3. Download this file to your PC or Mac or whatever and open it in preffered text editor. Don't use MS Word or similar, choose smth like Notepad.
  4. In my case, to turn on CURLs i need to uncomment (remove # symbol) all strings, exept the last one, and modify line 8 to "RewriteBase /". If TXP is installed to sub-folder, change "/" to "/subfolder/". Save modified file and upload it back to server.
  5. Login to admin panel, then go to Admin - Preferences - Basic and change "Permanent link mode" to "section/title". Press "Save" button.
  6. Now point your browser to "youdomain/smth", there "yourdomain" is URL of your TXP-powered blog, and "smth" any word.
  7. If you'll see 404 error from TXP - thats ok, CURLs are enabled and working. If you'll get server's 404 error or 500 error, please refer to TXP documentation, faq and forums to find a solution.

 

Feel free to contact me regarding any possible bugs in template via e-mail: info@webgrower.ru.

Please check out the Customization Guide to find out how Roowhaline can be customized.

P.S. I'm very sorry for my basic english.