News Module &/or Templates Explanation Required

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.
Locked
fil

News Module &/or Templates Explanation Required

Post by fil »

OK I have been setting up a template for the main page of the site I am working on and want to include a summary of news items on it.  This I have done (see www.ombak.co.uk/index.php) using the news module. 

The template also includes three content blocks towards the bottom of the page.  Now when you click on the news item the resulting page shows the detailed news on the left hand side but if you scroll down the three boxes lose their content.

Now I assume that it is still using the main page template but how do I get the info that is entered via edit page into it without hard coding it into the template?  Do I need to set up a new template somewhere?  Edit the detailed news template? or something completely different?

Cheers

Phil
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

Re: News Module &/or Templates Explanation Required

Post by Ted »

Are thoes 3 blocks at the bottom going to change for every page?
fil

Re: News Module &/or Templates Explanation Required

Post by fil »

Nope - those three blocks will only appear on the main page.

I think the only way I can do what I want is to hard code them into the template - correct?

Phil
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

Re: News Module &/or Templates Explanation Required

Post by Ted »

That's the best bet.  If you want to at least separate them out a bit so your template isn't a mess, you can use an html blob for each one.
fil

Re: News Module &/or Templates Explanation Required

Post by fil »

Great - thanks for reminding me about html_blobs as well - that means they can still be edited without having to have permissions to edit the main template which was what I was trying to maintain.

Phil
Locked

Return to “CMSMS Core”