Personal Video Database

English => Support => Topic started by: Ivek23 on March 31, 2010, 08:52:10 pm

Title: IMDB votes in the skin: customsection disappears
Post by: Ivek23 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.
Title: Re: IMDB votes in the skin: customsection disappears
Post by: rick.ca 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.
Title: Re: IMDB votes in the skin: customsection disappears
Post by: Ivek23 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>
Title: Re: IMDB votes in the skin: customsection disappears
Post by: Ivek23 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>
Title: Re: IMDB votes in the skin: customsection disappears
Post by: rick.ca 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.
Title: Re: IMDB votes in the skin: customsection disappears
Post by: Ivek23 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.