From: <ada...@us...> - 2003-10-22 10:00:56
|
Update of /cvsroot/phpwebsite-comm/modules/article/docs In directory sc8-pr-cvs1:/tmp/cvs-serv22121/docs Modified Files: Changes.txt INSTALL.txt INTRODUCTION.txt Log Message: 2.0 Release Index: Changes.txt =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/article/docs/Changes.txt,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** Changes.txt 20 Sep 2003 22:19:09 -0000 1.4 --- Changes.txt 21 Oct 2003 21:14:27 -0000 1.5 *************** *** 1,3 **** --- 1,23 ---- ======================== + Changes in version 2.0 + ======================== + NEW FEATURE! Added capability to edit "keywords" and "robots" metatags. + "Automatically Generate Metatags" must be checked in the configuration menu for this to work. "robots" metatags can only be edited by admins that have "Edit Search Engine Instructions" checked in the "Edit User" page. + NOTE: For this feature to work, the latest CVS copy of mod/layout/class/Layout.php must be installed. You can rsync it or download it using this link: + + http://res1.stddev.appstate.edu/horde/chora/co.php/layout/class/Layout.php?login=2&r=1.59&p=1&Horde=3430edc1fe94de721ac3c0f4c838a799&Horde=3430edc1fe94de721ac3c0f4c838a799 + + Other Changes: + -Article Manager uses the moduleLink method more extensively now to take advantage of the "mod-rewrite" hack (in production test on www.vibride.com). + -Fixed problem with "printable version" links. + -Fixed problem with using apostrophies in "Image Caption" text. + -Fixed import scripts to handle parsed data. + -Fixed bug where the category view was showing up in the wrong order. + -Fixed Import Script bug where no sections were being saved. + -Installation Instructions: Stressed again the need to back up your data. + -Installation Instructions: Added a section on what do to if an import fails. + + + ======================== Changes in version 1.5.2 ======================== Index: INSTALL.txt =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/article/docs/INSTALL.txt,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** INSTALL.txt 9 Jul 2003 20:24:25 -0000 1.1 --- INSTALL.txt 21 Oct 2003 21:14:27 -0000 1.2 *************** *** 28,40 **** The import script changes data for the menus, categories, approval and comments modules so that they'll automatically point to the new pages. There is no export script because the best way of reverting data is to restore the entire database from a recent backup. SUGGESTION: ! As with all data conversions, sometimes bad data can screw up the process. I've tried to account for all potential problems, but to be sure that everything is converted properly I suggest that you make a small change to your /core/Database.php file. Change line #461 from this: if($this->query($sql, FALSE, TRUE)){ to this: if($this->query($sql, FALSE, FALSE)){ ! So you can see any error messages that the database creates. If you want to keep track of when phpWS screws up, don't change it back. 1. Make the convert/reroute/ directory writable (apache.apache, nobody.nobody, 777). 2. Make sure the images/articlemanager/PM & images/articlemanager/ANN directories are writable (apache.apache, nobody.nobody, 777). --- 28,42 ---- The import script changes data for the menus, categories, approval and comments modules so that they'll automatically point to the new pages. There is no export script because the best way of reverting data is to restore the entire database from a recent backup. + Also, if you had any <img>,<form>,<input> or <font> tags in your userpages, don't forget to add those tags to $allowed_tags in your /conf/textsettings.php file before you run the import! phpWS strips out any unallowed tags from the data as it finds them. SUGGESTION: ! As with all data conversions, sometimes bad data can screw up the process. I've tried to account for all potential problems, but to be sure that everything is converted properly I suggest that you make a small change to your /core/Database.php file. Change line #460 from this: if($this->query($sql, FALSE, TRUE)){ to this: if($this->query($sql, FALSE, FALSE)){ ! So you can see any error messages that the database creates. If you want to keep track of when phpWS messes up stuff, don't change it back. + 0. Back up your entire database. 1. Make the convert/reroute/ directory writable (apache.apache, nobody.nobody, 777). 2. Make sure the images/articlemanager/PM & images/articlemanager/ANN directories are writable (apache.apache, nobody.nobody, 777). *************** *** 45,48 **** --- 47,58 ---- 7. Change the write permissions on the convert/reroute directory to not writable. 8. Back up the files in the convert/reroute directory. They won't ever change again. + + + ----------------------------------------------------------------------------- + WHAT TO DO IF THE IMPORT FAILS + ----------------------------------------------------------------------------- + Announcements and Pages are imported, the script also converts the comment, menu, and fatcat data to point at the new articles. It also creates URL rerouting files named announce.AM and pagemaster.AM in the convert/reroute directory so that once you uninstall Announcements and/or PageMaster, any requests for a specific announcement/page will cause the display of it's equivalent article. + + The problem with this is that since you had a failed import, you have to roll back the clock before you do it again because the menu, fatcat, and comment links are pointing at the first set of articles that were created. Restore the entire site database from the backup you created in step 1 of the installation instructions and delete the files "/convert/reroute/announce.AM" and "/convert/reroute/pagemaster.AM". Then run the import script again. Index: INTRODUCTION.txt =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/article/docs/INTRODUCTION.txt,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** INTRODUCTION.txt 31 Aug 2003 22:55:33 -0000 1.3 --- INTRODUCTION.txt 21 Oct 2003 21:14:27 -0000 1.4 *************** *** 35,41 **** A "News" page that displays all articles An "Archives" page that lists all articles created or updated on a certain day, month or year. Perfect for blogs! ! NOTE: The feature "Articles can be viewed only by certain groups" has been disabled pending the re-vamp of the FatCat module for phpWebsite version 0.93. --- 35,44 ---- A "News" page that displays all articles An "Archives" page that lists all articles created or updated on a certain day, month or year. Perfect for blogs! + Articles can generate customized webpage metatags + NEW FEATURE! Added capability to edit "keywords" and "robots" metatags. + NOTE: See Changes.txt for phpWebsite version requirements for this feature ! NOTE: The feature "Articles can be viewed only by certain groups" has been disabled pending the re-vamp of the FatCat module for phpWebsite version 0.94. *************** *** 97,108 **** SECTIONS: ! This is the meat of the article. A article can contain as few or as many sections as you like. When you create or start editing a article, all currently save sections are displayed as finished. After each section you will see buttons to edit that section or to move the section above or below its neighbors. Near the bottom of the article a new blank section is created for you with its own "Save" button. See "Editing Sections" for a description of how they work. CONFIGURATION OPTIONS: - Category: - The topic categories that this article falls under. - Allow Comments: Whether users can add discussion or comments to this article --- 100,108 ---- SECTIONS: ! This is the meat of the article. A article can contain as few or as many sections as you like. When you create or start editing a article, all currently save sections are displayed as finished. After each section you will see buttons to edit that section or to move the section above or below its neighbors. See "Editing Sections" below for more information. Near the bottom of the article a new blank section is created for you with its own "Save" button. See "Editing Sections" for a description of how they work. CONFIGURATION OPTIONS: Allow Comments: Whether users can add discussion or comments to this article *************** *** 117,123 **** A story can only remain on the site until it expires. You don't need to change this value. The site administrator has set a default period before stories expire. If you want this story to be deleted before or after this date, then you can set it here. - WHAT DO I NEED CATEGORIES FOR? - If this article is assigned to a category, ArticleManager can then work with other phpWebsite modules to group related articles together and give interested users suggestions on other articles to surf. ARTICLE INFORMATION: --- 117,130 ---- A story can only remain on the site until it expires. You don't need to change this value. The site administrator has set a default period before stories expire. If you want this story to be deleted before or after this date, then you can set it here. + Category: + The topic categories that this article falls under. If this article is assigned to a category, ArticleManager can then work with other phpWebsite modules to group related articles together and give interested users suggestions on other articles to surf. + + Keywords for this article: + Enter keywords for this article, separated by commas. When this article is shown, these keywords will automatically be added to the site-wide keyword metatag to aid Search Engines in indexing this page. + example: "help,keywords,metatags,search engine,optimization" + + Search Engine instructions (for Administrators only): + Select the instructions that you want search engine spiders to follow when they see this page. Select "Default Settings" if you're not sure which to pick. This option will use the site-wide setting selected in "Layout" ARTICLE INFORMATION: *************** *** 136,139 **** --- 143,150 ---- This option enables multi-article stories. When enabled, this section will be the first of a new page. + + + EDITING SECTIONS + ================ TITLE: Not necessary, but recommended. Enter the section title here. |