CMS MADE SIMPLE FORGE

Review Manager

 

[#12599] Does not add a comment from News module

avatar
Created By: rAlex (rAlex)
Date Submitted: Wed Feb 08 06:58:57 -0500 2023

Assigned To: Magal (magallo)
Version: v1.0
CMSMS Version: 2.2.16
Severity: None
Resolution: None
State: Closed
Summary:
Does not add a comment from News module
Detailed Description:
{if isset($entry->canonical)}
  {assign var='canonical' value=$entry->canonical scope=global}
{/if}
{assign var='articletitle' value=$entry->title|cms_escape:htmlall scope=global}
{assign var='service' value=$entry->extra|cms_escape:htmlall scope=global}
<section class="post">
    <header class="major">
        {if $entry->postdate}
            <span class="date">{$entry->postdate|cms_date_format}</span>
        {/if}
        <h1>{$entry->title|cms_escape:htmlall}</h1>
        {if $entry->summary}
            {eval $entry->summary}
        {/if}
    </header>
    {if isset($entry->fields)}
        {foreach $entry->fields as $fieldname => $field}
            <div class="image main">
                {if $field->type == 'file'}
                    {if isset($field->value) && $field->value}
<img src="{$entry->file_location}/{$field->value}"
alt="{$field->value}"/>
                    {/if}
                {elseif $field->type == 'linkedfile'}
                    {if !empty($field->value)}
<img src="{file_url file=$field->value}"
alt="{$field->value}"/>
                    {/if}
                {else}
                    {$field->name}:&nbsp;{$field->value}
                {/if}
            </div>
        {/foreach}
    {/if}

{eval $entry->content}
{ReviewManager key1="News" key2=$entry->id action='summary'}
{ReviewManager key1="News" key2=$entry->id}

<!-- id {$entry->id} -->

<hr />
<ul class="actions">
<li><a href="{root_url}" class="button icon solid fa-arrow-left">Back</a></li>
</ul>
</section>


History

Comments
avatar
Date: 2023-02-20 08:07
Posted By: Magal (magallo)

Fix coming up on next release v 1.1
      
Updates

Updated: 2023-02-20 08:07
state: Open => Closed

Updated: 2023-02-20 08:07
resolution_id: => 5
assigned_to_id: 17008 => 17679