w3easyToolbox Manual

Box for the w3easyTools...

w3easyToolbox Manual

Postby admin » 01.07.2012 14:55

(C) 20011/2012 Joachim Haack, http://w3easy.org

PHP 5 (maybe also PHP 4 will do)
NO DATABASE required.

Please note: The w3easyToolbox is still in developement.

The w3easyToolbox is just a 'box' to have the w3easyTools at your hands. It' main purpose is to display links to the w3easyTools and also to external applications. Furthermore there are displayed some general informations like the absolute path ('realpath') to the script, current date and time, php-info, links to the logfiles and you may add some quick links, if you like. That way the w3easyToolbox might be something like your hopefully always well organized admin desktop or at least a part of it.

First unpack and then upload the script folder to your webspace. Make sure that only you have access to the scriptfolder (I'd recommend htaccess directory protection using our w3easyProtect script...).
Make sure that you have permission to edit the config file (depending on your server settings chmod file to 0666, 0664 or 0644 if necessary.)

Settings (creating news)
So far there is no edit function to edit the configuration within the script, so you will have to do it f.e. with the w3easEditor. Specify the following main paths and data:

Code: Select all
$tb_domain        = "w3easy.cms";
$tb_title         = "w3easyToolbox";
$tb_charset       = "utf-8";
$tb_path_to_root  = "../../../"; // for link to the homepage
$tb_path_to_admin = "../"; // for link to the admin area, if exists

If the w3easyToolbox is included in a page of your site, f.e. in the general admin page, as it is the case in the w3easyCMS, you also have to specify the respective path to the w3easyLogs from the page, where the toolbox is included:

Code: Select all
$tb_pt_logs_incl  = "w3easyLogs/"; // link to w3easyLogs directory if included
$tb_pt_logs_alone = "../w3easyLogs/"; // link to w3easyLogs directory if standalone

In the case of the w3easyCMS the functions for the w3easyToolbox and the Logfiles are already included in the main w3easyCMS function file. Thus if you use the script with the w3easyCMS and it is included in a page of your site, you may not include the functions.
But if you use the script standalone, you have to include the functions.

Code: Select all
$functions_incl   = ""; // "yes" or "no"

There are 2 possibilities to display the links to the logfiles: You can display links to all available logfiles ('all', recommended) or only to logfiles containing logs.

Code: Select all
// how the logfile links will be displayed
$all_or_active    = "all"; // "all" or ""

Finally you may have 2 link arrays, where you can insert 'quick links' to files, that are often needed or that are interesting for any reasons:

Code: Select all
// Quick Links
// $ql[] = "<a href='testfile.php'>testfile.php</a><br>";
// $ql[] = "<a href='testfile_2.php'>testfile_2.php</a><br>";

// $ql2[] = "<a href='testfile_3.php'>testfile_3.php</a><br>";
// $ql2[] = "<a href='testfile_4.php'>testfile_4.php</a><br>";

Btw: Don't forget to save your settings!

Links to the w3easyTools and to external applications are provided by files in the '/tool-links/' folder and the '/tool-links_ext/' folder, that point to the respective applications by the meta refresh forwarding, i.e. you have to create the respective files in the respective folder and insert there the forwarding target.
The easiest way to do it is to copy a file in these folders and specify the respective link and link title.
For the w3easyToolbox not (yet) has an edit function included, for now you will have to do it with an editor like the w3easyEditor...

That's it.
Have fun and take it w3easy!
User avatar
Posts: 21
Joined: 17.03.2011 17:36

Return to w3easyToolbox

Who is online

Users browsing this forum: No registered users and 1 guest