English > Support

Custom Field Questions

<< < (2/2)

rick.ca:

--- Quote ---Here is a screencap if anyone has an idea on how to center the text
--- End quote ---

Forget about centering. Put the field in the column beside the poster—where the column with is about half what it would be otherwise. This is just right for displaying several links on one line (as you are now) without having to to expand the field.

Raptre:
Ok...  I did that with the description field, but I don't know how to do it with the custom section.

rick.ca:
The customsection is a special section used in the default skin to hold custom fields that cannot be explicitly defined in the skin. In a custom skin, you would normally place your fields (standard and custom) exactly where you want them—and would not use customsection.

Raptre:
I'm not really wanting to write up a skin from scratch.  I'm just trying to slightly alter the classic skin to suit my wants.  I have no idea how I would define the field.

I have tried, but obviously if "trailers" isn't defined its pointless.

--- Code: ---<row>
 <column halign="center">
  <fieldlabel field="trailers"/>
 </column>
 <column>
  <trailers/>
 </column>
</row>
--- End code ---

EDIT:
I figured out everything I needed.  Thank you Rick.ca!  I decided to use your theater view skin coding as an example and I got everything how I like it.

rick.ca:

--- Quote ---I figured out everything I needed.
--- End quote ---

Great. For the sake of others...

The code for custom fields is necessarily different. Here's an example:


--- Code: ---<column>
<label width="132" halign="right">
 <caption>Trailers:</caption>
 </label>
 <spacer width="7"/>
 <custom field="trailers"/>
 </column>

--- End code ---


--- Quote ---I'm not really wanting to write up a skin from scratch.
--- End quote ---

Neither would I. I don't think I could. My "Theatre View" skin, for example, is a modification of Classic. I suppose there's number of techniques used in that don't exist in Classic. But even then, I normally start by copying some code that does something similar to what I want.

Navigation

[0] Message Index

[*] Previous page

Go to full version