The distribution comes with the following directory structure.
| back-end/ | ||||
| htdocs/ | ||||
| back-end/ | ||||
| ads/ | ||||
| images/ | ||||
| layout/ | ||||
| includes/ | ||||
| ads/ | ||||
| back-end/ | ||||
| classes/ | ||||
| lang/ | ||||
| templates/ | ||||
for example: $includes_path = "/usr/local/apache/htdocs/yoursite/includes";
main_file.php should be renamed to a file name related to your site. If your server is set to read .phtml, .php, .php3 files and parse them you can use any of these extensions.
Unfortunately Google apparently trip over url's like /main_file.php/articles/4/ However, if you have permission to use a .htaccess file you can set all files to parse php scripts. Just rename the file no.htaccess to .htaccess and you should be able to set main_file.php to whatever you like.
do not include a trailing slash!
$includes_path = "/usr/local/apache/htdocs/yoursite/includes";
You need a main.tpl for the homepage and an article.tpl for the default installation.
The templates are located at /includes/templates.
For further information about templates, please refer to Chapter 3.
If you want to be able to use the Build Articles function, you will need to make sure that php can write to the server.
b) Next build the tables within your newly created database mysql -u username
-p password If you are using phpMyAdmin (www.phpwizard.net/projects/phpMyAdmin/) as an
interface for your database you can just cut and paste the contents of this
file into the query box and set up the scripts.
a) Remember to add your own username and password before you delete the default
administrator password.
b) You will need to change the url's in the navigation bar to include your
new main_file.php
Rename dynamic navbar files in the admin interface. By default they are
set for a directory/file name which may not exist on your server.
b) A number of language definitions are provided in /includes/lang/, pick
which languages you want as your primary & alternate languages and list them
in settings.inc
c) In the Admin interface insert text into both content and alt_content boxes.
Similarly, provide alt_title, alt_description & alt_name in the appropriate
interface.
d) Create two template files (one for each language) main.tpl & alt_main.tpl
will suffice.
e) To provide a link to jump between languages, insert {request_uri} & {alt_request_uri}
into your template files to provide the url for the content/navigation in
the other content.
Ideally you will have the whole /includes/ directory in a location which
is not visible through the web. If this is not an option, please make sure
that there is a password on this directory.
Finally, to ensure that there is some token of security on your MySQL data,
it is stored in db.php which is parsed by php so that no critical data is
displayed via the browser.
Logging In For the First Time
Location/File Names
8. Bilingual Interface
a) The bilingual admin interface can be turned on & off in the settings.inc
file.
SAFE MODE NOTE
If you are running this script in safe mode you will not be able to use the
Build Articles feature. The script will create a stand alone page, but it will
not display it to the browser. If you download this page and upload it again,
it should work.
SECURITY NOTE
Some of the files in the includes directory contain information which
should not be publically accessible.