Logo

Custom Fields & Pages


Fields


With Social Factory you can manage the fields and pages with a complex system that allows you to create a variety of different types of fields, add them to setups, create instances with them and later assign them to addons which will be used on specific pages.
To create a new field go to Settings and click on Fields.
There, you will find all the fields already made with the option to edit them and to publish or unpublish them. Click on New to create a new field.


Here, you will find many editable details regarding your new field.
Add a Name and select the desired Type of field, depending on which type you will select, it will add specific parameters for you to edit on the right side of this page.
Select the State of the field, if you wish to publish it now or not.
You can make the field to be Required so that users will have to select an option before proceeding and to make it Searchable.
Visibility allows you to make the field visible for either only the user, his friends or for everyone.


In the Titles area you can add titles to be used for your field instead of the name in these respective pages.
For example the field date of birth on the edit page could be labeled as "date of birth", but on the view page it would be labeled as "age" and on the search page as "age between".
You will have text fields for each language you have implemented.


You can add different select choices for this type of field in the General area, remember that these options are specific to the type of field you chose.
Note that you will have to add the names of the choices for each language added.


Display option allows you to show the choices for this type in line or in rows.


On the Edit area you can chose to lock the field after the first save, so users cannot change it later on.


After you have done all these steps click on "Save & Close" to create your new field.

Field Setups


Fields need to be placed in pages in order to be visible, the "Fields Setups" tab will allows you to add fields to different setups that are later used on instances to be shown on pages.
We will add our newly created field to the "Edit Profile" setup.


By clicking on a setup you can edit the content found on it, on the Parameters area you can set a defined width value in pixels or percent.

On the Setup area you can edit the fields found on the selected page using the simple drag and drop system. Here you can also add or remove columns, fields or simply rearrange them.
To add a new field click on the "Field" button that has a plus on it and select from the list the field you wish to add.


Now that you assigned the field to a setup, save the change and check it out on the frontend where the respective setup is used.


Pages


From the Pages section you can edit the details and the layout of all the available pages.
Click on the Show Profile page to edit it.


You can change the Name of the page and assign it to a different menu id if needed.
Can change the State of the page, from published to unpublished.
On the right side you can add different Titles for the page for multiple languages in case you added more.


On the Parameters tab you can set a width value of the page in pixels or percent.


From the Setup tab you can change the layout of the page selecting which addons will be display and in which order using the simple drag & drop system.


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 Field Setups area and select one of the search field setups named Quick Search Form.
Next, click on Setup and add your field where you wish.
Click on Save & Close when you are done.


You can do the same thing for the Search Results Profile field setup so that the field will also be shown when displaying the search results.

Lets see now how the assigned field looks like on the search page.


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