From: Wendall C. <we...@83...> - 2003-11-06 10:46:16
|
Stephen, This still works for me: // get a list of the categories for this feed from FatCat $tags["CATEGORY"]$_SESSION['OBJ_fatcat']->fatcatLinks($this->getId(), "rssfeeds"); Should I change this to be consistent with the new changes? Wendall On Wed, 2003-11-05 at 13:12, Steven Levin wrote: > Hello Everyone, > > There is another necessary change I have recently discovered which was > not covered in the docs that I sent out. If you are the using the > approval or fatcat module you will need add a require_once() in the conf > files for each class that is needed. > > Examples: > announce/conf/approval.php > <?php > > if($_SESSION["OBJ_user"]->allow_access("announce")){ > require_once(PHPWS_SOURCE_DIR.'mod/announce/class/Announcement.php'); > > if ($approvalChoice == "yes"){ > PHPWS_Announcement::approve($id); > } else if ($approvalChoice == "no") { > PHPWS_Announcement::refuse($id); > } else if ($approvalChoice == "view") { > $ann = new PHPWS_Announcement($id); > echo $ann->view("small", TRUE); > } > } > > ?> > > calendar/conf/fatcat.php > <?php > > require_once PHPWS_SOURCE_DIR . "mod/calendar/class/Calendar.php"; > > $className = "PHPWS_Calendar"; > $methodName = "viewFatCatEvent"; > > ?> > > And thats all. |