WebsiteBaker Support (2.8.x) > Templates, Menus & Design

New Premium Template WB Business V2.0

<< < (2/2)

doc:
John,

thanks for your contribution. Have reviewed the template and found some 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://creativecommons.org/licenses/by/2.5/">Creative Commons Attribution license</a>';

Currently the license terms are not very clear to me. In the comment blocks you state: "Authors: John P. , Charles M.". In $template_license_terms you state: "The author kindly asks to leave a link back to Erwin Aligam site." Who is the original author of the template? If it is Erwin, please change the license from GNU to CC 2.5 chosen by Erwin. We had some issues in the past with licenses and we need to take this part serious.

Please find attached a modified version with the applied fixes (license as defined by yourself, please correct if required). 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: ---<form class="search" action="<?php echo WB_URL.&#39;/search/index&#39;.PAGE_EXTENSION; ?>" method="post">

--- End code ---

Instead of fixed place holder for optional blocks use page_content(X);

Functions provided by code snippets needs to be wrapped with (function_exists) to avoid error messages if the code snippet is not installed on the system.

--- Code: ---<?php get_modified_when(); 
--- End code ---
(page 9 of the template guidelines provides an example)

If the template is ported from an existing template, use the following line in info.php:

--- Code: ---$template_author = 'Erwin Aligam; John P., Charles M. (WB port)';
--- End code ---

[gelöscht durch Administrator]

Navigation

[0] Message Index

[*] Previous page

Go to full version