blogger module (moretext not working)
Posted: Sun Sep 03, 2006 12:48 pm
Hi, I've been tinkering around with the blogger module (http://llhdirect.com/hhh/index.php?page=the_blog) and I was wondering if there's a way to archive articles like in wordpress or blogger.com.
I'd like the 'more' link lead to the rest of the article and maybe there's a link that leads to listing of older articles or previously posted articles.
I'm running cmsms v 0.12.1.
Here's my summary template:
And here's my detail template (to which nothing is posted):
I'd like the 'more' link lead to the rest of the article and maybe there's a link that leads to listing of older articles or previously posted articles.
I'm running cmsms v 0.12.1.
Here's my summary template:
Code: Select all
<!-- Start Blog Display Template -->
{foreach from=$items item=entry}
<br>
<div class="blogsummary">
{if $entry->formatpostdate}
<div class="BlogSummaryPostdate">
{$entry->formatpostdate}
</div>
{/if}
<h3><div class="BlogSummaryLink">
{$entry->titlelink}
</div></h3>
<br>
{if $entry->summary}
<div class="blogsummary">
{eval var=$entry->summary}
</div>
<div class="BlogSummaryMorelink">
[{$entry->commentlink}...]
</div>
{else if $entry->content}
<div class="BlogSummaryContent">
{eval var=$entry->content}
</div>
{/if}
{cms_selflink dir="prev" rellink=1}
{cms_selflink dir="next" rellink=1}
<div id="next">
{cms_selflink dir="next" menu="1"}
</div><!-- #next -->
<br>
<hr>
<br>
</div>
{/foreach}
<!-- End Blog Display Template -->Code: Select all
<br>
<h3 id="BlogPostDetailTitle" style="color:#515151">{$entry->title}</h3>
{if $entry->formatpostdate}
<div id="BlogPostDetailDate">
{$entry->formatpostdate}
</div>
{/if}
<hr id="BlogPostDetailHorizRule">
<div id="BlogPostDetailContent">
{eval var=$entry->content}
</div>
<p> </p>
<div id="BlogPostDetailPrintLink">
{$entry->printlink}
</div>
{if $return_url != ""}
<div id="BlogPostDetailReturnLink">{$return_url}</div>
{/if}