Newbie at News Module Template

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
vdohar
New Member
New Member
Posts: 7
Joined: Wed Sep 12, 2007 6:22 pm

Newbie at News Module Template

Post by vdohar »

Hi folks,
I am in the midst of setting up all my the templates and CSS files before I start adding the content. This is what CMS suggests and it makes sense. So far it has been going well considering I have had little HTML and practically no CSS knowledge prior to diving right in.  Right now I am trying to figure out which template is used to display when a user clicks on a news item in the sidebar.  The page/template that always displays with the details of the news item is the CMS Made Simple template that came with the installation and not my custom template.  Is it a template file or a CSS file that I should update somewhere? Thanks for your help.
Vic.
stopsatgreen
Power Poster
Power Poster
Posts: 322
Joined: Sat Feb 04, 2006 1:24 am

Re: Newbie at News Module Template

Post by stopsatgreen »

Unless you specify otherwise, the news story will display in the same page that it it linked from, using the template shown in the Default Templates tab.

In order to make it display in a different page with a different template, you need something like:

{new detailpage='page-name' detailtemplate='TemplateName'}

Hope that makes sense.
vdohar
New Member
New Member
Posts: 7
Joined: Wed Sep 12, 2007 6:22 pm

Re: Newbie at News Module Template

Post by vdohar »

Ok That makes some sense. Since most of my formating and modification is done in a custom CSS file that is used by my custom generic template (I used the CMS template provided with minor modifications), where do I state that the detail news template is to use my custom CSS file?
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Newbie at News Module Template

Post by Dr.CSS »

If you make changes to default new CSS and attach it to template it should change look, if you have a totally new news CSS attach it to template...
Post Reply

Return to “CMSMS Core”