Using the news module I have added some custom fields to the news module. I am now looking to make them appear on the front end.
I have added a few news items with the fields filled in, I assume the reason they aren't appearing is because I have to edit the news template to add the fields in. How do I go about this?
The field I want to enter in is called: AuthorEmail
I assume that i could just take a section of the code from the template, duplicate it and then just change the names to AuthorEmail, but so far I am having trouble getting it correct, or even finding any documentation on this. I assume the code would be along the lines of:
Code: Select all
{if $entry->AuthorEmail}
<div class="NewsSummaryEmail">
{$authoremail_label} {$entry->authoremail}
</div>
{/if}
Thanks in advance.
Richard