New Premium Template WB Style v2.0

doc

#2
John,

thanks for your contribution. Have reviewed the template and found some smaller issues which should be fixed before the template will be added to the addons repository.

The general comment block in text files should provide the purpose of the individual file and some information about author, not the text from the master template.

The variable $template_directory have not to contain any characters other than: a-z, _ and - in lower case (no spaces, no uppercase etc. are allowed here).

The variable $template_license in info.php should provide a link to the license like:
$template_license = '<a href="http://www.gnu.org/licenses/gpl.html">GNU General Public License</a>';

Have you done the design by yourself or was it ported from an existing design? In the second case, the template license should be taken over from the original design.

Please find attached a modified version with the applied fixes. Have not tested browser compatibility or validity of HTML/CSS yet. Please feel free to review and modify the changes I made.

Regards Christian

[Edit]
The code for optional template functions like frontend search (login etc.) should be taken over from the template guidelines. The search uses PAGE_EXTENSION for /search/index.php which should be avoided as this is a WB core file and hence not influenced by user settings.
<form class="search" action="<?php echo WB_URL.'/search/index'.PAGE_EXTENSION?>" method="post">


Additional blocks should not include dummy text but use the WB functions instead:
<td valign="top" align="left"><h1>
Information Block 1</h1><p>&nbsp;</p>
Use this area within the <br>
template index file to insert
what you want here</td>
Use page_content(X); instead (same is true for all other blocks)

There is a link to a non existing print.css.

[gelöscht durch Administrator]

johnp

#1
Template Name: WB Style v2.0
           Platform: 2.7
            Version: 2.0

Brief Description:

This template defines the guidelines to
be applied for new templates added to
the WebsiteBaker add-ons repository
from August 2008 onwards.

Enjoy!!

JP