English > Development
customfieldlabel vs. caption in skin
(1/1)
daddydave:
OK I am trying to add custom fields to the pvd_imdb_theme movie skin. If I do the following, I get "watcher Watcher:" as my field label
--- Code: --- <column width="140" halign="left">
<customfieldlabel field="watcher"/>
<label>
<caption>Watcher:</caption>
</label>
</column>
--- End code ---
If I leave out the customfieldlabel element, I get no label at all:
--- Code: --- <column width="140" halign="left">
<label>
<caption>Watcher:</caption>
</label>
</column>
--- End code ---
I'm using the 1.0.1.0 beta but I'm probably just doing something stupid. So what am I doing wrong?
rick.ca:
What you want is something like...
--- Code: ---<column>
<label width="140" halign="left">
<caption>Watcher:</caption>
</label>
<custom field="watcher"/>
</column>
--- End code ---
daddydave:
Thanks, that works! Wish I could understand why, but for now I'll just roll with it. :)
rick.ca:
I've never done better than "rolling with it." My main technique is to copy something that works, and then modify it by trial and error. :-\
Navigation
[0] Message Index
Go to full version