news module: headlines only?

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.
Locked
jelle

news module: headlines only?

Post by jelle »

Hello helpfull forum,

Is there a way to have the news modules display headlines only?
stopsatgreen
Power Poster
Power Poster
Posts: 322
Joined: Sat Feb 04, 2006 1:24 am

Re: news module: headlines only?

Post by stopsatgreen »

My site seems to be down at the moment, so I'm doing this from memory, but the procedure is something like:

1. Create a new template and save it into Modules > News > Templates. The content should be something like:

Code: Select all

{foreach from=$items item=entry}
<p>{$entry->titlelink}</p>
{/foreach}
2. Create a content page in the CMS and insert the tag:

Code: Select all

{cms_module module="news" summarytemplate="yourtemplate.tpl"}
Sorry that this may not be exact; when my site is online again I can check for sure.
jelle

Re: news module: headlines only?

Post by jelle »

Thank you! That helps a lot as I have not yet figured out this templating stuff yet. It looks like another programming language again  :-\
Locked

Return to “CMSMS Core”