Project

General

Profile

1
WebsiteBaker 2.8.3 Developing Instructions/Informations
2
=======================================================
3

    
4
$Id: DEVINFOS 1686 2012-05-07 12:31:03Z darkviper $
5

    
6

    
7

    
8

    
9
24 Apr-2012 Build 1676
10
----------------------
11
If you use function rm_full_dir
12
now disable Run-time notices and return boolean: 
13
create your own error messages
14

    
15
17 Apr-2012 Build 1665
16
----------------------
17
add developer informations in advanced settings 
18
info will be shown in footer only for system admin
19

    
20
add page_icon_dir in advanced settings
21
default directory /templates/*/title_images
22
/*/ placeholder will be replaced with default template
23
put images to show in frontend template
24
in page settings you find an additional field to choose an image
25

    
26
17 Apr-2012 Build 1664
27
----------------------
28

    
29

    
30
01 Apr-2012 Build 1655
31
----------------------
32
handling replyto in form module
33
You can directly answer to the recipient, sending by a authenticated user
34
then in from the recipient name is shown
35

    
36
22 Mar-2012 Build 1639
37
----------------------
38
Refer: new structure in config.php set by new installation
39
backwards compability is given, so const can be defined in /framework/initialize.php
40
add const DEBUG to config.php (default = false)
41
add const ADMIN_DIRECTORY to config.php (default = admin)
42
[code]
43
define('DEBUG', false);
44
define('DB_TYPE', 'mysql');
45
define('DB_HOST', 'localhost');
46
define('DB_NAME', 'xxxxxx');
47
define('DB_USERNAME', 'xxxxxx');
48
define('DB_PASSWORD', 'xxxxxx');
49
define('TABLE_PREFIX', 'wb_');
50

    
51
define('WB_URL', 'http://xxxxxxxx.xx');
52
define('ADMIN_DIRECTORY', 'admin'); // no leading/trailing slash or backslash!! A simple directory only!!
53

    
54
require_once(dirname(__FILE__).'/framework/initialize.php');
55
[/code]
56

    
57

    
58
09 Mar-2012 Build 1634
59
----------------------
60
If using the $MESSAGE['MOD_FORM_INCORRECT_CAPTCHA'] in your module, please add
61
following code to your script, 
62
requires: include_once (WB_PATH.'/framework/functions.php');
63
[code]
64
$aServerEmail = (defined('SERVER_EMAIL') && SERVER_EMAIL != '' ? SERVER_EMAIL : $_SERVER['SERVER_NAME']);
65
$replace = array('SERVER_EMAIL' => $aServerEmail );
66
$MESSAGE['MOD_FORM_INCORRECT_CAPTCHA'] = replace_vars($MESSAGE['MOD_FORM_INCORRECT_CAPTCHA'], $replace);
67
[/code]
68

    
69

    
(3-3/8)