Skip to main content

Web link

Weblink Field Plugin for FLEXIcontent

Plugin : weblink — Weblink

:::info Source This page is generated from plugins/flexicontent_fields/weblink/weblink.xml and the official FLEXIcontent 5.x language files. :::

Editing​

Editing​

Values​

OptionDescriptionTypeValuesDefault
Use field in a group
use_ingroup
Enable to allow field to be part of field group, that is created via 'Field Group' field. NOTE: You should then select this field in ONLY ONE field groupmultilist0 = No
1 = Yes
0 (No)

Number of values​

OptionDescriptionTypeValuesDefault
Show On
showon
Shown On Conditions. Use Joomla Format 'fieldname:value' e.g album_type:2 NOTE: DO not set this field to required. Also DISABLE prettyCheckable / Select2 JS in any referenced fields of type select*, checkbox*, radio*text——
Required
required
Choose yes if the field must be filledradio0 = No
1 = Yes
0 (No)
Allow multiple values
allow_multiple
Allow more than 1 value for this fieldmultilist0 = No
1 = Yes
0 (No)
max # values
max_values
The max number of values you wish to recordtext—0
Values per row
fields_box_placing
Save space by allowing multiple values to show per rowradio0 = 1
1 = Multiple
1 (Multiple)
Add position
add_position
Select to add value inline (show add button at every value) or append them to the bottom of the value listmultilist0 = Append to bottom
1 = Inline append
2 = Inline prepend
3 = Inline both
3 (Inline both)

Values Creation​

OptionDescriptionTypeValuesDefault
Links source
link_source
(Joomla article manager compatibility) - Select if this field will edit and display the Joomla article linksmultilist-1 = Joomla article links
0 = Weblink Field Plugin for FLEXIcontent
0 (Weblink Field Plugin for FLEXIcontent)
Default Link
default_link
You can select to display some text inside the link (not recommended)text——
Default Link USAGE
link_usage
Select when you want the default link to be usedlist0 = Load when editing new items, (requires saving)
1 = Load when editing all items, (requires saving)
2 = The above & also display it instead of empty
0 (Load when editing new items, (requires saving))
Allow relative addresses
allow_relative_addrs
Allow users to enter relative addresses. When this is disabled addresses not having a protocol prefix will be automatically prefixed with HTTP://multilist0 = No
1 = Yes
2 = User can select
0 (No)

Automatic value creation​

note

Flexicontent PRO version only

OptionDescriptionTypeValuesDefault
Automatic value
auto_value
Enable to create the value of this field automatically on item form save. In some cases, you might want to enable option of hiding this field in frontend or backend or both item formsmultilist0 = No
2 = Use custom code
0 (No)
Custom code
auto_value_code
Enter PHP code to be used create the custom value, please set to empty and save to load the default example, and then customizeeditor—fields; if ( !isset($F['fieldname01']) ) return array('fieldname01 field not found'); $vals = array(); foreach($F['fieldname01']->postdata as $i => $v) { $vals[$i] = 'Auto : ' . $v; } return $vals;

Form field​

OptionDescriptionTypeValuesDefault
Display label
display_label_form
Display or hide label of this fieldradio0 = No
1 = Floated left
2 = Cleared
1 (Floated left)
Label
label_form
Enter a label to use for item form that is different than field label for viewingtext——
No access message
no_acc_msg_form
Leave this blank to use system's default no access message, or enter a custom message for this fieldtext——

Layout​

