|
Cookbook /
FormGuideSystemSummary: Flexible, extensible, parameter-driven system to support the use of form pages
Version:
Prerequisites:
Status:
Maintainer: John Feezell
<< Fox | Forms-related | Input >> GoalA flexible, extensible, parameter driven system to support the use of form pages within PmWiki. (see CompareFormsRecipes) SolutionTo achieve this goal the FormGuideSystem (FGS) uses two php scripts.
Installation, Setup and UsageRequired Files Basic First-Time Installation/Configuration (runs with PmWiki Beta28 ONLY!) Note: FGS may be installed in either a local or farm setup. References that follow to the cookbook or wiki.d folders may be consider as either local or as a farm. Download the above zip file and extract it to a working directory.
include_once("/cookbook/FGS-v2-latest.php");
include_once(" $FarmD/cookbook/FGS-v2-latest.php");
FGS will attempt to create a directory called "formguides"
This directory needs to have the same permissions as wiki.d
You may need to manually create this directory and set the permissions
Once this directory is setup, try the "prepform" link again.
When FGS is working correctly, clicking the "prepform" link on one of the "Design-.." pages will cause FGS to prepare a formguide and then link to and open for editing the PmWiki page set by the attach instruction on that "Design-.." page. At this point you can...
Usage .../wiki/group/WikiPage?action=edit&form=FGS-SampleFormGuide would open an existing or a new page with the associated form attached to group/WikiPage. DiscussionA good idea, in fact I was also already thinking about somthing like that. As I understand the form can be used page based. Would make sense if one form could be used for a whole group. Klonk I'm interested in trying this out, but I don't see a zip file to download. Did I miss it? KeithCampbell Hi, it seems to be interesting...please let us know how we can download the zip file. Claudio Looking for some love here! No file to download, so I assume this recipe is dead. Webster Its not dead, I spoke to the author a few days ago, its just not ready yet :) JJ? Demonstration SitesBundles and Styleguides
View
Open History
Planned Modifications
ContributorJohn Feezell, concept design and programming CopyrightCopyright 2004-2005 John Feezell, All Rights Reserved. Copyright release is hereby given to PmWiki site administrators to include these scripts in support of normal site operations. Modifications that conform to current copyright law can be made to the scripts for personal use. MerchantabilityTHIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE |