Difference between revisions of "Projects/kde.org/Capacity HOWTO"

Jump to: navigation, search
 
 
(46 intermediate revisions by 16 users not shown)
Line 1: Line 1:
__TOC__
+
{{ Moved To Community | KDE.org/Capacity HOWTO}}
 
 
==Introduction==
 
 
 
Capacity is a versatile framework which helps you to construct
 
your page by focusing on the content. Your pages will be simple
 
PHP-files which include predefined header and footer. This header/footer
 
layout the page, you only provide the real content and menu structure.
 
 
 
 
 
==Example PHP-file==
 
 
 
Any normal page just contains:
 
 
 
  <?php
 
    $page_title = "Page Title";
 
    include "header.inc";
 
  ?>;
 
 
 
  Content of the web page
 
 
 
  <?php include "footer.inc"; ?>
 
 
 
For each subsite, a site.inc in the toplevel directory of this page,
 
which would be equal to the later documentroot on the server in many
 
cases, may be created. This include is used by the header.inc, it
 
should contain some information about your site, like it's name
 
and the email address of the webmaster, this will be used by header/footer
 
to setup the page correct.
 

Latest revision as of 17:48, 11 March 2016

This page is now on the community wiki.


This page was last edited on 11 March 2016, at 17:48. Content is available under Creative Commons License SA 4.0 unless otherwise noted.