Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiview pages #1852

Closed
Omertron opened this issue Mar 15, 2015 · 4 comments
Closed

Multiview pages #1852

Omertron opened this issue Mar 15, 2015 · 4 comments

Comments

@Omertron
Copy link
Member

Original issue 1853 created by Omertron on 2011-03-09T12:44:24.000Z:

This patch allows you to create sets of representations (for details, genres, years, sets, etc.). For example, the walls: 2x5, 3x9, 4x12; details: full, lowlist.

New options:
mjb.view.indexList - comma-separated list of index files. For example, index.xsl, index-3x9.xsl, index-4x12.xsl. By default, index.xsl.

mjb.view.detailList - comma-separated list of files for details. For example, detail.xsl, detail-lowlist.xsl. By default, detail.xsl.

Necessary changes in the skin to easy use different view:

  1. Add a line to beginning of xsl file
    <xsl:variable name="viewSuffix">-3x9</xsl:variable>
    For example, before a line.
    <rss version="2.0">
    Here, '-3x9' is a suffix of index-3x9.xsl.
  2. Add on the entire file before .html
    <xsl:value-of select="$viewSuffix" />

Example file index-view_1.xsl created from the default skins.

@Omertron
Copy link
Member Author

Comment #1 originally posted by Omertron on 2011-03-11T22:53:57.000Z:

Any chance you could post images in order to get a better idea of what this looks like in use?

@Omertron
Copy link
Member Author

Comment #2 originally posted by Omertron on 2011-03-20T22:35:01.000Z:

View of a modified default skin. When you press button "Info" changes view of main wall.

@Omertron
Copy link
Member Author

Comment #3 originally posted by Omertron on 2011-04-01T04:15:00.000Z:

This issue was closed by revision r2256.

@Omertron
Copy link
Member Author

Comment #4 originally posted by Omertron on 2011-10-18T11:42:12.000Z:

Is it only for the skins developer community ?

my configuration:
yamj r2705
skin default

I have set mjb.view.indexList=index.xsl,index-3x9.xsl in moviejukebox.properties
I have copied and renamed "index.xsl" => "index-3x9.xsl".

when i launch Yamj i can view in jukebox:

  • Other_All_1.html
  • Other_All_1-3x9.html

At this point all is ok. But the result is the same between Other_All_1.html and Other_All_1-3x9.html.
in a certain way, It is normal because i have not set the size thumbnails for 3x9 view.

The only way for change thumbnails size is in "skin.properties".
thumbnails.width=xxx
thumbnails.height=xxx

Perhaps I must make change in index-3x9.xsl.
In this case it will usefull to have some ready file with default skin:

  • index-3x9.xsl
  • index-2x6.xsl
  • index-4x12.xsl

Do not hit too hard on my head, I'm not a developer.
Is it possible to have more information to find the good way ?
For me the wiki page is too light for understand.
Is it possible that you post your config file to obtained your result in example above ?
It will be great
thank

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant