Page 1 of 1

blogger module (moretext not working)

Posted: Sun Sep 03, 2006 12:48 pm
by lleighh
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:

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 -->
And here's my detail template (to which nothing is posted):

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}

Re: blogger module (moretext not working)

Posted: Mon Sep 04, 2006 3:59 am
by Dr.CSS
There is no {$entry->commentlink} it should be [{$entry->morelink}]
When adding a blog article there are to content edit boxes one says Summary the other Content if you don't put anything in the content box nothing shows on the page. as far as archives you can make a page with the articles on it in the way of monthly by using a month category apr05 and putting all articles from april 2005 in this category then in the page call {cms_module module='blog' category=-'apr05'}.
Example of site, not finished, using multiple blog and news items to fill pages...

http://www.multiintech.com/debra/