Installing and Configuring the Plugin
- install "sobiSort.zip" through sobipro Application manager.
- go to the section where you want to use the plugin, open section application slide and then click on "applictions"
- enable "sobipro sort plugin"
- after that you will notice that a link - sort plugin -has been added to the "section applications" slide, click it
- now, you are in the plugin admin side; you can set which fields you need to show in the order by select list.
Showing the order by select list in the front-end
- files to modify:
- there are two ways you can use the plugin
-- list which show a select list
-- buttons for each field when clicked will sort the entries according to the field
- paste the following in the suitable place in your html mark-up - basic html knowledge needed here - :-
Sort list :
<xsl:value-of select="sort/list" disable-output-escaping="yes" />
<xsl:value-of select="sort/field_yyy" disable-output-escaping="yes" />
where "field_yyy" is the field id, but you should make sure that the field you type is chosen in the plugin back-end