Author Topic: IMDB votes in the skin: customsection disappears  (Read 9584 times)

0 Members and 1 Guest are viewing this topic.

Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2711
    • View Profile
IMDB votes in the skin: customsection disappears
« on: March 31, 2010, 08:52:10 pm »
My apologies if the post does not belong here.

I have a problem:
Skin pvd_classic_movie_tabs

When I want to IMDb Votes otherwise in customsection tab moved to Main information tab next to the IMDb rating customsection tab becomes invisible in the skin.

Please help how to insert IMDb Votes and this remains visible customsection tab.
Ivek23
Win 10 64bit (32bit)   PVD v0.9.9.21, PVD v1.0.2.7, PVD v1.0.2.7 + MOD


Offline rick.ca

  • Global Moderator
  • *****
  • Posts: 3241
  • "I'm willing to shoot you!"
    • View Profile
Re: IMDB votes in the skin: customsection disappears
« Reply #1 on: March 31, 2010, 10:38:40 pm »
It can't be done. If you want to keep the tab, you'll have to redefine it as a regular section and explicitly include all your custom fields in it. This is good practice anyway. Once you have done it, you can move any of your custom fields anywhere else in the skin.

Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2711
    • View Profile
Re: IMDB votes in the skin: customsection disappears
« Reply #2 on: April 01, 2010, 03:07:29 am »
Quote
If you want to keep the tab, you'll have to redefine it as a regular section and explicitly include all your custom fields in it.

And how to do it, can it like this:
Code: [Select]
<row>
<column>
<label width="100" halign="right">
 <caption>IMDB Votes</caption>
  </label>
   <spacer width="10"/>
     <custom field="IMDB Votes"/>
 </column>
 </row>
« Last Edit: September 18, 2012, 08:11:40 pm by Ivek23 »
Ivek23
Win 10 64bit (32bit)   PVD v0.9.9.21, PVD v1.0.2.7, PVD v1.0.2.7 + MOD


Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2711
    • View Profile
Re: IMDB votes in the skin: customsection disappears
« Reply #3 on: September 18, 2012, 08:13:21 pm »
For example, can it like this:

Code: [Select]
              <row>
                <column>
                  <label width="100" halign="right" valign="top">
                    <caption>IMDbID:</caption>
                    <font>
                      <name>Arial Black</name>
                      <size>10</size>
                    </font>
                  </label>
                  <spacer width="-7" />
                  <custom field="IMDbID">
                    <color>$D7FDDD</color>
                    <font>
                      <size>11</size>
                      <color>$006600</color>
                      <bold />
                    </font>
                  </custom>
                  <spacer width="10" />
                </column>
              </row>
Ivek23
Win 10 64bit (32bit)   PVD v0.9.9.21, PVD v1.0.2.7, PVD v1.0.2.7 + MOD


Offline rick.ca

  • Global Moderator
  • *****
  • Posts: 3241
  • "I'm willing to shoot you!"
    • View Profile
Re: IMDB votes in the skin: customsection disappears
« Reply #4 on: September 19, 2012, 07:26:45 pm »
Sorry, I'm not sure what your question is. I know you collect a lot of custom data, and therefore assume you know how to add a custom field to a skin. AFAIK, once you include a custom field in a skin, the special 'customsection' no longer works. It's purpose is to automatically display all custom fields in one section when none of them are explicitly included in the skin.

Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2711
    • View Profile
Re: IMDB votes in the skin: customsection disappears
« Reply #5 on: September 19, 2012, 09:05:55 pm »
Sorry, I'm not sure what your question is. I know you collect a lot of custom data, and therefore assume you know how to add a custom field to a skin. AFAIK, once you include a custom field in a skin, the special 'customsection' no longer works. It's purpose is to automatically display all custom fields in one section when none of them are explicitly included in the skin.

It is true, I know a lot about how to add custom fields in the skin.

For example, can it like this:

Code: [Select]
              <row>
                <column>
                  <label width="100" halign="right" valign="top">
                    <caption>IMDbID:</caption>
                    <font>
                      <name>Arial Black</name>
                      <size>10</size>
                    </font>
                  </label>
                  <spacer width="-7" />
                  <custom field="IMDbID">
                    <color>$D7FDDD</color>
                    <font>
                      <size>11</size>
                      <color>$006600</color>
                      <bold />
                    </font>
                  </custom>
                  <spacer width="10" />
                </column>
              </row>

This is just one of the ways for example, how to do it add in skin.
Ivek23
Win 10 64bit (32bit)   PVD v0.9.9.21, PVD v1.0.2.7, PVD v1.0.2.7 + MOD


 

anything