Zen Cart(tm) Wiki talk:Site support
From Zen Cart(tm) Wiki
Might want to consider adding direct links from this page instead of just linking to http://www.zen-cart.com/modules/freecontent/index.php?id=24
Certain predesigned forms can be added to the wiki with the use of a mediawiki addon, as is currently done on my site. Here's how I did it:
- Download the file inputbox.php (http://cvs.sourceforge.net/viewcvs.py/wikipedia/extensions/inputbox/) to the 'extensions' directory of your MediaWiki installation.
- Look at the Inputbox class in that file and copy one of the "get*Form" methods into a new one and replace the html.
- Look at the method render() of the class Inputbox and add another elseif and link it to the new method you copied.
- Add the line
require_once("extensions/inputbox.php");to LocalSettings.php. - Add the following where you'd like to display the form, and replace 'donate' with whatever you called the newly created type;
<inputbox>
This only allows the use of whatever predesigned forms created in inputbox.php
--Dwno 12:27, 8 January 2006 (MST)
