Multiple blogs on multiple domains »

Website integration

While Quam Plures can be used as a standalone blogging platform, it is also designed to be used as a blog/news/content manager to be embedded in a larger site.

For example, our website - quamplures.net - itself uses quamplures for several sections such as the news blog, the screenshots browser,...

Yet, other parts of the site are just static pages or even pages generated by other software such as phpBB for the forums.

Achieving this basically only requires 2 steps:

  1. Anchor a Quam Plures blog to one or more specific location(s) of your website through the use of stub files.
  2. Adapt the look & feel of your QP blogs in order to match the rest of your site by customizing a template.

Installing Quam Plures as part of a larger site

You can install Quam Plures at the root of your website or within a subdirectory.

The easiest solution is to install at the root. If that is not an option, try to install QP at a level that is high enough for all your projected "blog pages" to be under the QP folder. If that is not an option either, it *is* possible to have QP blogs running outside of the QP root *but* that will require you to edit some paths in the advanced config file.

Once Quam Plures is installed, you'll want to place stub files at the different locations where you'll want Quam Plures to generate dynamic content pages.

One of the easiest ways to do that is to move the sub files that come with Quam Plures (named blog1.php, blog2.php, etc...) to their desired location and rename them to what you want. Do not forget to also adjust the new URL/location of your blog(s) in the backoffice under Blog Settings > URLs.

For details, see Call a blog from a subdirectory and repeat for as many blogs/website sections as needed.

Porting the site design to your blog

There are basically 2 ways to proceed here:

  • Either you find a template which works "close enough" to the design of your site and you then tweak it in order to match your site. Edit the CSS, add the site navigation...
  • Or you start with a static page of what your blog should look like in your site. You then create a template form scratch and add the Template tags into the page one by one to make it dynamic.

See Create a template based on an existing layout.