All my posts have a custom field on them:
Key: CastlefordNewsArticleHeadline
Value: This is a test headline.
I have a content slider module on my page and when I navigate to the ContentSlider -> Manage Settings -> Widget Settings -> Item Template and adjust it to reference my customfield - no values are being returned in generated html.
I'm using the syntax highlighted in the widget settings.
[customfield:xxx] - xxx is the key of the custom field.
which translates to:
[customfield:CastlefordNewsArticleHeadline]
Or with the full template:
<div id="postItem_[POSTID]">
<h3>
<a href="[TARGET]">[customfield:CastlefordNewsArticleHeadline]</a>
</h3>
<p>[EXCERPTTEXT]...</p>
</div>
This produces html like so:
<div id="postItem_47">
<h3>
<a href="http://localhost/attempt5/HealthNews/tabid/86/entryid/47/Headline-Four-This-is-the-title-of-the-article.aspx"></a>
</h3>
<p>The home secretary is to be quizzed in the Commons regarding border control....</p>
</div>
But I would expect this:
<div id="postItem_47">
<h3>
<a href="http://localhost/attempt5/HealthNews/tabid/86/entryid/47/Headline-Four-This-is-the-title-of-the-article.aspx">This is a test headline.</a>
</h3>
<p>The home secretary is to be quizzed in the Commons regarding border control....</p>
</div>
Am I missing a vital step in the process?