Project

General

Profile

1 1634 Luisehahne
WebsiteBaker 2.8.3 Developing Instructions/Informations
2
=======================================================
3
4 1655 Luisehahne
$Id$
5 1634 Luisehahne
6
7 1666 Luisehahne
17 Apr-2012 Build 1665
8
----------------------
9
add developer informations in advanced settings
10
info will be shown in footer only for system admins
11
12
add page_icon_dir in advanced settings
13
default directory /templates/*/title_images
14
/*/ placeholder will be replaced with default template
15
put images to show in frontend template
16
in page settings you find an additional field to choose an image
17
18
19 1655 Luisehahne
01 Apr-2012 Build 1655
20
----------------------
21
handling replyto in form module
22
You can directly answer to the recipient, sending by a authenticated user
23
then in from the recipient name is shown
24 1635 Luisehahne
25 1654 Luisehahne
22 Mar-2012 Build 1639
26
----------------------
27
Refer: new structure in config.php set by new installation
28
backwards compability is given, so const can be defined in /framework/initialize.php
29
add const DEBUG to config.php (default = false)
30
add const ADMIN_DIRECTORY to config.php (default = admin)
31
[code]
32
define('DEBUG', false);
33
define('DB_TYPE', 'mysql');
34
define('DB_HOST', 'localhost');
35
define('DB_NAME', 'xxxxxx');
36
define('DB_USERNAME', 'xxxxxx');
37
define('DB_PASSWORD', 'xxxxxx');
38
define('TABLE_PREFIX', 'wb_');
39
40
define('WB_URL', 'http://xxxxxxxx.xx');
41
define('ADMIN_DIRECTORY', 'admin'); // no leading/trailing slash or backslash!! A simple directory only!!
42
43
require_once(dirname(__FILE__).'/framework/initialize.php');
44
[/code]
45
46
47 1635 Luisehahne
09 Mar-2012 Build 1634
48
----------------------
49
If using the $MESSAGE['MOD_FORM_INCORRECT_CAPTCHA'] in your module, please add
50 1654 Luisehahne
following code to your script,
51
requires: include_once (WB_PATH.'/framework/functions.php');
52 1634 Luisehahne
[code]
53 1654 Luisehahne
$aServerEmail = (defined('SERVER_EMAIL') && SERVER_EMAIL != '' ? SERVER_EMAIL : $_SERVER['SERVER_NAME']);
54
$replace = array('SERVER_EMAIL' => $aServerEmail );
55
$MESSAGE['MOD_FORM_INCORRECT_CAPTCHA'] = replace_vars($MESSAGE['MOD_FORM_INCORRECT_CAPTCHA'], $replace);
56 1634 Luisehahne
[/code]
57