OptionDescriptionTypeValuesDefault
Fields layout
formlayout
Please note: - do not modify default layouts, - custom layouts may need updating in future to respect new configuration and work properly - to create new copy (same folder): plugins/flexicontent_fields/FIELD_TYPE/tmpl/field_*.php as field_mytemplate.php - or to folder: /templates/SOME_NAME/html/flexicontent_fields/FIELD_TYPE/ and then modifyfcfilelist——
Expand button
show_values_expand_btn
Display a button to expand width of properties to allow easier editing. NOTE: some layout like 'table' may not support this button, button will not be shownradio0 = No
1 = Yes
1 (Yes)
Simple form design
simple_form_layout
(For non-table layouts) This will show labels above the form fields. In the case of empty input fields the labels also become a placeholder that transitions to its place only after focus or after typing. Also borders are removedradio0 = No
1 = Yes
0 (No)
OptionDescriptionTypeValuesDefault
Maximum Text Length
maxlength
Maximum number of characters allowed during user inputtext—4000
Field size
size
Field size in the HTML formtext—30
Field attributes
extra_attributes
Here you can enter some extra attributes (HTML Tag Parameters) for the form field like e.g. onkeypress="..." onmouseover="..." somename="somevalue". Take care not to break the the HTML syntax of the form fieldtext——
Input value Masking & Validation
inputmask
Parameters for both masking and validating user inputmultilist— = No
url = Yes
—

Optional Properties​

Image​

OptionDescriptionTypeValuesDefault
Enable
use_image
If you enable this, then user will be able to override default property value when editing the field in item formmultilist0 = No
1 = Yes, any
2 = Yes, specific
0 (No)
Default
default_image
Set a default property value to be loaded when editing field in item form and/or when displaying field in item/category/etc viewsmedia——
Usage of default
image_usage
Select when these default property value will be usedlist0 = Load when editing new items, (requires saving)
1 = Load when editing all items, (requires saving)
2 = The above & also display it instead of empty
0 (Load when editing new items, (requires saving))
Specific images
image_choices
—subform——

Mouse-over title​

OptionDescriptionTypeValuesDefault
Enable
use_title
If you enable this, then user will be able to override default property value when editing the field in item formmultilist0 = No
1 = Yes
0 (No)
Default
default_title
Set a default property value to be loaded when editing field in item form and/or when displaying field in item/category/etc viewstext——
Usage of default
title_usage
Select when these default property value will be usedlist0 = Load when editing new items, (requires saving)
1 = Load when editing all items, (requires saving)
2 = The above & also display it instead of empty
0 (Load when editing new items, (requires saving))

Linking Text​

OptionDescriptionTypeValuesDefault
Enable
use_text
If you enable this, then user will be able to override default property value when editing the field in item formmultilist0 = No
1 = Yes
0 (No)
Default
default_text
Set a default property value to be loaded when editing field in item form and/or when displaying field in item/category/etc viewstext——
Usage of default
text_usage
Select when these default property value will be usedlist0 = Load when editing new items, (requires saving)
1 = Load when editing all items, (requires saving)
2 = The above & also display it instead of empty
0 (Load when editing new items, (requires saving))

Address type​

OptionDescriptionTypeValuesDefault
Enable
use_addrtype
If you enable this, then user will be able to override default property value when editing the field in item formmultilist0 = No
2 = Yes
0 (No)
Select Choices
addrtype_choices
Enter drop down select choices, the syntax is the following: value1::label1%% value2::label2%%textarea——

Styling (CSS) Class​

OptionDescriptionTypeValuesDefault
Enable
use_class
If you enable this, then user will be able to override default property value when editing the field in item formmultilist0 = No
1 = Yes, as Text Input
2 = Yes, as Select
0 (No)
Default
default_class
Set a default property value to be loaded when editing field in item form and/or when displaying field in item/category/etc viewstext——
Usage of default
class_usage
Select when these default property value will be usedlist0 = Load when editing new items, (requires saving)
1 = Load when editing all items, (requires saving)
2 = The above & also display it instead of empty
0 (Load when editing new items, (requires saving))
Select Choices
class_choices
Enter drop down select choices, the syntax is the following: value1::label1%% value2::label2%%textarea——

HTML Tag id​

OptionDescriptionTypeValuesDefault
Enable
use_id
If you enable this, then user will be able to override default property value when editing the field in item formmultilist0 = No
1 = Yes
0 (No)
Default
default_id
Set a default property value to be loaded when editing field in item form and/or when displaying field in item/category/etc viewstext——
Usage of default
id_usage
Select when these default property value will be usedlist0 = Load when editing new items, (requires saving)
1 = Load when editing all items, (requires saving)
2 = The above & also display it instead of empty
0 (Load when editing new items, (requires saving))

