How have I do "Read more". I can fill form Summarty (Introtext) and tehn content, bud my site dont show perex, but only full text - artikel. I want have short prex (introtext) first, than "read more" and after click full text.
-
☆ A M B ☆
- 24,524 Posts
You will need to create a chunk for Ditto to use as a template for its output. The chunk would look something like this:
<h2>[+longtitle+]</h2><p>[+introtext+] <a href="[+url+]">read more...</a></p>
Then in your snippet call add &tpl=`chunkName`
I understand - i create chunk, but where i Give chunk? I add it to folder: manage resources - - new chunk and what then? I use it in somewhere in artikle (This is also the possible? ) or I add it to template? And where in template?
-
☆ A M B ☆
- 24,524 Posts
Tell Ditto to use it by adding &tpl=`chunkName` in the Ditto call.
I dont understant (sorry my English is not good)... new chunk, For example named "read-more" add somewhere to Ditto? Where exactly?
-
☆ A M B ☆
- 24,524 Posts
[[Ditto? &parents=`5` &tpl=`read-more`]]