Presstopia Blog
 
Version 1.0
 
Copyright © 2005-2006 Presstopia

1. Installation and Setup

1.1. License

Before installing and using this software, please read the License Agreement (included with this software) carefully. By using the software, you also accept and agree to the License Agreement. If you don't have a copy of the License Agreement, you can contact us for a copy.

1.2. Unzip the software

Unzip the software to a folder on your computer's hard drive. The unzipped folders and files will have a structure similar to this :

1.3. Modify 'web.config' file

Edit the /pt/web.config file with a plain text editor such as Notepad and change the following settings as required :

1.4. Upload application files to web server

1.5. Check folder permissions

Make sure that the /feeds and /uploads folders on your web server have read and write permissions so you can upload images and create XML feeds. Also, if you will be using an Access database, remember that the folder in which the database (.mdb) file is located must have read and write permissions.

1.6. Run the Installer utility

Once all the files and folders have been uploaded, you are now ready to connect to your database and create the database tables :

  1. Using your web browser, browse to the /admin/install.aspx page on your web server.
  2. Click the Begin Installation button to run the installer utility.
  3. The software will now perform various checks on your installation and automatically correct as many errors (if any) as possible. For example, the utility checks the database to see if the required tables exist inside it. If it doesn't (as would be the case in a new installation) the software will create the tables.
  4. Carefully review the errors reported by the Installer utility, and take action as required. You can run the installer as many times as required untill all the errors (if any) have been resolved. 
  5. Once all the errors have been resolved, click the Admin Logon link in the top right corner and logon with the default admin User ID and Password (user and password, respectively).

1.7. Change the 'Default Admin' UserID and Password

This step is very important! Click the List Users link in the navigation bar, then click the Edit link for the Default Admin user. Change the 'Default Admin' UserID and Password to prevent unauthorized access.

1.8. Verify and update configuration settings

Next, click on the Configuration link in the navigation bar. Review each configuration setting and modify the default values as required.

1.9. Delete /admin/install.aspx

Enter a post or two to see if everything is working OK, then delete the /admin/install.aspx file used to install the software.

1.10. Done!

Congratulations. The software should now be fully functional. 


2. Changing the appearance

Presstopia Blog is highly customizable. You can change almost every visual aspect of the application. There are 4 files that control the look and feel - a .css file and three .ascx files. The .css file controls most of the appearance of the software, while the .ascx files primarily control the layout and location of the various elements on the page. These files are all located in the /themes/default folder :

2.1. Style.css

This is a standard CSS (Cascading Style Sheets) file and it plays a major role in the appearance of the software. Many aspects of the appearance, such as font type, font size, font color, borders, background and so forth, can be changed by changing the relevant CSS attributes. 

2.2. Main.ascx

This is the main template file and determines the general layout of each page. It therefore holds the elements that are displayed on every page view, such as the header, logos, latest items, profile, archives, etc.

2.3. PostFunctions.ascx

This file determines how post related elements are displayed, such as when posts are displayed on the home page, viewing an individual post, commenting on a post, etc.

2.4. UserFunctions.ascx

The file determines how user related elements are displayed, such as registration, logon, password reminder, etc.

2.5. Basic rules when modifying *.ascx files

To ensure that you don't "break" the software when you make changes to the template, here are some general rules regarding the modification of the .ascx templates :

2.6. Changing the logo

The logo file is located at themes/default/images/Logo.gif. To change the logo, simply replace the logo file with your own logo file. Alternatively, you can change Main.ascx to point to another logo image file.


3. Acknowledgements

1. FreeTextBox is used for the WYSIWIG post editor : http://www.freetextbox.com.