blogger module (moretext not working)

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
lleighh
Forum Members
Forum Members
Posts: 59
Joined: Tue Apr 11, 2006 2:40 pm

blogger module (moretext not working)

Post 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}
Last edited by lleighh on Sun Sep 03, 2006 1:30 pm, edited 1 time in total.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: blogger module (moretext not working)

Post 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/
Post Reply

Return to “CMSMS Core”