What does your complete getResources call look like?
Hi,
Thanks for continued support and tutorial. Process works as tutorial indicated, Problem is with my template design and using firebug was able to find that is with use of [[+content:ellipsis=`50`]]. This throws away my template design. What I am trying to find is there any other process to pull few lines of content of article for blog page without using [[+content:ellipsis=`50`]].
I use following in Blog Resource Document
[[!getResources? &showHidden=`1` &tpl=`articleTpl` &limit=`10` &includeContent=`1` &includeTVs=`1` &processTVs=`1`]]
I also have following in articletpl modified per my template.
<div id="content-right">
<div class="maincontent">
<div class="blog-posted"><!-- blog post 1 -->
<div class="left-head">
<h3><a HREF="[[~[[+id]]]]">[[*pagetitle]]</a></h3>
<div class="post-info">
Posted in: <a href="#">Category 1</a>, <a href="#">Category 2</a> by <a href="#">Admin</a> | <a href="#">2 Comments</a>
</div>
</div>
<div class="right-head">
<div class="date">[[*publishedon:strtotime:date=`%d`]]</div>
<div class="month">[[*publishedon:strtotime:date=`%b`]]</div>
</div>
</div>
<div class="blog-post">
<a HREF="[[*id]]"> <img SRC="[[+tv.article_image]]" title="[[+tv.article_image_title]]" alt="" class="imgleft" /> </a>
[[+content:ellipsis=`50`]]
<a HREF="[[~[[*id]]]]"><img SRC="assets/templates/7in1/images/read-more.gif" alt="" /></a>
</div>
</div>
</div>
</div>
just use the introtext-field and put
into your chunk.
When you say "This throws away my template design." what exactly do you mean? Are you getting the desired output in terms of content but your styling gets messed up or are you not getting the desired content outputted?
I am getting the result as per the tutorial, just the result of content moves my design and i have tried updating stylesheet that also does not work for me.
What I am asking is there any other method to get few line of article content without using (ellipsis or limit function) [[+content:ellipsis=`50`]] or [[+introtex]].
Much appreciated for all the help.
Thnx
I also believe it is styling issue, will work on it. But I have tested the [[+introtext]] vs. [[+content:ellipsis]]. Suprisingly introtext does not throw the design off whereas the other does.
Many thanks for your support and tutorials
Sintl