====================================================== define_mainpage v1.2 OSC CVS 2.2 Addon Description: This minor hack lets you define the contents of the main catalog page through the Admin side of OSC. It supports the editing of the different languages/pages. Its basically a copy of define_languages.php so all credit for this thing should go to the OSC development team. I didn't write it, I just recycled it in a creative way ;) This release includes 3 mainpage examples (one for each distro language) so you can get an idea of what this code can do. Obviously you can do all this without this hack but this makes your editing and life in general a lot easier. Install it and you'll see what I mean. This addon is released under the GNU licence. If you find any bugs, improvements or valueable loot you'd like to share drop me a line at mattice@xs4all.nl steven_joseph_p@yahoo.com ========================================================= PLEASE NOTE THAT SOME ERRORS ARE CAUSED BY A MISSING TRAILING SLASH (/) IN admin/includes/configure.php FOR THE DEFINITION, IT SHOULD LOOK LIKE THIS: define('DIR_FS_CATALOG', /path/to/your/catalog/'); THIS IS CAUSED BY WRONG INPUT ON INSTALL OR A CVS BUG. IT WILL ALSO PREVENT THE LANGUAGE DEFINE TOOL FROM WORKING. (c) /\/\attice 06-April-2002 DTPM File have all been corrected and also there are examples of the application top and the english.php....i have encluded Define Main page ins all the php files so that confusion may not occur if you wish to manaul edit this files....which is strongly suggested All files have been edited and test on the current snapshot Steven Pignataro (steven_joseph_p@yahoo.com) July 29, 2002
hejno