WebsiteBaker Community Forum

WebsiteBaker Support (2.8.x) => Templates, Menus & Design => Topic started by: johnp on February 23, 2008, 10:21:06 PM

Title: New Premium Template WB News V2.0
Post by: johnp on February 23, 2008, 10:21:06 PM
Template WB News Version 1

(http://img255.imageshack.us/img255/474/wbnewstemplatewj0.th.png) (http://img255.imageshack.us/my.php?image=wbnewstemplatewj0.png)

You will need to install Show_Menu2 for menu to show or work
http://addons.WebsiteBaker.org/modules/dlg_by_groups/dlc.php?file=40 (http://addons.WebsiteBaker.org/modules/dlg_by_groups/dlc.php?file=40)

Have Fun!!
Title: Re: New Template WB News V2.0
Post by: johnp on October 05, 2008, 04:48:29 PM
Template Name: WB News 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
Title: Re: New Premium Template WB News V2.0
Post by: doc on October 06, 2008, 11:11:25 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_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>';

Variable $template_license_terms tells to keep the link in the footer, but there is no link in the index.php of the template. If the template is based on another Open Source template, please provide the link to the designer and change license to the one defined by the original designer.

The templates uses the outdated menu function page_menu which should be replaced by show_menu or show_menu2.

Please find attached a modified version with the applied fixes (page_menu needs to be replaces by show_menu, link to non existing print.css needs to be fixed). 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">


There is a link to a non existing print.css. Replace PAGE_EXTENSION with php as this is a core file.

[gelöscht durch Administrator]