Fabrik User Manual 0



Yüklə 1,97 Mb.
Pdf görüntüsü
səhifə15/24
tarix17.09.2018
ölçüsü1,97 Mb.
#69275
1   ...   11   12   13   14   15   16   17   18   ...   24

• Tagify - If set to yes then the text area content will be split up into tags, each
tag separated by a comma.
When in the table view the data is shown as a list of links, each link will filter the
table's data on the tag's text:
Each link has the class 'fabrikTag' applied to it - this allows for the tag icons to
be shown to the side of the link.
User
The user element is a special database join element type, designed specifically for you to
store user data in your forms. It always stores the user id in the database table, but may
display in the table, form and detailed view pages another parameter associated with the
stored users account. Its value defaults to the current logged on user.
• Hidden - if checked then the element is rendered in the form as a hidden field
• User Data - if not hidden then the element is rendered as a drop down list, the
user data parameter allows you to define what user property is shown as for the
drop down lists labels (the user id is always used for the drop down lists values)
61


• Update on edit - Should the user value be altered to the current user when the
record is being edited. Set to yes if, for example, you are recording the last
person to have modified the record. Set to no if, for example, you want to record
the person who initially created the record
Additional Element Plug-ins
Timer
//@TODO
Youtube
//@TODO
Password
Form example
As the password is typed a password strength indicator appears next to the field. Stong
passwords contain eight or more upper and lower case alpha numeric and symbol
characters.
When saved the password is encrypted with the same format that Joomla uses to store
its user passwords.
Administration options
• Maximum length - the size of the password and password confirmation fields.
Note that the password element automatically performs 2 validations:
• Password field is not empty
• Password field matches the confirm password field
62


CAPTCHA
Administration options
• Show when logged in? - You may not want to ask a authenticated user to fill
in the CAPTCHA - if so then set this option to "no"
• Method -
◦ Standard - this shows an CAPTCHA image generated by the server:
◦ Recaptcha - this shows a CAPTCHA generated by the recaptcha web
service:
• Width - The width of the captcha image (Applies to standard captcha only)
• Height - The height of the captcha image (Applies to standard captcha only)
• Public key - Get a recaptcha account to obtain your public key
63


• Private key - Get a recaptcha account to obtain your private key

Subscriber Exclusive Element Plug-ins
Rating
Form example
Administration options
• Rating Mode -
◦ User rating - All users can rate the entry and an average rating is
displayed
◦ Creator rating - Only the creator can set or edit the rating and this is the
value is shown rather than an average.
• No rating option first - should we render the 'no rating' option at the
beginning or end of the star list
• Image file type - the PNG icon's are nicer but use a transparent background,
which is not rendered correctly in IE6 without an appropriate transparent PNG fix
• Rate in form - the rating element will always be active in the detailed view -
turning this option on will also make it active in the form view.
Google Map
Form Example
A simple example:
64


A more complex example
Administration settings
65


Options
• Google Map Key - Get your Google Map's key here http://code.google.com/
apis/maps
66


• Map type -
◦ Normal - shows the map with roads
◦ Satelite - show a satelite image
◦ Hybrid - shows the roads overlayed on top of the satelite image
• Default lat - default latitude when adding a new record.
• Default lon - default longitude when adding a new record
• Start zoom level - default zoom level when adding a new record
• Map width - the map width in pixels
• Map height - the map height in pixels
• 3d Buttons - Use the newer '3D' navigation buttons - as shown in the more
complex example above
• Control - the control allows you to navigate/zoom in and out of the map and is
placed on the top left hand side of the map
◦ None - Don't show the control
◦ Large map control - Show the full control, allowing you to zoom in and
out with a scroll bar and to navigate around the map with left/right/up/
down buttons - this is the option used in the above complex example
image
◦ Small map control - Shows six buttons to zoom in/out and navigate left/
right/up/down.
◦ Small zoom control - Just show a zoom in/out button
• Scale control - Show a indicator of the current map scale in the bottom left
hand corner of the map
• Map Type control - Show a control in the top right hand corner allowing the
user to change the map type (see above for the may type descriptions)
• Overview control - Shows a zoomed out view of the map in the bottom right
hand square of the map, which allows you to scroll the main map
• Use static map - if the map is in a detailed view, then this option determines
how to render the map.
◦ Static - Use the standard Google Map static map (a map image served by
Google including the marker)
◦ Full - The normal Google map is shown, but the marker can not be
moved.
• Mouse scrolling - If set to yes, then moving the mouse over the map and using
its scroll wheel will scroll the map in/out.
• Show lat/lng fields - If set to yes show the markers lat/lng location in two
fields underneath the map.
Geocoding
Geocoding is the process of looking up a lat/lng location from a given address.
• Enable geocoding
◦ No - Disable this feature
◦ Yes - Enable this feature, a field will be placed above the map. The
address typed in here will be used as the geocode address.
◦ Use Elements - Geocoding will be turned on but will use the data entered
in the elements selected below to geocode the address.
• Address 1 ... Country - Select the elements you want to use to geocode the
address from. Used when enable geocoding = use elements.
• Trigger geocode with -
◦ Button Adds a button above the map, labelled 'Geocode', pressing this
will trigger the geocode lookup
◦ As you type An ajax request is sent to trigger the geocode lookup each
time text in one of the geocode fields is changed.
67


Yüklə 1,97 Mb.

Dostları ilə paylaş:
1   ...   11   12   13   14   15   16   17   18   ...   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ə