WebsiteBaker 2.13.8 is now available!
R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WBhttps://forum.websitebaker.org/index.php/topic,32355.0.html
$thisApp = new Login( array( 'MAX_ATTEMPS' => "3", 'WARNING_URL' => THEME_URL."/templates/warning.html", ------ to be => TEMPLATE_DIR."login/warning.php", 'USERNAME_FIELDNAME' => $username_fieldname, 'PASSWORD_FIELDNAME' => $password_fieldname, 'REMEMBER_ME_OPTION' => SMART_LOGIN, 'MIN_USERNAME_LEN' => "2", 'MIN_PASSWORD_LEN' => "2", 'MAX_USERNAME_LEN' => "30", 'MAX_PASSWORD_LEN' => "30", 'LOGIN_URL' => ADMIN_URL."/login/index.php", 'DEFAULT_URL' => ADMIN_URL."/start/index.php", 'TEMPLATE_DIR' => THEME_PATH."/templates", -------- to be => TEMPLATE_DIR."/login/", 'TEMPLATE_FILE' => "login.htt", ----------- to be => "login.php", 'FRONTEND' => false, 'FORGOTTEN_DETAILS_APP' => ADMIN_URL."/login/forgot/index.php", 'USERS_TABLE' => TABLE_PREFIX."users", 'GROUPS_TABLE' => TABLE_PREFIX."groups", ) );
I am just wondering how the THEME_PATH works and TEMPLATE_DIR does not ??
echo THEME_PATH;echo TEMPLATE_DIR;
echo THEME_PATH; I:\WebsiteBaker Portable1_2\htdocs\wb2/templates/classic_themeecho TEMPLATE_DIR; http://127.0.0.1:4001/wb2/templates/im
<br /> <?php echo THEME_URL; ?> http://127.0.0.1:4001/wb2/templates/classic_theme<br /> <?php echo TEMPLATE_DIR; ?> http://127.0.0.1:4001/wb2/templates/im<br /> <?php echo WB_URL.MEDIA_DIRECTORY; ?>/heder/3.jpg http://127.0.0.1:4001/wb2/media/heder/3.jpg
<link href="<?php echo TEMPLATE_DIR; ?>/im.css" rel="stylesheet" type="text/css" media="screen" />
<link href="http://127.0.0.1:4001/wb2/templates/im/im.css" rel="stylesheet" type="text/css" media="screen" />