comments with news
Posted: Sun Mar 01, 2009 1:33 am
i've read all the documentation and scoured the forums and can't figure out why my comments with news is not working!
here's my detail template:
{if $entry->formatpostdate}
{$entry->formatpostdate}
{/if}
{$entry->title}
{if $entry->summary}
{eval var=$entry->summary}
{/if}
{eval var=$entry->content}
{if $entry->extra}
{$extra_label} {$entry->extra}
{/if}
{$entry->printlink}
{if $return_url != ""}
{$return_url}
{/if}
{if isset($entry->fields)}
{foreach from=$entry->fields item='field'}
{if $field->type == 'file'}
{* this template assumes that every file uploaded is an image of some sort, because News doesn't distinguish *}
file_location}/{$field->value}"/>
{else}
{$field->name}: {eval var=$field->value}
{/if}
{/foreach}
{/if}
{cms_module module='comments'}
i can call the comments module by adding the above line in other places, but for some reason it doesn't work in the details template (and yes, this is set to the default template). anyone have any ideas??
here's my detail template:
{if $entry->formatpostdate}
{$entry->formatpostdate}
{/if}
{$entry->title}
{if $entry->summary}
{eval var=$entry->summary}
{/if}
{eval var=$entry->content}
{if $entry->extra}
{$extra_label} {$entry->extra}
{/if}
{$entry->printlink}
{if $return_url != ""}
{$return_url}
{/if}
{if isset($entry->fields)}
{foreach from=$entry->fields item='field'}
{if $field->type == 'file'}
{* this template assumes that every file uploaded is an image of some sort, because News doesn't distinguish *}
file_location}/{$field->value}"/>
{else}
{$field->name}: {eval var=$field->value}
{/if}
{/foreach}
{/if}
{cms_module module='comments'}
i can call the comments module by adding the above line in other places, but for some reason it doesn't work in the details template (and yes, this is set to the default template). anyone have any ideas??