Bob submitted a new Article:
How to place custom Item Fields in templates?
Read more about this article here...
How to place custom Item Fields in templates?
Read more about this article here...
Last edited:
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
That works, many thanks Bob, now i can have fun setting up some nice info layouts
wow that looks greatWill do, have made a start on it, before i used the HTML add-on from Luke to do this, now its just enter a few numbers and not a load of HTML.
View attachment 393View attachment 394
<xen:if is="{$item.customFields.selfplace1}">
<div class="customShowcaseFields tab1">
<dl class="customShowcaseFieldselfplace1">
<dt>{xen:helper showcaseFieldTitle, 'selfplace1'}:</dt>
<dd>{xen:helper showcaseFieldValue, $item, 'selfplace1', {$item.customFields.selfplace1}}</dd>
</dl>
</div>
</xen:if>
{$item.customFields.selfplace1}
{xen:helper showcaseFieldValue, $item, 'selfplace1', {$item.customFields.selfplace1}}
Hey Bob, I'm trying to use the helper formatted field value example you posted, but I'm getting "No View Registered" displaying for output.Custom fields in Showcase 2.0.0 has change dramatically.
Here is an example on how to use custom fields in Showcase 2.0.0
This example uses the new HELPERS (Field Title and Field Value). selfplace1 = the custom field ID for this example
HTML:<xen:if is="{$item.customFields.selfplace1}"> <div class="customShowcaseFields tab1"> <dl class="customShowcaseFieldselfplace1"> <dt>{xen:helper showcaseFieldTitle, 'selfplace1'}:</dt> <dd>{xen:helper showcaseFieldValue, $item, 'selfplace1', {$item.customFields.selfplace1}}</dd> </dl> </div> </xen:if>
This is how you'd use the RAW field value
HTML:{$item.customFields.selfplace1}
This is how you'd use the helper formated field value only.
HTML:{xen:helper showcaseFieldValue, $item, 'selfplace1', {$item.customFields.selfplace1}}
<xen:if is="{$item.customFields.vehicle_model_trim}">
{xen:helper showcaseFieldValue, $item, 'vehicle_year', {$item.customFields.vehicle_year}}
{xen:helper showcaseFieldValue, $item, 'vehicle_model_trim', {$item.customFields.vehicle_model_trim}}
</xen:if>
Gotcha. Will get around to upgrading soon here. Having too much fun customizing.That was one of the little bugs that was fixed in the last version. You can fix that by either upgrading OR downloading the latest version and only uploading the VIEW files (library/NFLJ/Showcase/ViewPublic).
How did you add your review boxes like that, please share.Will do, have made a start on it, before i used the HTML add-on from Luke to do this, now its just enter a few numbers and not a load of HTML.
View attachment 393View attachment 394
It's a custom star rating script and html, @Bob's got a better way to do it with a later version of Showcase that will have a rating field type you can use.How did you add your review boxes like that, please share.