Hello,
I’m totally lost with ditto - I have a news folder with some news items - let’s have a look at one news item :
<div class="alignCenter">
<img alt="" border="0" class="alignRight" height="90" name="image" src="assets/images/DSC03096_120x90.JPG" width="120" /> <img alt="" border="0" class="alignRight" height="90" name="image" src="assets/images/DSC02998_120x90.JPG" width="120" /> <img alt="Antelope Canyon in Page, AZ" border="0" class="alignRight" height="90" name="image" src="assets/images/DSC01140_120x90.JPG" width="120" /> <img alt="" border="0" class="alignRight" height="90" name="image" src="assets/images/DSC00851_120x90.JPG" width="120" />
</div>
as you can see, it’s just a little paragraph with a few images beneath.
In the news summary, this is what I’m getting:
<div class="ditto_summaryPost">
<h2><span class="alignRight small">04. January 2006</span><a href="index.php?id=58">U.S. trip</a> </h2>
<div class="clearfix">
<p> We toured around the Southwest of the United States for six month in 2006 with the aim to compose an unlike illustrated book. </p>
<div class="alignCenter"> <img alt="Yellowstone - Mammoth Hot Springs" border="0" class="alignRight" height="90" name="image" src="assets/images/DSC03096_120x90.</div></div>
<p class="small"><a href="index.php?id=58">Read more...</a>
</p>
</div>
the image src is just cut of resulting in a faulty src url - moreover, div tags are not closed properly (missing).
Am I mis-using ditto? What am I doing wrong ?
Hope somebody can help.
this is the call:
[!Ditto? &startID=`46` &summarize=`1` &total=`20` &paginate=`1` &alwaysshow=`1` &tpl=`DittoNewsTemplate` &dateFormat=`%d. %B %Y` !]
this is the chunk:
<div class="ditto_summaryPost">
<h2><span class="alignRight small">[+date+]</span><a href="[~[+id+]~]">[+title+]</a>
</h2>
<div class="clearfix">[+summary+]</div>
<p class="small">[+link+]</p>
</div>
thank you in advance for your help.