Fabrik User Manual 0


Add - To add the group to your form select it and press this button • Current groups



Yüklə 1,97 Mb.
Pdf görüntüsü
səhifə6/24
tarix17.09.2018
ölçüsü1,97 Mb.
#69275
1   2   3   4   5   6   7   8   9   ...   24

• Add - To add the group to your form select it and press this button
• Current groups - This shows the groups that have already been assigned to the
form. The order they appear in this list is reflected in the order they appear in
the form itself
◦ Up - To order a group up, select in in the current groups list and press
this button
◦ Down- To order a group down, select in in the current groups list and
press this button
◦ Remove- To remove a group from the form, select in in the current
groups list and press this button
Templates
The templates tab allows you to determine which template is used to render your form.
Form templates are found in /components/com_fabrik/views/form/tmpl.
Each template is contained within its own folder. To create a custom template copy one
of the existing template folders, rename it and upload it to your site.
There are some default css styling options for templates which are found in /media/
com_fabrik/css/form.css
• Detailed view template - The template to use when users are viewing a
record.
• Form template - The template to use when users are adding new records or
editing existing records
• PDF template - The template used when rendering the form/detailed view as a
PDF
In addition you can add a custom.css file to your templates' folders which will allow you
to safely modify an existing template without fear of loosing your changes when you
update to a newer version of Fabrik.
18


Options
The options tab lets you define further form options. The first three options define
whether certain buttons are displayed at the top of your form. The features are enabled
if 'yes' selected, or 'use global' selected and your site's global settings for the given
feature are set to 'yes'
• PDF icon - Show a PDF icon which outputs the form in a basic PDF format - note
not as a PDF form.
• Print icon - Shows a print icon which when clicked on will open a new window
with a printer friendly version of the form
• Email icon - Shows an email icon which when clicked on opens a new window
with a form which allows you to email a link to the page to a friend
• Show title - An on/off switch to show/hide the form's title (generally a


tag) in the HTML page
• Show title in detailed view - When in a detailed view, determine if you should
add the form's title to the page's head's tag. Often you may want to turn <br />this off to avoid duplicate page titles and instead edit the element's <br />• <b>Show related data links </b>- For this option to produce results your form needs to <br />be set to record in database, and its table has to have some options selected in <br />its <br />related data <br />section. <br /><b>CCK</b> <br />These options are used in conjunction with the Fabrik extended editor plug-in. When this <br />plug-in is installed and activated you get an additional 'Fabrik' <a href="/3-amaliy-mashgulot-malumotlarga-ishlov-berish-komponentasi-but.html">editor button which will </a><br />pop up a Fabrik form and allow you to add in custom content to your Joomla articles. <br />See this blog entry for a full demo: <br />http://fabrikar.com/blog/55-cck-video <br />• <b><span id='Category'>Category </span></b>- Select which Joomla content category the form should appear in <br />• <b>CCK Join element </b>- The element which will be used to store the article id, <br />creating a join between the Joomla article and the Fabrik record. <br />19 <br /></div> <STYLE type="text/css"> </STYLE> <hr /><div id="page20-div" > <br /><b>Submission plug-ins</b> <br />We have a series of plug-ins that can perform tasks when the form is submitted. To add <br />a new plug-in press the "Add" button. Once pressed you will see a form as shown in the <br />picture above. <br />• <b>Do </b>- Select the plug-in you would like to use. Once selected the plug-in's options <br />will <a href="/pendulum-periods.html">be loaded underneath </a><br />• <b>In - </b>state if the plug-in should be run only in when the form is filled in in the <br />front end, or only in the back end or for both occurrences. <br />• <b>On - </b>state if the plug-in should be run when adding a new record, editing and <br />existing record or for both occurrences <br />• <b>Delete - </b>removes the plug-in from the form <br />20 <br /></div> <STYLE type="text/css"> </STYLE> <hr /><div id="page21-div" > <br /><b>Email Submission Plug-in</b> <br />The email plug-in will send an email when the form is submitted. It has the following <br />options: <br />• <b>Email to - </b>A comma separated list of email addresses to which the form's data <br />will be sent. <br />• <b><span id='From'>From - </span></b>A comma separated list of email addresses to which the form's data <br />appear to have been sent from. element. <br />• <b>Email <a href="/corc-1332-geology-online.html">subject line - </a></b>The email's subject <br />• <b>PHP/HTML Template - - </b>As default Fabrik will send a dump of all the data <br />submitted by the form. If you need finer control over the output of the email you <br />can specify a template to use. <br />Templates can be either html or php files. <br />Templates should be located in: <br />/components/com_fabrik/plugins/form/fabrikemail/tmpl. <br />In HTML templates you can insert the form data with placeholders (see below) <br />In PHP templates you can use placeholders or access the form's data with : <br />echo $this->data['tablename___elementname']; <br />• <b>Article template - </b>If desired you can select a Joomla article to use as a <br />template. This article can use {tablename__elementname} placeholders which <br />will be replaced with the submitted form content. <br />If selected instead of a PHP/HTML template then the content <a href="/lesson-the-article-the-indefinite-article-the-absence-and-omis.html">of the article will be </a><br />emailed <br />If selected in addition to a PHP/HTML template the the content of this article will <br />be available for use in the PHP/HTML tempalte via the use of a placeholder <br />'{content}' <br />21 <br /></div> <STYLE type="text/css"> </STYLE> <hr />


Yüklə 1,97 Mb.

Dostları ilə paylaş:
1   2   3   4   5   6   7   8   9   ...   24




Verilənlər bazası müəlliflik hüququ ilə müdafiə olunur ©genderi.org 2024
rəhbərliyinə müraciət

    Ana səhifə