Multiple Views - YAMJ/yamj-v2 GitHub Wiki

Multiple index and detail pages

Parameters

mjb.view.indexList

Sequence index xsl file names from index.xsl. The file name should consist of an 'index' and a suffix, ex. '-3x9'.

Default value

mjb.view.indexList=index.xsl

Example

mjb.view.indexList=index.xsl,index-3x9.xsl,index-2x6.xsl,index-4x12.xsl

mjb.view.detailList

Sequence detail xsl files from detail.xsl. The file name should consist of an 'detail' and a suffix, ex. '-fullview'.

Default value

mjb.view.detailList=detail.xsl

Example

mjb.view.detailList=detail.xsl,detail-fullview.xsl,detail-lowlist.xsl,detail-ribbon.xsl

Usage

YAMJ generates index files for each category (other, year, genres, etc.) and detailed files on each film in different views. Switching views should be described in the logic of the skin. Example of the resulting file names using MultipleViews:

Other_All_1.html
Other_All_1-2x6.html
Other_All_1-3x9.html
Other_All_1-4x12.html
Lost S01E01.html
Lost S01E01-fullview.html
Lost S01E01-lowlist.html
Lost S01E01-ribbon.html