Hi, we have upgraded to CMS 1.12, and News Module 2.51.1. I am importing my old news templates into the new News module, and my custom fields are not showing up. I have tried changing them from {$entry->fieldsbyname.name} to {$fields.name} but that doesn't work. I am not sure what I am doing wrong, and can't find the documentation.
My summary template is:
{foreach from=$items item=entry}
{if $entry->content}
<h3><a href="{$fields->thumblink}" target="_blank">
<img src="uploads/css/icons/facebook_64.png" /></a>
{$entry->title}</h3>
<p>
{eval var=$entry->content}</p>
<p>{eval var=$entry->summary}</p>
<p>{$fields.row1}</p>
{/if}
</div>
{/foreach}
Thank you for looking at this.
News module upgrade and custom fields
-
cpansewicz
- Forum Members

- Posts: 142
- Joined: Fri Jun 17, 2011 12:22 am
-
cpansewicz
- Forum Members

- Posts: 142
- Joined: Fri Jun 17, 2011 12:22 am
SOLVED: News module upgrade and custom fields
Ok. I'm tired. I have this figure out. It is {$entry->fields.name->value}.
