-
- 23 Posts
Hi,
I am trying to use the NewsListing snippet and it works. But there is problem. After the post, it says, more on this text. I dont want the more on this text at all. I want it to be plain. How do i do it?
thanks
abs
Why do people point to their wrists when asking for the time, but don’t point to their crotch when they ask where the bathroom is?
http://abs.absabs.us
-
- 3,250 Posts
Remove [+link+] from the NewsListing chunk tpl.
Creating a new NewsListing template:
To create your own templates you will need to have some knowledge of how html works.
Create a chunk based on following code and note its name. This document will assume you named it NewsListingTemplate.
Default display template (tpl):
<div class="summaryPost">
<h3><a href="[~[+id+]~]">[+title+]</a></h3>
<div>[+summary+]</div>
<p>[+link+]</p>
<div style="text-align:right;">by <strong>[+author+]</strong> on [+date+]</div>
</div>
Available placeholders
* Any document object (list) in the format of
* - pagetitle (included for backwards compadibility)
* - documents content (DO NOT USE )
* - html link to the full post (uses the &truncText text)
* - user who created the document
* - outputs a neatly formatted date (uses dateformat and datetype)
Append &tpl=`NewsListingTemplate` to your snippet call and NewsListing will use your custom template
-
- 3,250 Posts
@zi please merge into [Snippet] NewsListing thread