INSTRUCTIONS FOR THE FLEXY TEMPLATE

The following instructions assume you've installed Textpattern 4.0.4 OK and you haven't altered anything or added any content. For fuller instructions, please refer to fullinstructions.txt

Preliminaries

  1. From your local Flexy folder, transfer the contents of images to the remote images folder. Chmod permissions to 777, ie full access.
  2. Open 'switch.php' in your local folder and change "01010.org/flexy" to the url of your site. Transfer it to the root of your site.
  3. Create a new remote folder next to the images and files folders. Call it '_templates'. Chmod permissions to 777. Create a folder within it called flexy.
  4. Transfer local forms, pages and style folders over into the remote flexy folder. When done you should have the following directory structure: root of your site (with images and switch.php) > _templates > flexy > forms, pages, style.

TXP Admin Tab

In Preferences, use the following settings:
Permanent Link Mode: section/title
Use Textile: Leave text untouched
Accept comments: yes
On by default: yes
Automatically append comments to articles: no
SAVE.

Click Advanced and use the following settings:
Custom field 1 name metadesc
Custom field 2 name metakeyw
Custom field 3 name topleft
Custom field 4 name topright
Custom field 5 name headwide
Custom field 6 name headleft
Custom field 7 name headmid
Custom field 8 name headright
Custom field 9 name two3col
Custom field 10 name twocol
title_no_widow or Prevent widowed words in article titles: no
SAVE.

Install the following plugins:

TXP Templates Tab

In the newly created Templates tab, select import flexy and Go.

As if by magic, Bert's wonderful plugin has just saved us an hour of copying and pasting! Nice one, Bert!

TXP Presentation Tab

Sections

All use default style.
Default. Leave alone.
about. (title: ABOUT) (Uses page: flexy_archive) (On front page: yes)
articles. (title: ARTICLES) (Uses page: flexy_archive)
archives. (title: ARCHIVES) (Uses page: flexy_archive_list)
contact. (title: CONTACT) (Uses page: flexy_contact)
sitemap. (title: SITEMAP) (Uses page: flexy_search)
template. title: (ARTICLE TEMPLATE) (Uses page: flexy_archive)

TXP Content Tab

Categories

Create docs, category, templates, list and nav categories. Assigning 'nav' to an article will cause it to be added to the main navigation. Assigning 'list' will put it into a list of related articles at the end of an article.

Articles

Edit 'First Post'.
Custom field 'twocol': Type in 'yes'
Category 1: docs
Category 2: list

Write

Please create the following 3 articles in the order specified, copying from your local flexy write folder. They are needed to show how various parts of the template work.

  1. Front. This is needed for the front page and should have an ID of 2. If it hasn't you open flexy_contentdef and flexy_side2def and alter id="2" to whatever your id is.
  2. Flexy. Needs an ID of 3 which can be changed in the flexy_side2def form if necessary.
  3. Access. An accessibility statement.

The other documents in the write folder are optional. Basic, Twocol and Two3col are article templates.

Test and Enjoy!