Page 1 of 1

News Module &/or Templates Explanation Required

Posted: Sun Feb 12, 2006 1:50 pm
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

Re: News Module &/or Templates Explanation Required

Posted: Sun Feb 12, 2006 2:13 pm
by Ted
Are thoes 3 blocks at the bottom going to change for every page?

Re: News Module &/or Templates Explanation Required

Posted: Sun Feb 12, 2006 2:18 pm
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

Re: News Module &/or Templates Explanation Required

Posted: Sun Feb 12, 2006 2:26 pm
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.

Re: News Module &/or Templates Explanation Required

Posted: Sun Feb 12, 2006 2:36 pm
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