Target window​

OptionDescriptionTypeValuesDefault
Enable
use_target
If you enable this, then user will be able to override default property value when editing the field in item formradio0 = No
1 = Yes
0 (No)

Hits​

OptionDescriptionTypeValuesDefault
Enable
use_hits
If you enable this, then user will be able to override default property value when editing the field in item formradio0 = No
1 = Yes
1 (Yes)

Import​

Manipulate values during import​

note

Flexicontent PRO version only

OptionDescriptionTypeValuesDefault
Remap Values
import_fv_remap_mode
Enable to change some imported values to some other values.multilist0 = No
1 = Yes
0 (No)
Value Remappings
import_fv_remap
Enter like importValue1::realValue1%% importValue2::realValue2%% importValue3::realValue3%%textarea——
Values manipulation
import_fv_ccode_mode
Execute custom methods to manipulate field valuesmultilist0 = No
2 = Use custom code
0 (No)
Custom code
import_fv_ccode
Enter PHP code to be used create the custom value, please set to empty and save to load the default example, and then customizeeditor—parameters->get('some_param'); foreach($values as $i => $v) { $values[$i] = 'Example ' . $i . ' : ' . $v; } return $values;

Editing​

Viewing​

Viewing​

Basic​

Display​

OptionDescriptionTypeValuesDefault
Show in clients
show_in_clients
Select if the field will be created and shown to specific clientsfccheckbox——
Show in views
show_in_views
Select if the field will be created and shown to specific viewsfccheckbox——

Label and access​

OptionDescriptionTypeValuesDefault
Display label
display_label
Display or hide label of this fieldradio0 = No
1 = Yes
1 (Yes)
Show no access message
show_acc_msg
When field is inaccessible a no access message will be shown. NOTE: IF this parameter is disabled, the field will be invisible to users with no access, without any message or warning that it existsmultilist0 = No
1 = Yes
0 (No)
No access message
no_acc_msg
Leave this blank to use system's default no access message, or enter a custom message for this fieldtext——

Export​

OptionDescriptionTypeValuesDefault
Include in CSV export
include_in_csv_export
Select to include field in CSV export. Take care that not all fields support CSV export. Please test to determine if this field is included properly, since a special method is needed but not implemented yet by all fieldsmultilist0 = No
1 = Raw values
2 = Rendered values
0 (No)
Strip HTML tags
csv_strip_html
—radio0 = No
1 = Yes
0 (No)
note

{{title}} {{link}}

OptionDescriptionTypeValuesDefault
Customize
csv_export_text
—textarea—{{title}} {{link}}

Backend View​

OptionDescriptionTypeValuesDefault
Backend view appearance
backend_view_appearance
How this field's value is displayed in the admin items list. Overrides the global 'Custom columns appearance' setting when not set to Default.multilist0 = Default
1 = Check mark
2 = Clean up HTML and trim
0 (Default)
Trim length (characters)
backend_view_trim_chars
Number of characters to keep after stripping HTML tags.text—100

Layout​

OptionDescriptionTypeValuesDefault
Values layout
viewlayout
Please note: - do not modify default layouts, - custom layouts may need updating in future to respect new configuration and work properly - to create new copy (same folder): plugins/flexicontent_fields/FIELD_TYPE/tmpl/value_*.php as value_mytemplate.php - or to folder: /templates/SOME_NAME/html/flexicontent_fields/FIELD_TYPE/ and then modifyfcfilelist——

Value display​

OptionDescriptionTypeValuesDefault
Show no value message
show_no_value
Display a message that field has no value instead of empty displaymultilist0 = No
1 = Yes
0 (No)
No value message
no_value_msg
The text to display when field has no value, leave empty to show default texttext——
note

Note: new window will be forced for external links

