News to Blog need help..
Posted: Thu Jan 04, 2007 7:57 pm
Hi Guys,
I'm sorry for bothering you with this question but i've been trying to get this to work for so long. I guess I'm just to stupid, I worked my way trough the handbook but I keep on failing
I cannot get the comments to work properly on www.bioda.nl. Only the last message will give the "Add comment" option and I'm not able to style the "comment" field (I don't know where to do this..).
I'm using CMS Made Simple 1.0.2 "Maui", the server is running Windows / MySQL 4.0.27 /php uknown.
This is my news summary template :
This is my news detail template :
So I have to questions :
1 : How do I get the comments module to work on every news item?
2 : How do I style the Comment fields? (I have added the news css to the template)
I would not mind sharing my login/password if this will fix it, you can PM me about this or find me on msn or whatever. I'm desperate, I'm trying to help a good friend who really needs this to work fast. It's really important to me that it will work..
The website is located at : http://www.bioda.nl (click weblog)
Thank you very much in advance.
Kind regards,
Thijs
I'm sorry for bothering you with this question but i've been trying to get this to work for so long. I guess I'm just to stupid, I worked my way trough the handbook but I keep on failing
I'm using CMS Made Simple 1.0.2 "Maui", the server is running Windows / MySQL 4.0.27 /php uknown.
This is my news summary template :
Code: Select all
<!-- Start News Display Template -->
{foreach from=$items item=entry}
<div class="NewsSummary">
{if $entry->formatpostdate}
<div class="NewsSummaryPostdate">
{$entry->formatpostdate}
</div>
{/if}
<div class="NewsSummaryLink">
{$entry->titlelink}
</div>
<div class="NewsSummaryCategory">
{$category_label} {$entry->category}
</div>
{if $entry->author}
<div class="NewsSummaryAuthor">
{$author_label} {$entry->author}
</div>
{/if}
{if $entry->summary}
<div class="NewsSummarySummary">
{eval var=$entry->summary}
</div>
<div class="NewsSummaryMorelink">
[{$entry->morelink}]
</div>
{else if $entry->content}
<div class="NewsSummaryContent">
{eval var=$entry->content}
</div>
{/if}
{cms_module module='comments' modulename='News' pageid=$entry->id spamprotect=1}
</div>
{/foreach}
<!-- End News Display Template -->
Code: Select all
{if $entry->formatpostdate}
<div id="NewsPostDetailDate">
{$entry->formatpostdate}
</div>
{/if}
<h3 id="NewsPostDetailTitle">{$entry->title}</h3>
<hr id="NewsPostDetailHorizRule" />
{if $entry->summary}
<div id="NewsPostDetailSummary">
<strong>
{eval var=$entry->summary}
</strong>
</div>
{/if}
{if $entry->category}
<div id="NewsPostDetailCategory">
{$category_label} {$entry->category}
</div>
{/if}
{if $entry->author}
<div id="NewsPostDetailAuthor">
{$author_label} {$entry->author}
</div>
{/if}
<div id="NewsPostDetailContent">
{eval var=$entry->content}
</div>
{cms_module module='comments' modulename='News' pageid=$entry->id websitefield=1 emailfield=1}
<div id="NewsPostDetailPrintLink">
{$entry->printlink}
</div>
{if $return_url != ""}
<div id="NewsPostDetailReturnLink">{$return_url}</div>
{/if}
1 : How do I get the comments module to work on every news item?
2 : How do I style the Comment fields? (I have added the news css to the template)
I would not mind sharing my login/password if this will fix it, you can PM me about this or find me on msn or whatever. I'm desperate, I'm trying to help a good friend who really needs this to work fast. It's really important to me that it will work..
The website is located at : http://www.bioda.nl (click weblog)
Thank you very much in advance.
Kind regards,
Thijs