multiple news pages?
-
atracksler
multiple news pages?
I want to have multiple news pages n my site, currently if I add news items, I cannot seperate them into seach news page, all the news items show up on both pages, I am using v.0.12.1 "Savusavu"\\
Thanks in advance, ad
Thanks in advance, ad
Re: multiple news pages?
you need to use different categories and use category="beer" on the other page and category="wine" on the other
hope this helps
hope this helps
-
atracksler
Re: multiple news pages?
Sorry for being a moron, but how do I set that up in the backend?
Re: multiple news pages?
Thats ok 
First you need to create new category go to content -> news -> categories -> add category and give it some name (lets call it "beer"
then add another, say "wine"
Then when creating new news post you can select which category it belongs.
If you call news from a page you can use {cms_module module="news" category="beer"} and if you use content type news you have to set Category on the form.
First you need to create new category go to content -> news -> categories -> add category and give it some name (lets call it "beer"
Then when creating new news post you can select which category it belongs.
If you call news from a page you can use {cms_module module="news" category="beer"} and if you use content type news you have to set Category on the form.
-
atracksler
Re: multiple news pages?
Okay, I think I have a grasp on this, so ho do I specify on the beer news page that I set up in the pages manager to only show the beer news?
I hope that's clear.
I hope that's clear.
-
cyberman
Re: multiple news pages?
Put only thisatracksler wrote: ho do I specify on the beer news page that I set up in the pages manager to only show the beer news?
Code: Select all
{cms_module module="news" category="beer"}-
atracksler
Re: multiple news pages?
So, just to be clear, I am making a new template for each news page.
I have a general tmplate for the site
I will have a beer news template, with that code in it above
and a wine news template with the same codr modified for wine..
right???
Thanks. ad
I have a general tmplate for the site
I will have a beer news template, with that code in it above
and a wine news template with the same codr modified for wine..
right???
Thanks. ad
-
cyberman
Re: multiple news pages?
The general template have nothing to do with it ...
You can create a template only for news. Call now your news module like
{cms_module module="news" category="beer" summarytemplate="beertemplate.tpl"}
for summary news or
{cms_module module="news" category="wine" detailtemplate="winetemplate.tpl"}
for detailed news
.
You call the news templates inside the general template.
You can create a template only for news. Call now your news module like
{cms_module module="news" category="beer" summarytemplate="beertemplate.tpl"}
for summary news or
{cms_module module="news" category="wine" detailtemplate="winetemplate.tpl"}
for detailed news
You call the news templates inside the general template.
Last edited by cyberman on Thu May 11, 2006 1:04 pm, edited 1 time in total.
-
atracksler
Re: multiple news pages?
chalk another one up for dunce-y questions, how do i call the modules?
Re: multiple news pages?
well it might be long distance.. # is 1 432 587 9784
just kidding
where you normally put {content} in a template you would put one of those ^ like...
{cms_module module="news" category="beer" summarytemplate="beertemplate.tpl"}
for summary news or
{cms_module module="news" category="wine" detailtemplate="winetemplate.tpl"}
mark
just kidding
where you normally put {content} in a template you would put one of those ^ like...
{cms_module module="news" category="beer" summarytemplate="beertemplate.tpl"}
for summary news or
{cms_module module="news" category="wine" detailtemplate="winetemplate.tpl"}
mark
-
atracksler
Re: multiple news pages?
now askingthe obvoius question, how do I put it on a contact page, that just seems easier to me...
-
cyberman
Re: multiple news pages?
Don't know if i've understood your question right ... please look in administration menu layout-templates for template Bulletmenu Vert 1col+News. I think there you could found the solution.
Re: multiple news pages?
if you mean any page even "contact"
in page edit 'box' view source button top left, clik, paste
{cms_module module="news" category="beer" summarytemplate="beertemplate.tpl"}
for summary news or
{cms_module module="news" category="wine" detailtemplate="winetemplate.tpl"}
your tag just examples into the window that pops up, clik ok, if it doesn't view right when you look at the page go back and make sure it didn't format it...
mark
in page edit 'box' view source button top left, clik, paste
{cms_module module="news" category="beer" summarytemplate="beertemplate.tpl"}
for summary news or
{cms_module module="news" category="wine" detailtemplate="winetemplate.tpl"}
your tag just examples into the window that pops up, clik ok, if it doesn't view right when you look at the page go back and make sure it didn't format it...
mark


