Skip to Content »

 Read Me

  • 14 hours ago
  • 14 hours ago

Preamble

I will be using Stuart's (of The Bomb Site) Installation Instructions as a base for my own.

Please visit my website!

We are going to be overwriting existing templates so you should make a back-up of them in case you want to return to them at a later date.

Page Templates

In the folder called "pages" you will find 2 text files. TXP comes with 2 page templates already, "default" and "archive". That is all I am using here though my versions have been modified somewhat.

In TXP go to "presentation/pages". This will normally show you the default page template. You can't delete this one so don't bother trying. What you can do is select all the text and delete it so you have an empty text box. Now open the "default page template.txt" file and copy/paste the whole thing into the text box and save it.

Now select the "archive" page and do the same thing using the "archive page template.txt" file as your source.

That's the page templates done!

Form Templates

In the folder called "forms" you should find five text files. I know that sounds a lot but it's a simple enough process. You will see that some of the forms already exist in your forms listing in which case you can follow the same procedure as you did for the page templates with one extra process which I will get to in a minute. You do not have to create any new forms.

The difference between form templates and page templates is that you need to tell TXP what "type" of form it is so that it can parse it correctly. Below the main text box you will see 2 smaller boxes. The top one is for the Form name. The second one is for the Form type. Both are "required".

I have used a specific naming convention to name the form template text files included here.

First, all the files here end with the .txt suffix. You can ignore this completely. It is simply the type of file you are looking at. This Readme is a .txt file. In fact the only things that aren't are the image files.

The names of the forms are in a "form name () type" format. The first part of the name of the .txt file is the name of the form itself, while the part following the "()" is the form type.

Now, just as you did with the page templates, simply overwrite any existing form templates. If you save a form without a name it will appear at the top of the form listing as a blank. You will not be able to select it. All you can do is delete and recreate it again. If you save a form with the wrong form type you will be able to change it and resave.

Sections

You do not need to modify the sections for the RDC template!

Images

Simply upload the entire "images" directory directly into your installation, so that the images are in the directory containing your "index.php" and "textpattern" files.

CSS

Again, simply upload the entire "css" directory directly into your installation, so that they are in the directory containing your "index.php" and "textpattern" files.

Plugins

In the plug-ins folder I have included all the plug-ins used for RDC.

In TXP go to "Admin/Plugins". At the top of the page is a text box. Open either of the files in the "plugins" folder in a text editor and copy the contents into the box. Now click on "Upload". Once TXP has loaded the file you will see a screen with lots of code on it. That's the plug-in code.

Next, scroll down the page and click on the "Install" button. You will now be taken back to the first page again where you will see the plug-in in the list. On the right you will see the word "No". Click on it and it will change to "Yes". You have just installed and activated a plug-in.

Repeat the process for both of the plugin files.

Other Stuf

Other changes must also be done in a few of the forms and page templates.

 

In order to link properly to the css files, you will have to change each of the page template's links. Go to the "Presentation/Pages" are of the TXP administration and change the instances of "example.com" in the header to your domain.

Change the links from www.example.com to your domain.

<link rel="stylesheet" href="http://www.example.com/css/screen.css" type="text/css" media="screen" />
<link rel="stylesheet" href="http://www.example.com/css/print.css" type="text/css" media="print" />

 

Other changes must also be done in a few of the forms.
Go to the "Presentation/Forms" area of the TXP administration and click on the "Single" form. In it, you will see a link to the star image that appears next to each header. However, you must change the path to the files so that they work all the time.

Change the link from www.example.com to your domain

<img class="star" src="http://www.example.com/images/star.png" style="background-color: #379acc;" width="22" height="22" alt=" " />

That's it...you're done!