Joomla™-Plugin InlineContact

Icon InlineContact

The Joomla plug-in "InlineContact" inserts the details of a specific contact from the Joomla contact management at the appropriate location. In addition, several contacts can be output in the form of a list, which can be defined by different templates.

Functions

  • Inserting contact information into the text
  • Create lists of a contact category
  • Multiple list templates can be created

Download

The plugin is free of charge and can be downloaded via the following link.

Package

The package includes, in addition to the main plugin, a component and another plugin for adding a button in the editor.
The component and the further plugin ensure that the InlineContact placeholders can be inserted directly via a button with selection of the contact and, if necessary, the template.

Version: 3.2.0 - Joomla™ Version 4.x / 5.x
Licence: GPLv2
Downloads: 1175

Single Extensions

Version: 3.2.0 - Joomla™ Version 4.x / 5.x
Licence: GPLv2

Version: 1.1.0 - Joomla™ Version 4.x / 5.x
Licence: GPLv2

Version: 1.0.0 - Joomla™ Version 4.x / 5.x
Lizenz: GPLv2

SourceCode

The source code can be found on GitHub

Howto

Tags

{inlinecontact contactid} any text/ HTML {/inlinecontact}
contactid must be replaced by the respective ID of the contact.
The available placeholders can then be used between the two tags.

{inlinecontactlist categoryid templatenumber}
categoryid must be replaced by the ID of a contact category.
templatenumber has to be replaced by the number of the template from the plugin settings

Plugin settings

Hide empty values: If a value is empty, the corresponding label is not displayed

Templates: Templates consist of three parts, the part before and after the list as well as the repeating main part. All parts can be filled with text or HTML, whereby in the main part the placeholders are replaced accordingly. An unlimited number of templates is possible.

Placeholders

The following standard placeholders + the names of all user defined fields are available:

[id]
[name]
[alias]
[con_position]
[address]
[suburb]
[state]
[country]
[postcode]
[telephone]
[fax]
[misc]
[image]
[email_to]
[mobile]
[webpage]

All placeholders only return the value. Each placeholder can be prefixed with further prefixes:
[l_*] : outputs only the associated label
[lv_*] : outputs both the value and the associated label

Examples

One Contact

HTML in the editor

<p>{inlinecontact 5}[image]<br>
Name: [name]<br>
[l_email_to]: [email_to]<br>
[lv_telephone]
</p>{/inlinecontact}

Sample-Output

<p><br>
Name: John Doe<br>
E-Mail: john.doe@test.de<br>
Telephone: 123456789
</p>

Contact-List

Template (Nr 1)

Before the list

<table>
<tr><th>Name</th><th>E-Mail</th></tr>

The repeating main part

<tr>
<td>[name]</td>
<td>[email_to]</td>
</tr>

After the list

</table>

Placeholder in the editor

{inlinecontactlist 5 1}

Creates a list of all contacts in the category with the ID 5 and uses the template with the number 1

Sample-Output

<table>
<tr><th>Name</th><th>E-Mail</th></tr>
<tr>
<td>John Doe</td>
<td>john.doe@test.de</td>
</tr>
<tr>
<td>Jane Doe</td>
<td>jane.doe@test.de</td>
</tr>
</table>

Wir freuen uns, Sie kennenzulernen!
Schicken Sie uns unverbindlich eine Nachricht oder rufen Sie direkt an.