Quote from: Bruno17 at Jun 12, 2009, 08:44 AM
There is no need for a snippet to do so:
you can put in your optionvalues banner1=={{banner1_chunk}}||banner2=={{banner2_chunk}}||banner3=={{banner3_chunk}}
and as default value: {{banner1_chunk}}
In this example you should use this as default value:
@inherit {{banner1_chunk}}
the @inherit will look up into the document tree to see if a upper document has the variable set. If that is so it will get that choice instead of the default.
So for example this is your document structure:
Home (TV set to banner2)
About us (TV set to banner3)
--the company (no TV set)
--the people (TV set to banner2)
Contact (TV set to banner1)
In this example the sub document "the company" has the default value of the TV, because it inherits it’s parent the system tell’s to use the value that is set in the "About us" page instead of the default value.
I hope this makes some things clear

Just post another question if you need more help!