Blog A Title

This is the long description for "Blog A". You can change it (and many other things) on your Blog Settings -> General tab.

Welcome to QP5!

The best web engine on earth! Four blogs have been created with sample contents:

  • Blog A: You are currently looking at it. It contains posts that explain QP5 in a "big picture" sort of way.
  • Blog B: You can access it from a link at the top of the page. It contains information about more advanced features of QP5.
  • Linkblog: The linkblog shows how to use a blog as a "blogroll", displayed in the sidebar of both Blog A & Blog B.
  • Photoblog: This blog is an example of how you can use QP5 to showcase photos, with one photo per page as well as a thumbnail index.

You can add new blogs, delete unwanted blogs and customize existing blogs (title, sidebar, blog template, widgets, etc.) from your Blog Settings tab in the admin interface.

We strongly suggest you read through these sample posts to get an idea of how this whole thing works. Also, after reading you might want to change the "Visibility / Sharing" from 'Published' to 'Deprecated' instead of deleting them.

Blogs, Stubs & website integration...

By default, blogs are displayed using a template (more on both in another post). In most cases, blogs are accessed through a stub file with "clean URLs" enabled. If your server does not support clean URLs you will need to change your Blog settings->URLs selections to "Use params" ... or change hosts.

A stub file defines which blog will be called, and can optionally force other parameters (template, category/categories, date range, display order, others). In the URL of this page "blog2.php" is a a stub file in the installation's root directory.

You should use a stub file even if clean URLs do not work on your server. For example the following URLs all point to the same page: blog #2 displaying posts in the "announcements" category.

Read more »

About blogs...

In QP5, a blog is the highest level of content separation. A "blog" doesn't have to be a blog-blog ... but it could be. Each blog can have it's own RSS feed, and can be completely separate from (or fully integrated with) all other blogs in your installation. You can have as many blogs as you want.

Each blog must have at least one category, and can have as many as you want, and each category can also have "sub-categories". Categories are how your content (items, posts, pages) are organized, meaning an item is in a category which in turn is in a blog. It is possible to move a category from one blog to another, which would move all the items in that category to the new blog.

Each blog also has a template. Your template determines what goes where and how it looks. For example one template might show the author's name for each item, another one might not.

About templates...

QP5 uses templates to create your website pages. A template is a set of files that define what shows up on your blog and how it looks. You can change the template used by any blog by editing the Blog settings->Templates tab in the admin interface.

You can download additional template from the templates site. To install them, unzip them in the /blogs/qp_templates directory, then go to General Settings > Templates in the admin interface and click on "Install new".

You can also create your own templates by duplicating, renaming and customizing any existing template folder from the /qp_templates/ directory. The "Basic" template is a really good starting point because it shows all the default $params values each function and method has available to you.

To start customizing a template, open the template's "index.main.php" file in an editor and read the comments in there. Note: you can also edit templates in the "Files" tab of the admin interface if you enable template directories (Global settings, Files sub-section).

About plugins...

A plugin is a piece of software written to extend the capabilities of QP5 beyond the basic web engine requirements.

For example you may or may not have a need to embed a video in your content. If you do, then you use the "video" plugin and get your videos scaled to match your template. If not then you don't!

There are many plugins written for QP5, and a small handful that are included in this package. To see the installed plugins visit your Global settings -> Plugins tab. To find more plugins visit 1912WebWorks plugins page.