In the "baseconfig.php" file the config settings from the administration will be stored. For a server move only the variables
$webutler_config['server_path'] = "";
$webutler_config['homepage'] = "";
$webutler_config['admin_name'] = "";
$webutler_config['admin_pass'] = "";
must cleared, and the installation must be performed again. The file must be writable in order to save the settings from the Administration can.
server_path | absolute server path "/home/yoursite/htdocs" |
homepage | home page domain "https://www.yoursite.de" |
admin_name | User name - access for the administrator |
admin_pass | Password for the administrator |
admin_lang | Language of administration |
startpage | Home page - Notification to call the index page |
errorpage | Custom error page |
imgsmallsize | Default for image scaling in the media browser |
array(width, height) | |
imgboxsize | Scaling of the original image to the lightbox |
array(width, height) | |
chmod | Write permissions set, according to the information of the provider the first value is for directories, the second for files |
array(folders, files) | |
sub_admins | Weitere administrators |
In the file "globalvars.php" can not administrable more basic settings are made. It is unique settings that should not be changed during operation. Therefore, they are not manageable and are located in a separate file.
In the globalvars.php can disable inter alia, various menu items. Thus, individual administration, depending on the scope of the home page and the desired functions realize. Over the Webmaster Login most functions are accessible despite deactivation.
additional access for the webmaster | |
master_name | User name |
master_pass | Password - md5(salt_key1.password.salt_key2) encrypt |
master_lang | Webmaster language of administration |
Salt Keys | |
salt_key1 | String of: A to Z, a to z, 0 to 9 and #+-_*@%&=!? |
salt_key2 | String of: A to Z, a to z, 0 to 9 and #+-_*@%&=!? |
The Salt Keys can not be changed during operation. Otherwise, all passwords must be reassigned. | |
Session name | |
session_name | The name of the WEButler session or WEButler cookie. |
Activated administrator languages | |
enabled_adminlangs | Array with the languages to be selectable by admins. |
Login failed attempts | |
After 5 failed logins the IP of the user will be blocked. | |
logattemptmin | Minutes the blocking should be active Blank for unlimited login attempts |
Search Engine Friendly URLs | |
modrewrite | 0 = disabled 1 = enabled |
File extension of the SEO URLs | |
urlext | Point with string (all lowercase) or empty for no extension |
Default language of the website | |
defaultlang | this language will be loaded if no other is found |
Links to user or disused sites | |
offlinelinks | 0 = not change 1 = remove href but show link text 2 = remove link completely (only in menus, in continuous text the word preserved = as in 1) |
Save steps to undo | |
How many "save steps to undo" should be available | |
stepsback | Enter number of steps |
Show consents of cookies | |
cookie_consents | 0 = do not show 1 = show |
Advanced administrator features | |
Window "Advanced administrator features" only show for the webmaster | |
admin_advanced | 1 = only webmaster 2 = always show |
Display "Edit Current Page" | |
fullpageedit | 1 = In Admin menu 2 = In the Admin window "Advanced Settings" |
Insert columns elements | |
insertcolumns | 0 = disabled: Don't insert Columns 1 = enabled: View insert columns 2 = enabled: View insert columns only in Editor |
Display of the insertion points on the selection of columns | |
insertpoints | 1 = See also on blocks and menus 2 = Show only on other columns and content elements |
Offer virtual directories in the URL | |
directories | 0 = disabled: do not display directories 1 = enabled: show directories |
Edit CSS & JS files | |
edit_css_js | 0 = disabled: do not display 1 = enabled: show |
Use the form modules | |
forms_modul | 0 = disabled: disables the receiver Administration 1 = enabled: Create receiver and select in editor |
forms_time2send | The honeypot must be integrated into the form! The form will not be submitted if it is sent faster than the seconds specified here. Default value: 5 (seconds) |
Multilanguage | |
Map pages of different languages | |
languages | 0 = disabled 1 = enabled |
Show language as URL directory | |
langfolder | 0 = disabled 1 = enabled |
"Adding new languages" in the admin menu show only for the webmaster | |
setnewlang | 1 = only webmaster 2 = always show |
View access rights control | |
Block pages, create users and user groups | |
userlogs | 0 = do not show 1 = show |
Search function | |
If on the search results list, a search form is displayed? | |
searchshowinput | 0 = do not show 1 = show |
How many results are displayed per page? | |
searchlistitems | Indicate number |
On how many characters the search result should be reduced? | |
searchresultlen | Specify length |
Script to create simple in-/output modules | |
View the ModMaker in the admin menu | |
makemod | 0 = do not show 1 = show |
Show module administration areas | |
Link care in the file /settings/modulebox.php | |
modsonlog | 0 = do not show - for example, if there are no modules 1 = show only under the login 2 = show only in the Administration menu 3 = view below the login AND the Administration menu |
Administration add, rename, and delete pages | |
adminnewpage | add: 0 = disabled 1 = enabled |
adminpagename | rename: 0 = disabled 1 = enabled |
admindelpage | delete: 0 = disabled 1 = enabled |
Administration pattern | |
Create editor pattern | |
adminpattern | pattern: 0 = disabled 1 = enabled |
Administration subddmins, layouts, menus und blocks | |
Editing functions for subddmins, layouts, menus and blocks in the "Advanced Administrator Functions" window | |
adminsubusers | Subusers: 0 = disabled 1 = enabled |
adminlayouts | Layouts: 0 = disabled 1 = enabled |
adminmenus | Menus: 0 = disabled 1 = enabled |
adminblocks | Blocks: 0 = disabled 1 = enabled |
Maximum number of entered administrators | |
subadminslen | Enter number of subadmins |
Compress CSS / JS on every page load | |
If you don't edit CSS and JS files with the online editor, you can set the variable(s) to 1 during development. You must be logged in as an administrator to trigger the compression on load. | |
compressor_onload_css & ... _onload_js | 0 = disabled 1 = enabled |
Media browser popup | |
mediabrowser_wh | Value or percent value: array(window width, window height) |
Image editor popup | |
imageeditor_wh | Value or percent value: array(window width, window height) |
Convert images to WEBP format | |
convert_webp | 0 = disabled 1 = force webp |
Image compression | |
webp_quality | WEBP quality (default: 80) |
jpg_quality | JPG quality (default: 75) |
png_compress | PNG compression (default: 9) |
Font colors according to CI in the editor | |
editorcicolors | A maximum of 8 web color codes, separated by commas without diamond |
Show icon for PHP und Javascript source in editor | |
codeicon | 0 = disabled 1 = enabled |
For text alignment and text-indent use CSS classes instead of the style attribute | |
ckecssclasses | 0 = disabled 1 = enabled |
If this option is enabled, the following classes must be present in the CSS file: For text alignment: alignleft, aligncenter, alignright and alignjustify For text-indent: indent1, indent2, indent3, indent4 and indent5 |
|
Provider for the Embed Media plugin | |
ckeembed | default = "" |
An account can be created at iframely.com. But there are also other providers. | |
Background color menu editor | |
ckemenubg | Setting the webcolor, without diamond |
Background color block editor | |
ckeblockbg | Setting the webcolor, without diamond |
Background color editor comboboxen | |
ckecombobg | Setting the webcolor, without diamond |
In the "compress.php", the paths to stylesheet and javascript files are entered, without leading slash. Stylesheets must be entered under the array key 'css', javascripts under the key 'js'.
Example:
$webutler_compress['css'][] = 'content/style/styles.css';
$webutler_compress['js'][] = 'content/javascript/lightbox/lightbox_plus.js';
In the "modulebox.php" links will be added to administration areas of individual modules. If there are modules and these should be directly called from the WEButler administration, the variable $webutler_moduleslist can be extended.
Scheme:
list = module('Module name', 'Link to module administration', 'show at login page')
Example:
$webutler_moduleslist = array(
array('News', 'news/admin.php'),
array('Galery', 'galery/admin.php', '-')
);
With the setting $webutler_config['modsonlog'] = 1 or 3 (globalvars.php), the display on the login page can be suppressed with an additional minus sign as the third parameter, for example, if the module does not have its own login.
In the file "searching.php" can be set which is to be searched. The variable $webutler_pagesearches can be set to zero
$webutler_pagesearches = 0;
when pages from the directory /content/pages are not to be searched. In the variable $webutler_modulesearches the search plugins individual modules can be entered. The entry is made according to the following pattern:
$webutler_modulesearches[] = array('__PATH_OF_SEARCHPLUGIN__', '__FILENAME_INCLUDEPAGE__');
For the variable __PATH_OF_SEARCHPLUGIN__ the path is registered to the search plug-in file, starting from /modules directory - ie usually the module name. For the variable __FILENAME_INCLUDEPAGE__ the page is entered which loads the module.
Example: $webutler_modulesearches[] = array('news', 'aktuelles');
For multilingual sites must exist for each language an include page. These are then entered separated by commas. In the example, there is the german page "aktuelles", the english page "news" and the french page "actuel".
Example: $webutler_modulesearches[] = array('news', 'aktuelles,news,actuel');
When in a ModMaker module categories were created as entry points, the category ID must be specified as the third value in the array:
Example: $webutler_modulesearches[] = array('comments', 'seite,page', 3);
In the file "sitemaps.php" can select which modules to include in the sitemap. The variable $revisit_after can be set after how many seconds the sitemap is to be renewed. Default setting is 24 hours. In the variable $webutler_modulesitemaps the module name and the include pages will be registered. The entry is identical to the variable $webutler_modulesearches of the search function. The entry is made according to the following pattern:
$webutler_modulesitemaps[] = array('__PATH_OF_SITEMAP_FILE__', '__FILENAME_INCLUDEPAGE__');
In the place of __PATH_OF_SITEMAP_FILE__ the path is entered to the sitemap file from directory /modules - ie usually the module name. In the place of __FILENAME_INCLUDEPAGE__ the page is entered, the loads the module.
Example: $webutler_modulesitemaps[] = array('news', 'aktuelles');
For multilingual sites must exist for each language an include page. These are then entered separated by commas. In the example, there is the german page "aktuelles", the english page "news" and the french page "actuel".
Example: $webutler_modulesitemaps[] = array('news', 'aktuelles,news,actuel');
When in a ModMaker module categories were created as entry points, the category ID must be specified as the third value in the array:
Example: $webutler_modulesearches[] = array('comments', 'seite,page', 3);
Load global header and footer files:
$webutler_autoheaderdata[] = '<meta name="viewport" content="width=device-width" />';
$webutler_autofooterdata[] = '<script src="footerscript.js"></script>';
An email address can be used for sending via SMTP, e.g. a noreply address.
The access data must be entered in the file smtp.php:
$webutler_smtpdata = array( | |
'noreply@my-domain.tld' => array( | // The email address as array key |
'server' => 'smtp.my-domain.tld', | // SMTP Server |
'username' => 'myname', | // Login username - usually the email address |
'password' => 'secret', | // Login password |
'ssl' => 1 | // 1 = SSL / 0 = TLS |
) | |
); |
If access data for an address is entered in smtp.php, all emails will be sent with this address. The e-mail address stored in the administration appears in the e-mail as the reply address.