-
- 1,118 Posts
Hi all,
Is this possible? Here is the theory...
I have a number of Chunks which are Templates of HTML that I want to render onto a page, the thing is, for each page I want to be able to set which Chunk template should be used based on the value of a TV I set...
Therefore If I set the TV to be 1 - then I want getResources to display the ChunkTpl1, if I set the TV to be 2 - then I want getResources to display the ChunkTpl2...
How would one achieve this? I have tried numerous things but cant seem to get my head around using IF’s in getReources...
Thanks!
dubbs.
-
- 1,118 Posts
Sorry.... to hasty! that solution above does not work... just renders the last template call regardless of setting of the TV...