Hi, i`m using jquery and accordion function and was curiouse if it`s possibile to edit ditto blog entry so it has for example <h2> as a title and resti is <p> ?
Was searching a bit and found only rdy snippets so it was dropdown. Also i`m up to use other module for news.
-
☆ A M B ☆
- 24,524 Posts
Create a chunk with the HTML that you want for each entry, using placeholders for the actual content:
<h2>[+pagetitle+]</h2>
<p>[*introtext+]</p>
Then in your Ditto call, specify the chunk name as the value for the tpl parameter:
[[Ditto? &parents=`42` &tpl=`chunkName`]]
Thank you for reply. I made some modyfications and it works wonderfully.