OptionDescriptionTypeValuesDefault
Default Link Target
target
Select default target window of link that do not have a target already (via item form)list— = - No target -
_blank = New Window/Tab
_parent = Parent Frame
_self = Same Frame/Window/Tab
_top = Top of window
_popup = FLEXI_FIELD_LINK_JS_POPUP_BOX
_modal = FLEXI_FIELD_LINK_SINGLE_WIN
—
Use direct link
use_direct_link
Add direct links to the URLs, note that this will disable hits counting. Normally an indirect link to your site web server is output in order to get the real URL and also count hits.radio0 = No
1 = Yes, (disable hits counting)
0 (No)
Add rel-nofollow
add_rel_nofollow
Adds rel=nofollow to the links, this indicates to the search engines not to index the linkradio0 = Yes, prevent indexing external links
1 = Yes, prevent indexing
-1 = No, allow indexing any link (!!!)
0 (Yes, prevent indexing external links)
Display hits
display_hits
Shows the number of hits or downloads for each value of the fieldradio0 = No
1 = Icon
2 = Text
3 = Both
0 (No)
note

Image

OptionDescriptionTypeValuesDefault
Show
display_image
Display image if one has beeng associated with the URLmultilist0 = No
1 = Yes
2 = Yes, hide linking text
1 (Yes)
Image width
image_w
—text—320
Image height
image_h
—text—240
note

Video URLs

OptionDescriptionTypeValuesDefault
Behaviour
playback_videos
Playback video URLs instead of opening the URLradio0 = Link
1 = Playback
1 (Playback)

Value list​

Prefix - Suffix - Separator​

OptionDescriptionTypeValuesDefault
Preset configurations
prx_sfx_open_close_configs
This is a list of preset configurations, after loading them, you can click custom again to customize themmultilist— = Customize
1 = List: numbered
2 = List (bullets)
3 = List (circle)
4 = List (square)
5 = List (no marking)
—
Remove space
remove_space
Remove the space between prefix value and suffix. It's recommended for plugin use, for example {play}mysong.mp3{/play}radio0 = No
1 = Yes
0 (No)
Every value prefix
pretext
This text is placed immediately before every field valuetext——
Every value suffix
posttext
This text is placed immediately after every field valuetext——
note

NOTE: opening / closing texts and value separator, are not used inside a fieldgroup

OptionDescriptionTypeValuesDefault
Value separator (frontend views)
separatorf
Choose a separator to separate the values in frontend views (placed between values)multilist0 = Space
1 = Line break
6 = Horizontal line
2 = Pipe
3 = Comma
4 = Texts: Closing + Opening
5 = Empty (No characters)
7 = Custom separator
1 (Line break)
Custom separator
separatorf_custom
—text——
Opening text for Field
opentag
This applied once at the START of the field. It is meant to create the start of the field HTML, but above you can choose to place it as SEPARATING text of the values too. But prefer to use parameters: Prefix/Suffix text of values if they exist for this field type.text——
Closing text for Field
closetag
This applied once at the END of the field. It is meant to create the end of the field HTML, but above you can choose to place it as SEPARATING text of the values too. But prefer to use parameters: Prefix/Suffix text of values if they exist for this field type.text——

Content plugins​

Content Plugins -- You need this for description field, for other fields enable only if needed​

OptionDescriptionTypeValuesDefault
Trigger content plugins
trigger_onprepare_content
Enable this option if you want to trigger content plugin event: onPrepareContent. A small number of plugins may not work outside com_content.multilist0 = No
1 = Yes
0 (No)
Trigger inside category
trigger_plgs_incatview
Trigger content plugins on this field when item is displayed in a category viewradio0 = No
1 = Yes
0 (No)
Specific plugins only
plugins
You can choose specific plugins in this list or leave empty to trigger all. This feature is useful in some cases to avoid conflicts, multiple displays or reduce the load. Keep in mind that once the plugin is imported for a field, it will automatically be executed on all following fields in the loop.pluginlist——

Viewing​

Filtering​

Parameters used for filtering in (a) Category-based views , (b) search view

Form field​

Advanced Search View​

OptionDescriptionTypeValuesDefault
Display Filter as
display_filter_as_s
Select appearance/behavior of the filterlist1 = Text Search0