-
☆ A M B ☆
- 1,231 Posts
I need some help... i’m kinda stuck with what i’m trying to achieve.
I would like a home page that has boxes for each news article but i do not want them showing up on any other page. What i try just isn’t doing what i want it to... they keep showing up on other pages.
See the diagram... this is what i am trying to achieve for my home page.
When i create a chuck and put it in the template {{news}} it’s showing up on every page... my chunk code is
<div id="newstop"></div>
<div id="newsmid">
[*content*]
</div>
<div id="newsbot"></div>
the code in the template is
<div id="content">
{{news}}
</div>
the divs are holding images to create the news box... could someone explain how i can achieve my goal? Thanks!
You can make 2 templates, 1 for homepage and 2nd for all other pages. Its the easiest.
-
☆ A M B ☆
- 24,524 Posts
Even better, make a TV with a blank default, and put your chunk tags in it for the home page.
-
☆ A M B ☆
- 1,231 Posts
Quote from: sottwell at Nov 06, 2007, 11:12 AM
Even better, make a TV with a blank default, and put your chunk tags in it for the home page.
Thanks for the ideas folks....
I like the sound of this one. The TV screen is obviously different from the others so what options or boxes do i need to fill in?
Do i just put a title for the TV and in the default value box have the {{news}} {{whateverelse}} options in there? Or do is there more to it than this?
-
☆ A M B ☆
- 24,524 Posts
For such a simple TV, that’s all you would need. Leave the default value blank for this purpose, since you only want the content in one specific page and nothing at all there in all the rest of the pages. Then when you edit the page, put the chunk tags in the TV’s field.