Fabrik User Manual 0



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

• Thumbnail directory - the directory to store the thumbnail images in
• Thumbnail prefix - the prefix to attach the the thumbnail image name
• Thumbnail width - When creating the thumbnail this specifies the maximum
width in pixels that the thumbnail can be, if the thumbnail is wider than this
value the main image is scaled down so that its width is no greater than this
value.
• Thumbnail height - When creating the thumbnail this specifies the maximum
height in pixels that that image can be, if the thumbnail is higher than this value
the thumbnail is scaled down so that its height is no greater than this value.
Crop
• Crop - If yes selected then when editing a record, an interface is presented
which allows you to drag the main image around to create a cropped version
• Cropdir - the directory in which to save the cropped images
• Cropwidth - the width of the cropped image
• Cropheight - the cropped image height
Storage
• Storage type -
◦ Filesystem - Your files will be stored on your server.
◦ Amazon s3 - Your files will be stored in Amazon's S3 cloud storage
service
• Amazon s3 access key id - Get this information when you sign up for an S3
account
• Amazon s3 secret key - Get this information when you sign up for an S3
account
• Amazon storage location - Select the geographical area which is closest to the
majority of your useres
• Bucket name - A bucket is Amzon's terminology for a folder, select the name of
the bucket you want to store the files in
ID
Creates a hidden field which is used to store record ids
There are no options for this element type
56


Image
Allows you to show an image in the form.
• Default image - The default image to show in the form
• Root folder - If 'Allow user to select image in front end' set to yes then this
specifies which root folder the users can select their image from.
• Allow users to select image in front end - If yes selected then users can
select an image from a list
• Show in table - If set to yes then the image is shown in the table view, if set to
no then the image path is shown
• Float image - When viewing the image in the form or detailed view - is it
floated and if so in which direction?
• Link - when viewing the image in the table form or detailed view, this option
specifies if the image is encased within a link and if so the link's url
57


Link
Allows user to create a link by specifying its url and label
• Width -The width of the date field - the value represents the number of
characters that can be displayed
• Default label - the link's default label
• Default URL - the link's default url.
• Link target - will the links open up in the same window, the parent window or a
new window.
• Smart link - detects the media type of the link (e.g mp3, video, and if found
renders the link using the mediabox plug-in) - Requires fabrik mootools version
to be set to 1.2. (edit this option in tables->parameters)
Bit.ly
The following options allow you to use the bit.ly URL shortening service. It requires you
to have a bit.ly account.
• Use bit.ly: activate bit.ly URL shortening on the link URLs
• Login name: Your bit.ly username
• API Key: Your bit.ly API key
58


Radio button
• Element before label - if yes then each radio button is rendered before its
label, if no the the label is rendered before the element
• Options per row - Specify the number of columns used to render the radio
buttons. In the image below the options per row setting has been set to 2:
Sub Elements
• Add - Press this to add in a new drop down option
• Value - The value that is stored in the database if the drop down option is
selected
• Label - The label that appears next to the drop down option. Equally this label is
shown in the table view rather than the recorded value (which is stored in the
database table itself)
• Default - is the option selected as default
• Delete - Press this to delete the drop down option
• Note: you can reorder the sub elements by clicking down on the grey bar to the
left of the value field and dragging it within the list.
Add Options
• Allow user to add drop down option - Allow your form's users to add in
additional options to your form.
59


• Only add label - If no selected then the user has to enter both a value and a
label for the checkbox option they are adding. If yes selected then only a label
field is presented to the user the value of which is then used for the value and
label.
• Save new additions - If yes selected then the newly submitted option is stored
by the element, meaning subsequent users of the form will be able to select the
same value.
Text area
• Width - If showing a WYSIWYG text area then this value refers to the width of
the editor in pixels, otherwise it refers to the width of the text area in the
number of characters per line.
• Height - If showing a WYSIWYG text area then this value refers to the height of
the editor in pixels, otherwise it refers to the height of the text area in the
number of lines.
• Eval - Select this if you want the default text to be evaluated as PHP
• Default - The default value that the text area will contain. If eval set to yes this
needs to be a PHP expression that returns the default value as a string
• Use WYSIWYG Editor - If set to yes then a WYSIWYG editor is displayed in the
form, if set to no then a simple text area is displayed
• Show max limit - If yes selected then the user is limited to typing a certain
number of characters into the text area (the value of which is defined in the
'Maximum length' field). As the user types a piece of text under the checkbox
informs them as to how many characters they have left.
• Maximum length - Only applicable when 'show max limit' is set to yes,
specifies the maximum number of characters that the user can type into the text
area. In the image below we've highlighted the message that updates as you
type in the text area
60


Yüklə 1,97 Mb.

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