Hi,
I have a home page which displays two separate boxes...one with a welcome message (left box) and one is a feature box (right box).
In the specific ’Home’ template i have got the [*content*] showing where the welcome box should be on the left....which displays just fine.
I’ve never used TV’s before so bear with me...
To get the feature box (right box) to display I’ve created a chunk ( {{homeright}} ) with the html code and then added the chunk call to the TV ( [*righthomebox*] ) with a setting of ’RichText’. The chunk ( {{homeright}} ) has been added to the ’Default Value’ area.
Then i’ve added the TV call to the Home template (i’ve also assigned the TV to the Home template with the ’template access’ checkbox...
Home Template code:
<div class="float-left-box">
<h2>Welcome</h2>
[*#content*]
</div>
[*righthomebox*]
Here’s the right chunk:
<div class="float-right-box">
<div class="float-right-box-text">
<h3 class="featured-bullet">Featured Product</h3>
[*content*]
<div class="float-right-box-bottom"> <a href="#" title="find out more" class="read-more">Read more</a></div>
</div>
</div>
I can enter content to the ’Home’ page in Template variable area but the css styling is not displaying and neither is the
<h3 class="featured-bullet">Featured Product</h3> part of the chunk.
Could anyone explain to me what i’m doing wrong and where to put this right?
This probably the incorrect way to use Tv’s...but I’ve trawled the forums and documentation and can’t seem to find anything that simplifies this scenario in a step by step manner...once i’ve finally grasped TV’s i shall document something myself for future users.
Thanks for any help.
J