Please read everything here every time you enable a website. This will be changing as we add edit forms to our list

Revize Edit Forms Instructions - Version 2

Going forward every HTML that gets sent to be enabled will have a folder called editforms and in this form you will see all the standard editforms needed for any size site

Each form refers to a “plugins/_editforms_/v2” folder at the the root of the server there we have all the scripts plugins and includes needed for each form

Please never modify the include files at the root of the server

As usual there are editforms and editlists. All the editforms share the same includes as the other editform and all the editlists share the same includes as the other editlists. This means that to create any non standard editform, you can copy any editform/editlist from the existing set and modify it to work with what you need. Starting from the boilerplate-editform.jsp or boilerplate-editlist.jsp will get you started quickly since they will include every type of field so that you don't need to reference other forms to get started.

If you are not sure of something please ask Derek or Samir

Extra fields have been added to all forms. Anything not need just comment it out

Never have edit forms open in popup windows please

We have included the setup script in the include files so there is no need to add them

In head:

Editform:
<%@ include file="/util/setup_editform_before_endhead.jsp" %>
Editlist:
<%@ include file="/util/setup_editlist_before_endhead.jsp" %>

Start Body (before form):

Editform:
<%@ include file="/util/setup_editform_javascript.jsp" %>
Editlist:
<%@ include file="/util/setup_editlist_javascript.jsp" %>

End Body (after form) :

Editform:
<%@ include file="/util/setup_editform_before_endbody.jsp" %>
Editlist:
<%@ include file="/util/setup_editlist_before_endbody.jsp" %>

The folling have also been added

you will see these in all edit forms and edit lists

You will need to put in all the options for the scripts below

For Edit Forms
<%-- #RevizeProperties USE REVIZE MENU (DOCUMENT PROPERTIES) TO EDIT DATA BELOW:
status=new
options=
server=localhost:80
projectName=
label=
location=
version=
docType=editpage
subType=form
moduleName=
fieldName=
channels=|
description=Image Link Editform
--%><%-- #BeginRZ-PageHeader --%><%@
page language="java" %><%
String rzmodule = "imagelink";%><%@
include file="/util/setup_editform_header.jsp"
%><%-- #EndRZ-PageHeader --%>
For Edit Lists
<%-- #RevizeProperties USE REVIZE MENU (DOCUMENT PROPERTIES) TO EDIT DATA BELOW:
status=new
options=
server=localhost:80
projectName=
label=
location=
version=
docType=editpage
subType=list
moduleName=
fieldName=
channels=|
description=Image Link Editlist
--%><%-- #BeginRZ-PageHeader --%><%@
page language="java" %><%@
include file="/util/setup_editlist_header.jsp"
%><%-- #EndRZ-PageHeader --%>

In the html you will find comments for where to replace a textarea with Revize Text Editor

You will see something like this replace with revize text editor and keep...

Do not remove id's or classes on anything

We have used a few plugins for a great user experience

The ultra slim lightbox

Air Date picker

inputmask

bootstrap

Disabled for now to reduce complexity
Bootstrap Tour

boilerplate editform
boilerplate editlist
agenda minutes detail editform
agendas minutes category editform
alert editform
banner editform
banner editlist
business directory editform
business directory editlist
business type editform
business type editlist
copyright editform
freeform editform
home slider editform
home slider editlist
Instructions Page
jobslist editform
leftnav title editform
metadata editform
news editform
quick link editform
quick links editlist
social editform
staff directory editform
staff directory editlist