I have set up CGContentUtils and configured a radio button list
1080 x 1920|1
1920 x 1080|2
1280 x 1024|2
1920 x 540|4
540 x 1920|5
I am using the value of the radio button to display the appropriate aspect ratio
Code: Select all
{content_module module='CGContentUtils' block='tft_resolution' label="Display resolution" tab="TFT Specification" assign="tft_res"}
{if $tft_res == '1'}<p>9:16</p>
{elseif $tft_res == '2'}<p>16:9</p>
{elseif $tft_res == '3'}<p>4:3</p>
{elseif $tft_res == '4'}<p>32:9</p>
{elseif $tft_res == '5'}<p>9:32</p>
{/if}
Code: Select all
{$tft_res}I assume it's being able to call the key/label. But I've tried variations to know avail.
Thanks in advance for the help.

