WebsiteBaker Logo
  • *
  • Templates
  • Help
  • Add-ons
  • Download
  • Home
*
Welcome, Guest. Please login or register.

Login with username, password and session length
 

News


WebsiteBaker 2.13.6 is now available!


Will it continue with WB? It goes on! | Geht es mit WB weiter? Es geht weiter!
https://forum.websitebaker.org/index.php/topic,32340.msg226702.html#msg226702


The forum email address board@websitebaker.org is working again
https://forum.websitebaker.org/index.php/topic,32358.0.html


R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WB
https://forum.websitebaker.org/index.php/topic,32355.0.html


* Support WebsiteBaker

Your donations will help to:

  • Pay for our dedicated server
  • Pay for domain registration
  • and much more!

You can donate by clicking on the button below.


  • Home
  • Help
  • Search
  • Login
  • Register

  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Templates, Menus & Design »
  • New Premium Template WB Style v2.0
  • Print
Pages: [1]   Go Down

Author Topic: New Premium Template WB Style v2.0  (Read 4571 times)

johnp

  • Guest
New Premium Template WB Style v2.0
« on: October 05, 2008, 10:01:24 PM »
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
« Last Edit: January 01, 2009, 02:45:23 PM by johnp »
Logged

doc

  • Guest
Re: New Premium Template WB Style v2.0
« Reply #1 on: October 06, 2008, 11:02:53 AM »
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.
Code: [Select]
<form class="search" action="<?php echo WB_URL.&#39;/search/index&#39;.PAGE_EXTENSION; ?>" method="post">


Additional blocks should not include dummy text but use the WB functions instead:
Code: [Select]
<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]
« Last Edit: October 06, 2008, 03:48:18 PM by doc »
Logged

  • Print
Pages: [1]   Go Up
  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Templates, Menus & Design »
  • New Premium Template WB Style v2.0
 

  • SMF 2.0.19 | SMF © 2017, Simple Machines
  • XHTML
  • RSS
  • WAP2