Logo

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
joomla30:lovefactory:plugins [2016/09/29 08:46]
sorin [Router Plugin]
joomla30:lovefactory:plugins [2017/06/26 09:13]
sorin
Line 3: Line 3:
 ===== Router Plugin ===== ===== Router Plugin =====
 \\ \\
-**Router Plugin** gives high flexibility regarding Love Factory'​s URLs, generating custom URLs based on user's profile details.\\+The **Router Plugin** gives high flexibility regarding Love Factory'​s URLs, generating custom URLs based on the user's profile details.\\
 \\ \\
-**(!)** In order for this plugin to work you will need to enable Joomla SEF (System > Global Configuration).\\+**(!)** In order for this plugin to workyou will need to enable Joomla SEF (System > Global Configuration).\\
 **(!)** Make sure you don't have any 3rd party extensions which can interfere with SEF, as these are not guaranteed to work with our plugin and could cause issues on your website.\\ **(!)** Make sure you don't have any 3rd party extensions which can interfere with SEF, as these are not guaranteed to work with our plugin and could cause issues on your website.\\
 \\ \\
 Once the above requirements are met, go to Extensions > Plugins to enable and configure **Love Factory Router Plugin**.\\ Once the above requirements are met, go to Extensions > Plugins to enable and configure **Love Factory Router Plugin**.\\
 \\ \\
-**Use language as first segment** : Enable this in case you have a multi-language website and you wish to have the language tags(en, it, fr, etc.) displayed before other segments on the URLs. Enabling **System Language Filter** plugin is required for this option to work.\\+**Use language as first segment**: Enable this in case you have a multi-language website and you wish to have the language tags(en, it, fr, etc.) displayed before other segments on the URLs. Enabling **System Language Filter** plugin is required for this option to work.\\
 You can leave this option disabled in case your website is made for one language only, as it will only display the tag of your default language.\\ ​ You can leave this option disabled in case your website is made for one language only, as it will only display the tag of your default language.\\ ​
 \\ \\
-**Segments** : Allows you to add multiple profile details of users on their respective profiles URLs.\\+**Segments**:​ Allows you to add multiple profile details of users on their respective profiles URLs.\\
 Only the following type of fields are allowed as URL segments: '​Select',​ '​Checkbox',​ '​Radio',​ '​SelectMultiple',​ '​Gender',​ '​Text'​(not allowed as a first segment).\\ Only the following type of fields are allowed as URL segments: '​Select',​ '​Checkbox',​ '​Radio',​ '​SelectMultiple',​ '​Gender',​ '​Text'​(not allowed as a first segment).\\
 In order to add more fields or to remove them, use the **Add segments** and **Remove** buttons.\\ In order to add more fields or to remove them, use the **Add segments** and **Remove** buttons.\\
Line 22: Line 22:
 Note that the user profile URL will always have its username at the end.\\ Note that the user profile URL will always have its username at the end.\\
 \\ \\
-It is important to know that, in case there are multiple options selected for a single field, it will separate them by commas, while if there are no options selected it will only   ​display a "​-":​ **website/​en/​usa/​-/​friends,​fun,​dating,​relationship/​john123**\\+It is important to know that, in case there are multiple options selected for a single field, it will separate them by commas, while if there are no options selected it will only display a "​-":​ **website/​en/​usa/​-/​friends,​fun,​dating,​relationship/​john123**\\
 \\ \\
 Another important part of the **Router Plugin** is that it allows you to search for users by modifying the URL using the available fields as criteria.\\ Another important part of the **Router Plugin** is that it allows you to search for users by modifying the URL using the available fields as criteria.\\
 As an example, this URL will search for female users from Seattle, USA that are looking for dating: **website/​en/​usa/​seattle/​female/​dating/​**\\ As an example, this URL will search for female users from Seattle, USA that are looking for dating: **website/​en/​usa/​seattle/​female/​dating/​**\\
-In order to perform a search you need to be sure that there is no username at the end of the URL.\\+In order to perform a searchyou need to be sure that there is no username at the end of the URL.\\
 \\ \\
 ---- ----
-**(!)** Documentation based on **Love Factory** version **4.4.0**+**(!)** Documentation based on **Love Factory** version **4.4.9**