Logo

This is an old revision of the document!


Custom Fields & Pages


Fields


In the Fields tab you can create new custom fields which you can later add to specific pages, but you can also edit, publish or delete existing fields.



Click on the New button to add a new field.
Here you will find many editable details regarding your new field. For start, you will have to add the desired title and choose one from the multiple types of fields available on the drop-down list. Below these you can choose to publish it right away or later.



On the right side you will find the General Settings for the new field.
You can set the status of the field, if you want to be required or just optional.
Privacy settings allow you to set the field as "Private", "Public" or just for "Friends", and you can also allow users to change the field's privacy by themselves.

You can make the field to be Editable or Viewable only by admins if necessary.
Enable Lock after save to prevent further editing of the field after the first save.



Translating Custom Fields


If you need help configuring multiple languages for your Joomla installation please follow this LINK.

In case you already have a multi-language website, you can configure your custom fields for each installed language, modifying their parameters, labels or description.
All of these can be done from backend, without editing the language files.

Using the slider on the right side of the page, Parameters can be defined for fields depending on their type, for the "Radio" type of field you will need to add a list of available choices.
These choices need to be added one per line on the textarea. You can add values on the Default textarea, these will be used if no translation is available for the current language.
For additional languages (in this example Romanian) you will need to translate those options and enter them in the respective language textarea.

Options can be displayed on frontend in a row or line.



Labels slider allows you to rename the title of the field for 3 different actions: on viewing, editing, and searching. As an example for the field "date of birth" you can label it on the edit page as "date of birth", on the view page to label it as "age" and on the search page as "age between".

You can translate the labels of these 3 actions for all your installed languages.



Same as for labels, various Descriptions can be added on your field when viewing, editing and searching.

Translations of the description can be added for all your installed languages.



Pages


Fields need to be placed in pages in order to be visible, Pages tab contains all the Love Factory pages and is also the place where you can assign fields to them.



By clicking on a page you can edit it using the simple drag and drop system. Here you can add or remove fields or simply rearrange them.
To add a new field click on "Add field" and select the one you wish to add.

Being responsive, Love Factory allows you for each fields column assigned to your page to also set the maximum number of bootstrap columns it utilize.
The responsive grid system appropriately scales up to 12 columns as the device or viewport size increases. To have multiple fields on the same row you must set so that their values won't exceed 12.

Here is how the field we created earlier looks like after it has been added to the "Profile Edit" page.



Click on "Save & Close" to add the new field to that specific page and check it on the frontend.



Making a Searchable Field


Custom fields can be made to be searchable, we will use the field we made earlier to do that.
Go to the Pages area and select one of the search pages, for example the detailed search form, Search for a match.
Add the field either on the Basic Details zone or on the More Information zone by clicking on the Add field button and selecting the one we made from the popup window.
Click on Save & Close when you are done.



Considering the field is added also on the Profile Edit and to Search for a match pages you could also assign it the same way to the Profile Search page so that the field will be shown when displaying the search results.

Lets take a look on how the field will appear on frontend on the Search for a match page.



Here are the search results that match containing the profile detail field we created.





(!) Documentation based on Love Factory version 4.3.0