// readme.txt /* mini-news - version 1.0 - created 2004-10-27 */ /* copyright © 2004 Andy Bowers */ /* This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ Mini-news script from php_noob ============================ This set of scripts and supporting files are intended to be used as in a 'mini-news system' on (selected pages of) your site. The script assumes that you have ALREADY CREATED a database containing a table named mininews with the same field names as defined in the included sql file [mininews.sql]. This can be used to create the correct table structure using phpAdmin's SQL import function. Edit the db_conn.php file included in this zipped set of files, so that it includes YOUR values for database name, database username, and database password. Edit the config.php file to adjust the styles applied to text used in the mininews displays. The style for date text is found in the file datefunc.php. Then upload the complete set of files to your server in a folder named /mininews/ as a sub-folder to the folder containing the pages on which you want post site news. Do NOT change any of the file names. To use the script, add the following code where you want the mininews system to appear on any page. Adjust the value of $parms to suit the way in which you want the news to appear on THAT page. Mini-news Editor ================ The download package includes a simple but effective editor that allows you to add, edit, and delete news items, as well as assign items to more than one news category. Adjust the value of the password given in the file named configpass.php (everyone who downloads the package will have the same password to begin!!). Demo Page ========= This package contains a simple php file you can use as a demonstration file, to illustrate how the page/pages of your site can be coded to allow the mininews system to work.