Page 1 of 1

Changing print-template newsmodule.

Posted: Mon Nov 27, 2006 7:53 pm
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

Re: Changing print-template newsmodule.

Posted: Thu Nov 30, 2006 7:37 pm
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.

Re: Changing print-template newsmodule.

Posted: Sun Dec 30, 2007 2:33 pm
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

Re: Changing print-template newsmodule.

Posted: Wed Jun 03, 2009 9:40 am
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