Author Topic: Split custom from skin  (Read 7760 times)

0 Members and 1 Guest are viewing this topic.

Offline Zacca

  • User
  • ***
  • Posts: 117
    • View Profile
Split custom from skin
« on: March 30, 2010, 06:52:08 pm »
I v to change the skin zwhite to add the new attribute valsperline="x"
who added label/caption must partially rewrite the skin.
A good idea is to split the skin from the custom items of the skin
I don't know how but i think is a good idea  ;D

Offline Lordfinarfin

  • Member
  • *
  • Posts: 23
    • View Profile
Re: Split custom from skin
« Reply #1 on: March 31, 2010, 08:37:46 am »
I love your skin, but i have a suggestion.

For example, I batch info from Filmaffinity and IMDB so the stars of the rating doesnt show completly (sorry for my english) in some screen resolution. Can you expand the box of rating taking as reference Filmaffinity?

Offline Zacca

  • User
  • ***
  • Posts: 117
    • View Profile
Re: Split custom from skin
« Reply #2 on: March 31, 2010, 11:28:29 am »
What is your resolution ??? and language on PVD??

Offline Lordfinarfin

  • Member
  • *
  • Posts: 23
    • View Profile
Re: Split custom from skin
« Reply #3 on: March 31, 2010, 12:34:14 pm »
PVD language > English

Screen resolution > 1366x768

The problema is that it doesnt show all the rating stars with this resolution.

Offline Zacca

  • User
  • ***
  • Posts: 117
    • View Profile
Re: Split custom from skin
« Reply #4 on: March 31, 2010, 05:59:18 pm »
I think the only way to show all the stars of the rating with this resolution
is to decrease the size of the poster's column.

To do that open \Skins\Movies\pvd_movie_zwhite.xml whit e text editor.
Find the lines...
Code: [Select]
<!--V Left Column -->
<column valign="top" width="30%">
<section space="10">
 <border shape="none"/>

and change in.....
Code: [Select]
<!--V Left Column -->
<column valign="top" width="20%">
<section space="10">
 <border shape="none"/>

Sorry but this skin with 4 columns don't work fine with a "small" resolution  :(

Offline Zacca

  • User
  • ***
  • Posts: 117
    • View Profile
Re: Split custom from skin
« Reply #5 on: April 05, 2010, 04:43:04 pm »
An idea is to assign a code to the custom items and add it to the skin
Example:

I have e custom rating item and i assign the code "CRating" from a list
another custom rating item assigned at "CRating" from the list
a custom number item assigned at "CNumber" from the list

In the skin.....
Code: [Select]
<row>
<column>
<fieldlabel field="CRATING">
 </fieldlabel>
 </column>
<column>
 <CRATING/>
 </column>
 </row>
.
.
.
.
<row>
<column>
<fieldlabel field="CNUMBER">
 </fieldlabel>
 </column>
<column>
 <CNUMBER/>
 </column>
 </row>

In this way noone v to rewrite the skin after a update

 

anything