Easynews Help
In this section you will find all the information you will ever need to install and set up Easynews.
Installation
-
Download Easynews and edit the config.php file with your database info.
-
Place the files anywhere in your web directory (keep the Easynews original files and folders structure intact).
-
Open up your web browser to:
- http://yourserver.com/Easynews_directory/setup.php
-
In the page* where you want the news to be displayed, use this code:
<?php include("Easynews_path/easynews.php"); ?>
* Notice that when you include a PHP script in a HTML page, the file must be saved as php for the server to understand it.
Important Note
You must check that the permissions of the directory /images/ under Easynews folder are set to 777 (as it should already be in the package) in order to be able to upload images.
Failing to do so will make the image upload impossible.
Changing permission can be done with most FTP client programs. For help on this matter, ask your web space provider.
Setup
Easynews has a configuration file called config.php that you can edit with any text editor.
Before you upload the script into your web space, you have to edit this file to customize some settings.
In order to avoid problems with image and emoticon display is very important to setup the "$enPath" parameter.
The "$enPath" path instructs
Easynews on where to find the main script folder, so if you want to move the script to a new folder you simply need to update this setting.
You can set it up with absolute path like http://yourdomain.com/easynews/ or, better, using a relative local path. Using full URI in some server cause auto-resize function to fail so we recommend you to use local relative path instead.
Example
If Easynews files and folders are located into:
- http://yourdomain.com/easynews/
and the file that will include the news is:
- http://yourdomain.com/file.php
then the "$enPath" will be "$enPath='easynews/';" and file.php will include the news using:
<?php include('easynews/easynews.php'); ?>

