Changing print-template newsmodule.

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
musicscore
Power Poster
Power Poster
Posts: 474
Joined: Wed Jan 25, 2006 11:53 am
Location: Netherlands

Changing print-template newsmodule.

Post by musicscore »

???

Is it possible to change the print template (layout) of the news-module.
I do not want the author and the summary tekst and I want the date in a different format.

Please help !!!

Musicscore
Rubiroza

Re: Changing print-template newsmodule.

Post by Rubiroza »

For the screen layout:

Try "Content -> News", then click on "Options" tab.
There is text box for defining date format (for example "%d.%m.%Y" will show "30.11.2006.").
This can be also done with "dateformat" parameter in {news} tag.

Furthermore, in Summary Template (or Detail Template) you can find next code:

{if $entry->author}
...
{/if}

for inserting author, and:

{if $entry->summary}
...
{/if}

for summary. Delete this if you don't want these informations.
This should work for print layout also.

I hope this will help, since i have very little experience with CMSMS.
Benoit

Re: Changing print-template newsmodule.

Post by Benoit »

Hi,

The print template is in content>printing menu!!!
This is a smarty syntax like your template for the site.

Regards
Benoît
User avatar
Lucaz
Forum Members
Forum Members
Posts: 66
Joined: Fri Dec 01, 2006 9:56 pm
Location: Netherlands

Re: Changing print-template newsmodule.

Post by Lucaz »

Benoit wrote: The print template is in content>printing menu!!!
This is a smarty syntax like your template for the site.
Don't know what you mean, but I found the print template file:
http://forum.cmsmadesimple.org/index.ph ... 499.0.html
Post Reply

Return to “Modules/Add-Ons”