[SOLVED] news show specific article

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
ciprianl
Forum Members
Forum Members
Posts: 11
Joined: Mon Nov 22, 2010 7:36 pm

[SOLVED] news show specific article

Post 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
Last edited by ciprianl on Mon Nov 22, 2010 9:45 pm, edited 1 time in total.
jmcgin51
Power Poster
Power Poster
Posts: 1899
Joined: Mon Jun 12, 2006 9:02 pm

Re: news show specific article

Post by jmcgin51 »

just use action=detail, then use a Detail Template that has been modified to look like a summary template.
ciprianl
Forum Members
Forum Members
Posts: 11
Joined: Mon Nov 22, 2010 7:36 pm

Re: news show specific article

Post by ciprianl »

OK, and when I click on the news to see the full content what will happend?
ciprianl
Forum Members
Forum Members
Posts: 11
Joined: Mon Nov 22, 2010 7:36 pm

Re: news show specific article

Post by ciprianl »

Or maybe someway to use custom field for a criteria , like:
{cms_module module="news"  mycustomfield="something"}.
Does anyone have an idea?
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: [SOLVED] news show specific article

Post 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
ciprianl
Forum Members
Forum Members
Posts: 11
Joined: Mon Nov 22, 2010 7:36 pm

Re: [SOLVED] news show specific article

Post 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...
ciprianl
Forum Members
Forum Members
Posts: 11
Joined: Mon Nov 22, 2010 7:36 pm

Re: [SOLVED] news show specific article

Post by ciprianl »

Strange! What happened with my post (the one with the solution)? It is against the policy? Did the moderator delete it?
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: [SOLVED] news show specific article

Post by calguy1000 »

Yes.  Forum policy is to NOT post code modifications.
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.
ciprianl
Forum Members
Forum Members
Posts: 11
Joined: Mon Nov 22, 2010 7:36 pm

Re: [SOLVED] news show specific article

Post by ciprianl »

ok, sorry
Post Reply

Return to “CMSMS Core”