For example, I have the following in my component.xml
Code: Select all
<params>
<param name="category" type="list" default = "0" label="Display Category" description="Test">
<option value="0">First</option>
<option value="1">Second</option>
<option value="2">Third</option>
</param>
Code: Select all
<option value="<?php echo $id; ?>"><?php echo $name; ?></option>
My current workaround is to use a url link with the $id value added by hand, but this is not very flexible, or convenient for the content managers. Fortunately, it's not a value that will change very often, but I'd prefer a more elegant approach.