FAQ : Where put the application code in templates ? |
|
Note : see the Sobipro editor's site (Sigsiu.net) to learn more how to edit templates. On the following captures they are samples, of course you can move the 2 codes where you want. To display the search fields into the search form, add following code into your search form view template: <xsl:value-of select="mjradius" disable-output-escaping="yes" />
To show the distances into the search results vCards, add this code into your V-Card template: <xsl:value-of select="mjradius"/>
Note : the Radius Search Application isn't a custom fields like other Sobipro fields (it save nothing in entries), but is an application. This is the reason why you cannot select the position trough the custom fields. Note : the radius search fied can be in the extend search part of the search form, in this case the radius search field is not visible at form loading, and you need to click the 'Extended Search' button.
Search form template
See here where you can put the code to display before, into and after the extended search :
vCard template
See also |
| Last Updated on Tuesday, 15 May 2012 04:34 |

In order to turn on the Radius Search Application you need to insert some sentences into the search and vCard templates. Follow the instructions :

