Page 1 of 1

[solved]News module always show only the summaries page

Posted: Wed Apr 09, 2014 11:45 am
by shmoyko
Apparently, the template needs to have the {news} tag typed in the CMS's wysisyg within the Content block, and the News module will work.

Just putting the {news} inside the template, after {content} does not work.

I guess, we need to "tell" the CMS to put the details of the news item into the Content block.

Fair enough. Hope this helps someone.

---------------------------------------------------

Hello,

I can't seem to display any of the News items' details page. I just get stuck on the News summaries page where the items are listed (btw, this is the case with some other modules, like CGBlog).

My template has the {news tag} in the body of the page.
I have removed .htaccess and cleared the cache.

The URL of a specific news item is shown, but not the item itself.

Please have a look here:
http://autorotation.org/jabilake/index.php?page=news

Thank you.

Re: [solved]News module always show only the summaries page

Posted: Sat Apr 12, 2014 2:26 am
by Dr.CSS
That's interesting as most all the default templates have the {news} tag in them and they have been working fine for a long time...

{* Start News, stylesheet "Module: News" *}
<div id="news">
<h2>News</h2>
{news number='3' detailpage='news'}
</div>
{* End News *}

Did you have a default {content} tag in the template..?