1. Latest Version of CMS - 1.2
2. News Module 2.6
The default CMS templates have the news tag {news} in the left hand column. News as a 'page type' is no longer supported.
So my question is we need to create a NEWS PAGE - where someone clicks there and see's all the articles - just like the old News Module allowed as a page type.
How do create a page that will show all the articles and we can link to it?
Thanks
How To Create a NEWS PAGE
Re: How To Create a NEWS PAGE
make a new (regular content) page, title and call it whatever you want.. this example assumes the page alias of: news
in the content area use something like:
this will give you a (linked) list of categories followed by summaries of the 5 newest articles. if you just want "all" article summaries, use:
optional.... back in your cmsms template, you can change the {news} tag to read something like:
to limit the number of article summaries shown in that more limited space.
in the content area use something like:
Code: Select all
{news browsecat='1'}
{news detailpage='news' number='5'} Code: Select all
{news detailpage='news'}Code: Select all
{news detailpage='news' number='2'}
Last edited by kermit on Sat Nov 17, 2007 4:30 am, edited 1 time in total.
eternity (n); 1. infinite time, 2. a seemingly long or endless time, 3. the length of time it takes a frozen pizza to cook when you're starving.
4,930,000,000 (n); 1. a very large number, 2. the approximate world population in 1986 when Microsoft Corp issued its IPO. 3. Microsoft's net profit (USD) for the quarter (3 months) ending 31 March 2007.
CMSMS migration and setup services | Hosting with CMSMS installed and ready to go | PM me for Info
4,930,000,000 (n); 1. a very large number, 2. the approximate world population in 1986 when Microsoft Corp issued its IPO. 3. Microsoft's net profit (USD) for the quarter (3 months) ending 31 March 2007.
CMSMS migration and setup services | Hosting with CMSMS installed and ready to go | PM me for Info
Re: How To Create a NEWS PAGE
I did what you suggested but I am not sure if it is correct...
http://awomansworth.org/site/index.php?page=press
On this page I just want the articles to appear and not the left column with the same thing again.
Any ideas?
http://awomansworth.org/site/index.php?page=press
On this page I just want the articles to appear and not the left column with the same thing again.
Any ideas?
-
calguy1000
- Support Guru

- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: How To Create a NEWS PAGE
Then you have a number of options.....
1) you could create a new page template, that takes {news} out of the left column and use that new template for your news page.
or
2) you could set a variable in the metadata section of the news page and then use some logic to optionally display the news.
i.e:
(in the metadata section on the options tab): {assign var='hideleftnews' value='1'}
(in the page template): {if !isset($hideleftnews)}{news}{/if}
Note, that this is a very powerful technique that can be used for a variety of purposes.
1) you could create a new page template, that takes {news} out of the left column and use that new template for your news page.
or
2) you could set a variable in the metadata section of the news page and then use some logic to optionally display the news.
i.e:
(in the metadata section on the options tab): {assign var='hideleftnews' value='1'}
(in the page template): {if !isset($hideleftnews)}{news}{/if}
Note, that this is a very powerful technique that can be used for a variety of purposes.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.

