Create a tv and name it.
name : myTV
Input Type: check box
Input Option Values: sidebar=={{sidebar}}
select which template it can be used with and save.
Create a chunk called sidebar and put your code in the chuck.
Then when you create a page, at the bottom of the edit area is you TVs. Check the box and it will show up on that page.
Make sure you put the TV in your template somewhere. [*myTV*]
-
- 41 Posts
Yes that does work! Thanks! The only thing is, how do I get it in the right place? It now shows up on a random place. How can I tell it where exactly to be? In the default.css I have specified the place of the content-right and the contentright2, where the pictures should be, but somehow I have to connect the chunk with that.
Man this is difficult!
I also got it to work with the onclick chunk, but that also messed the page up.
Quote from: libralion at Jun 29, 2008, 06:10 PM
Yes that does work! Thanks! The only thing is, how do I get it in the right place? It now shows up on a random place. How can I tell it where exactly to be? In the default.css I have specified the place of the content-right and the contentright2, where the pictures should be, but somehow I have to connect the chunk with that.
Man this is difficult!
I also got it to work with the onclick chunk, but that also messed the page up.
If you want the information to be in your content-right div you would do
<div id="content-right">
[*myTV*]
</div>
The information from the TV will be put in this div tag.
That’s good news.
One thing I would do... If you hover the mouse over the image, you can see the arrow stays as is rather than changing to a pointer to signify the image is clickable.
I would make a style for the content like style="cursor:pointer;" this will change the mouse arrow to a pointer so you know you can click the element.
Looking good though.
Good Glad that’s you sorted out with that now!