New Premium Template WB News V2.0

doc

#3
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.
<form class="search" action="<?php echo WB_URL.'/search/index'.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]

johnp

#2
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

johnp

#1
Template WB News Version 1



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

Have Fun!!