This module allows you to quickly generate, format, style and manage front end form templates for custom ListIt2 instances.
You must have a working knowledge of ListIt2 and at least one custom ListIt2 instance.
The following ListIt2 field type definitions work with ListIt2FEEdit:
There is no guarantee that other field definition types will work with ListIt2FEEdit.
When a Text Input field has an alias of 'email', ListIt2FEEdit will perform an email validation check on the input.
[item_id]-[fielddef_id]-[file-name-munged-to-url].[extn]
Simply put the following tag in your page or template:
{ListIt2FEEdit mod='ListIt2MyCustomModule'}
This outputs the default ListIt2FEEdit template on the front end. To create your own templates, in Admin, go to Layout->ListIt2 Front End Edit, add a new tempate and code away.
To edit an existing record, create a detail template, eg 'feedit' in your custom ListIt2 instance and enter the following tag:
{ListIt2FEEdit mod=$mod->GetName() item_id=$item->item_id}
Then on your content page, call the custom ListIt2 instance and set the detailtemplate to 'feedit'.
To create a Delete link for an existing record, create a detail template in your custom ListIt2 instance and enter the following tag:
{ListIt2FEEdit action=delete mod=$mod->GetName() item_id=$item->item_id returnpage=$page_alias}
Then on your content page, call the custom ListIt2 instance and set the detailtemplate.
This module does not include commercial support. However, there are a number of resources available to help you with it:
As per the GPL, this software is provided as-is. Please read the text of the license for the full disclaimer.
Copyright © 2014, Clip Magic <admin@clipmagic.com.au>. All Rights Are Reserved.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
However, as a special exception to the GPL, this software is distributed as an addon module to CMS Made Simple. You may not use this software in any Non GPL version of CMS Made simple, or in any version of CMS Made simple that does not indicate clearly and obviously in its admin section that the site was built with CMS Made simple.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Or read it online