Full Posts Not Excerpts on The Front Page

9 views
Skip to first unread message

Jose Ordonez

unread,
Jun 28, 2014, 8:35:24 AM6/28/14
to bed...@googlegroups.com
Thank you for the very interesting CMS. I am just trying it out and made a simple <a href="http://fresa.smartcontroldns.net/">BEdita powered blog</a>. I would like to show the full posts of "documents" on my front page, and not an excerpt.

I am using the "wp.example" front end.

Looks like such settings would be in: views/elements/list_items.tpl

But I am unable to figure out how to change the code.

Could someone advice me on how to do that?

Thank you,
Jose

bato

unread,
Jun 30, 2014, 3:29:35 AM6/30/14
to bed...@googlegroups.com
Hi Jose,

welcome and thanks to trying BEdita. You are right, to show full posts in wp.example you have to edit views/elements/list_items.tpl

Simply replace

{if !empty($c.abstract)}
{$c.abstract} {$moreAnchor}
{else}
{$c.abstract|default:$c.body|html_substr:200:$moreAnchor}
{/if}

at line 23 with 

{$c.body}


Alberto

Jose Ordonez

unread,
Jul 15, 2014, 10:04:49 PM7/15/14
to bed...@googlegroups.com
Thank you nato, worked great!

Jose Ordonez
http://fresa.smartcontroldns.net
Reply all
Reply to author
Forward
0 new messages