From: James E. F. <jf...@uv...> - 2004-04-14 23:34:53
|
I think this should go in the FAQ, or in the source either as comments in survey.php or as public/results.php (disabled by default somehow). What do you all think? (I don't really feel like I'm in a position to use my commit bit without running things by the rest of you now, since I haven't in quite a while and am not a user of phpESP.) -James -------- Original Message -------- Subject: Re: [phpesp-general] phpESP making survey results public Date: Tue, 13 Apr 2004 17:55:27 -0400 From: James E. Flemer <jf...@uv...> To: php...@li... References: <EAE...@7t...> You can make public results by doing the following, though note that it will make all results public. Make a copy of public/survey.php and add a line like: $results = 1; above the call to handler-prefix, then use that page just like the survey.php page. It should display results instead of the survey. Also note that the same applies to custom survey templates, setting $results to one before calling handler{-prefix} will switch to results mode. -James KEVIN field wrote: > Hi, > > I'm looking for advice/help from anyone who has customized phpESP to > make a survey's results public. By default viewing the graphed > results of a survey can only be done from the survey manager, which > requires an http-authenticated login. I'm interested in taking a > specific survey and publishing the graphed results to a publicly > viewable section of a website, so any survey respondent could see the > survey results. > > If anyone has made this customization, or has any advice to facilitate > this type of feature, I'd appreciate some insight. Thanks > > Kevin ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ phpESP-general mailing list php...@li... https://lists.sourceforge.net/lists/listinfo/phpesp-general |