PLUGIN README websiteFavorites - Website favorites functions for allowing users to marking records as favorites (or "saving" records) in their profile. ------------------------------------------------------------------------------- GETTING STARTED ------------------------------------------------------------------------------- Please be aware that this is a fairly advanced plugin. It will take care of the basics and save you a lot of time implementing "saved" or "favorite" records, but adding functionality beyond the basics may require more advanced PHP, MySQL, Javascript, HTML or CSS knowledge. This plugin works with the "Website Membership" plugin and requires that users be logged in to mark a record as saved or favorite. 1) Install and activate the "Website Membership" plugin in the CMS under: Admin > Plugins. 2) Install and activate the "Website Favorites" plugin in the CMS under: Admin > Plugins. 3) Update the following variables at the top of the plugin file: $GLOBALS['WSF_LOGIN_REQ_MESSAGE'] = "You must login to use this feature!"; // This is displayed if the user tries to add a favorite and isn't logged in to the website CREATING ADD/REMOVE FAVORITE LINKS ------------------------------------------------------------------------------- Follow these steps: 1) Make sure that /lib/viewer_functions.php is loaded at the top of the page. The filepath will be different for each server but the PHP tag will look similar to this: 2) Add the following code to the of your html page: Notes: - If needed, change the path /cmsAdmin/ to reflect the url of your CMS - Add this code before any other