sorry for delay on this, still having the issue with draft post being visible.
Code: Select all
[* Summary Template *}
<div id="dev-table" class="row row-50">
{foreach from=$items item=entry}
<div class="col l4 m6 s12 grid {foreach from=$entry->categories item='category'}{$category.name|escape|lower|replace:'&':'and'|replace:' ':'-'} {/foreach}">
<a href="{$entry->detail_url}">
<div class="box bs news-panel bg-white align-center border">
<p>{$entry->postdate|cms_date_format}</p>
<h3 class="txt-red">{$entry->title|cms_escape}</h3>
{if $entry->summary}
<p>{$entry->summary|summarize:100:"...":true|strip_tags}</p>
{else}
<p>{$entry->content|summarize:100:"...":true|strip_tags}</p>
{/if}
<div class="btn btn-more">Read more<i class="material-icons">keyboard_arrow_right</i></div>
</div>
</a>
</div>
{/foreach}
</div>
System info
----------------------------------------------
Cms Version: 2.1.6
Installed Modules:
AdminSearch: 1.0.2
CGBlog: 1.14.4
CGExtensions: 1.56.2
CGHTML2PDF: 1.0.3
CGSimpleSmarty: 2.1.6
CMSContentManager: 1.1.4
CMSMailer: 5.2.14
DesignManager: 1.1.1
FileManager: 1.5.2
FormBrowser: 0.5
FormBuilder: 0.8.1.6
JQueryTools: 1.4.0.1
LISE: 1.2.4.beta.5
LISEAttorneys: 1.2.4.beta.5
LISEBriefingTypes: 1.2.4.beta.5
LISEBriefings: 1.2.4.beta.5
LISEBrochures: 1.2.4.beta.5
LISECareers: 1.2.4.beta.5
LISECaseStudies: 1.2.4.beta.5
LISEEvents: 1.2.4.beta.5
LISELinks: 1.2.4.beta.5
LISEOffices: 1.2.4.beta.5
LISEServices: 1.2.4.beta.5
LISESpecialisms: 1.2.4.beta.5
LISETestimonials: 1.2.4.beta.5
LISEWebinars: 1.2.4.beta.5
MetaMax: 2.1.6
MicroTiny: 2.0.3
ModuleManager: 2.0.5
Navigator: 1.0.3
PDFGenerator: 0.3.beta.2
Search: 1.50.2
TinyMCE: 3.1.4
Uploads: 1.25.8
Config Information:
php_memory_limit:
max_upload_size: 128000000
url_rewriting: mod_rewrite
page_extension:
query_var: page
auto_alias_content: true
locale:
set_names: true
timezone: UTC
permissive_smarty: true
Php Information:
phpversion: 5.4.45
md5_function: On (True)
json_function: On (True)
gd_version: 2
tempnam_function: On (True)
magic_quotes_runtime: Off (False)
E_ALL: 24575
E_STRICT: 2048
E_DEPRECATED: 0
test_file_timedifference: No time difference found
test_db_timedifference: No time difference found
create_dir_and_file: 1
memory_limit: 128M
max_execution_time: 60
register_globals: Off (False)
output_buffering: 4096
disable_functions:
open_basedir:
test_remote_url: Success
file_uploads: On (True)
post_max_size: 8M
upload_max_filesize: 128M
session_save_path: /var/lib/php/session (1733)
session_use_cookies: On (True)
xml_function: On (True)
xmlreader_class: On (True)
check_ini_set: On (True)
curl: On
----------------------------------------------
Thanks for your help