comments niet zichtbaar [opgelost]

Nederlandse ondersteuning voor CMS Made Simple

Moderator: velden

Post Reply
User avatar
Gregor
Power Poster
Power Poster
Posts: 1874
Joined: Thu Mar 23, 2006 9:25 am
Location: The Netherlands

comments niet zichtbaar [opgelost]

Post by Gregor »

Hallo,

Mogelijk heb ik iets gemist, maar de Comments die bij een news item geplaatst kunnen worden, zijn wel in het admin deel zichtbaar, maar niet op de site. Dit is sinds de laatste update naar versie 1.6.4 Ik meen dat het bij 1.6.3 ook al niet werkte, maar ben niet zeker.

Iemand een idee?

Gregor
Last edited by Gregor on Thu Sep 24, 2009 8:11 am, edited 1 time in total.
User avatar
Gregor
Power Poster
Power Poster
Posts: 1874
Joined: Thu Mar 23, 2006 9:25 am
Location: The Netherlands

Re: comments niet zichtbaar

Post by Gregor »

Ben ik de enige met dit probleem???

Gregor
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm
Location: Raalte, the Netherlands

Re: comments niet zichtbaar

Post by RonnyK »

Zou je mij de settings eens kunnen geven. Dus hoe je Comments aan News gekoppeld heb. Ik kan er dan vanavond wel even naar kijken....

Ronny
User avatar
Gregor
Power Poster
Power Poster
Posts: 1874
Joined: Thu Mar 23, 2006 9:25 am
Location: The Netherlands

Re: comments niet zichtbaar

Post by Gregor »

Ik zal ze opzoeken Ronny, overigens is er niets aan gewijzigd sinds dat het werkte...

Gregor
User avatar
Gregor
Power Poster
Power Poster
Posts: 1874
Joined: Thu Mar 23, 2006 9:25 am
Location: The Netherlands

Re: comments niet zichtbaar

Post by Gregor »

Uit de Detail template van News:

Code: Select all

<h3 id="NewsPostDetailTitle">{$entry->title}</h3>

<hr id="NewsPostDetailHorizRule">

{if $entry->category}
	<div id="NewsPostDetailCategory">
		{$entry->category}
	</div>
{/if}

{if $entry->postdate}
	<div id="NewsPostDetailDate">
		{$entry->postdate}
	</div>
{/if}

{if $entry->summary}
	<div id="NewsPostDetailSummary">
	   <strong>
		{eval var=$entry->summary}
	   </strong>
	</div>
{/if}

{if $entry->author}
	<div id="NewsPostDetailAuthor">
	            {$entry->author}
	</div>
{/if}

<div id="NewsPostDetailContent">
	
        {eval var=$entry->content}
</div>

<div id="NewsPostDetailPrintLink">
	{$entry->printlink}
</div>
<br></br>

{if $return_url != ""}
<div id="NewsPostDetailReturnLink">{$return_url}</div>
{/if}
{if $entry->category == 'logboek'}
  {cms_module module='comments' modulename='News' pageid=$entry->id}
{/if}
{if $entry->category == 'Onderhoud'}
  {cms_module module='comments' modulename='News' pageid=$entry->id}
{/if}
{if $entry->category == 'General'}
  {cms_module module='comments' modulename='News' pageid=$entry->id}
{/if}
Gregor
User avatar
Gregor
Power Poster
Power Poster
Posts: 1874
Joined: Thu Mar 23, 2006 9:25 am
Location: The Netherlands

Re: comments niet zichtbaar

Post by Gregor »

Ronny,

Ben nieuwsgierig of je al gelegenheid hebt gehad hier een blik op te werpen, of heb je aanvullende info nodig?

Gregor
Jos
Support Guru
Support Guru
Posts: 4019
Joined: Wed Sep 05, 2007 8:03 pm
Location: The Netherlands

Re: comments niet zichtbaar

Post by Jos »

Waarom doe je dit?

Code: Select all

{if $entry->category == 'logboek'}
  {cms_module module='comments' modulename='News' pageid=$entry->id}
{/if}
{if $entry->category == 'Onderhoud'}
  {cms_module module='comments' modulename='News' pageid=$entry->id}
{/if}
{if $entry->category == 'General'}
  {cms_module module='comments' modulename='News' pageid=$entry->id}
{/if}
Heb je het al eens geprobeerd zonder die if-statemements?
Dus bovenstaande vervangen door:

Code: Select all

{cms_module module='comments' modulename='News' pageid=$entry->id}
User avatar
Gregor
Power Poster
Power Poster
Posts: 1874
Joined: Thu Mar 23, 2006 9:25 am
Location: The Netherlands

Re: comments niet zichtbaar

Post by Gregor »

Dit doe ik omdat ik per categorie bepaalde news-items zichtbaar wil maken. Zo wil ik in mijn logboek, bovenaan de pagina, niet de nieuws items hebben die rechts op de pagina staan.
www.uisge-beatha.eu

Gregor
User avatar
Gregor
Power Poster
Power Poster
Posts: 1874
Joined: Thu Mar 23, 2006 9:25 am
Location: The Netherlands

Re: comments niet zichtbaar [opgelost]

Post by Gregor »

Ok, on the edge.... bestaande tabel geëxporteerd, module verwijderd, nieuwe comments-module geïnstalleerd, en de geëxporteerde tabel teruggezet, en het staat er weer in  :)

Gregor
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm
Location: Raalte, the Netherlands

Re: comments niet zichtbaar [opgelost]

Post by RonnyK »

Gregor,

overigens nog even 1 ding over je logica....
{if $entry->category == 'logboek'}
  {cms_module module='comments' modulename='News' pageid=$entry->id}
{/if}
{if $entry->category == 'Onderhoud'}
  {cms_module module='comments' modulename='News' pageid=$entry->id}
{/if}
{if $entry->category == 'General'}
  {cms_module module='comments' modulename='News' pageid=$entry->id}
{/if}
zou je ook als:
{if $entry->category == 'logboek' || $entry->category == 'Onderhoud' ||  $entry->category == 'General'}
  {cms_module module='comments' modulename='News' pageid=$entry->id}
{/if}
kunnen schrijven....

Ronny
User avatar
Gregor
Power Poster
Power Poster
Posts: 1874
Joined: Thu Mar 23, 2006 9:25 am
Location: The Netherlands

Re: comments niet zichtbaar [opgelost]

Post by Gregor »

Dank je. Aangepast en werkt.

Gregor
Post Reply

Return to “Dutch - Nederlands”