Skip to content
This repository has been archived by the owner on Mar 8, 2021. It is now read-only.

Ditto Summary not working? #1294

Closed
risingisland opened this issue Mar 30, 2017 · 1 comment
Closed

Ditto Summary not working? #1294

risingisland opened this issue Mar 30, 2017 · 1 comment

Comments

@risingisland
Copy link

risingisland commented Mar 30, 2017

I am using a basic Ditto call in home page with:

[[Ditto? &parents=`2` &display=`3` &tpl=`Intro-Blog` &extenders=`summary,dateFilter` &truncLen=`200` &truncOffset=`5` ]]

and a template with:

<h5>[+title+]</h5>
<p>[+summary:notags+]</p>

Am I missing something, why does this not work?

As a side note, there is no text in "introtext", I am trying to pull the first two sentences from "content".
Even with text in "introtext", it is still pulling full text from content.

@risingisland
Copy link
Author

I think I have figured it out. It looks like it might have been a cacheing issue.
I changed:
[[Ditto? &truncLen=`200` &truncOffset=`5` ]]
to
[!Ditto? &truncLen=`200` &truncOffset=`5` !]
And I think all is working as intended.
Will test a bit more before closing.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant