-
separating entries
For showing soundtrack/rare item/compilation/bootleg, etc. I use checkboxes which are on the first tab in album properties. But sometimes a CD is both single and rare item, or bootleg and compilation, or whatever. I tried to use this code for displaying that info:
<dax:if(compilation||rare||sou ndtrack||single)>
<p><span class="proplabel">Special Info</span>:
<dax:if(rare)><span class="propvalue">Rare</span></dax:if>
<dax:if(compilation)><span class="propvalue">Compilation</span></dax:if>
<dax:if(soundtrack)><span class="propvalue">Soundtrack</span></dax:if>
<dax:if(single)><span class="propvalue">Single</span></dax:if></p>
</dax:if>
but it shows everything in one line - "rare compilation sountrack single". Is there a way to insert separator (like a /) if there are several boxes checked - like "rare/single" or "botleg/compilation"?
-
Re: separating entries
Would this work?
<dax:if(compilation||rare||sou ndtrack||single)>
<p><span class="proplabel">Special Info</span>:
<span class="propvalue">
<dax:if(rare)>
Rare
</dax:if>
<dax:if(compilation)>
<dax:if(rare)>/</dax:if>
Compilation
</dax:if>
<dax:if(soundtrack)>
<dax:if(rare||compilation)>/</dax:if>
Soundtrack
</dax:if>
<dax:if(single)>
<dax:if(rare||compilation||sou ndtrack)>/</dax:if>
Single
</dax:if>
</span></p>
</dax:if>
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules