Page 1 of 1

[SOLVED] news show specific article

Posted: Mon Nov 22, 2010 7:44 pm
by ciprianl
Hello,
Hello,
All I want is to show in a summary template only one specific article. Something like this:
{cms_module module="news"  articleid="8"  summarytemplate="mytemplate"}
It seems to me a very simple and fair question. I know about articleid that is only
working with action=detail. Why not working with default action? Can anybody help me?
Thank you

Re: news show specific article

Posted: Mon Nov 22, 2010 7:46 pm
by jmcgin51
just use action=detail, then use a Detail Template that has been modified to look like a summary template.

Re: news show specific article

Posted: Mon Nov 22, 2010 7:50 pm
by ciprianl
OK, and when I click on the news to see the full content what will happend?

Re: news show specific article

Posted: Mon Nov 22, 2010 8:13 pm
by ciprianl
Or maybe someway to use custom field for a criteria , like:
{cms_module module="news"  mycustomfield="something"}.
Does anyone have an idea?

Re: [SOLVED] news show specific article

Posted: Mon Nov 22, 2010 9:49 pm
by RonnyK
wouldnt it have been easier to create a specific category for this one, and then just call {news category=''}... that wouldnt have required creating custom-files.

Ronny

Re: [SOLVED] news show specific article

Posted: Mon Nov 22, 2010 9:52 pm
by ciprianl
If I have about 50 articles or more it's not so interesting making 50 categories. And also on other page I want to list all articles in a specific category...

Re: [SOLVED] news show specific article

Posted: Mon Nov 22, 2010 10:14 pm
by ciprianl
Strange! What happened with my post (the one with the solution)? It is against the policy? Did the moderator delete it?

Re: [SOLVED] news show specific article

Posted: Mon Nov 22, 2010 10:16 pm
by calguy1000
Yes.  Forum policy is to NOT post code modifications.

Re: [SOLVED] news show specific article

Posted: Mon Nov 22, 2010 10:18 pm
by ciprianl
ok, sorry