thanks calguy1000 for the reply.
Unfortunally, I don't understand your hint very well or maybe I couldn't explain my problem good enough.
Here is it more detailed
I want to modify the change settings template. In it, I have a loop:
Code: Select all
{foreach from=$controls item=control}
{$control->hidden}<label for="">{$control->prompt}{$control->marker}</label>{$control->control}<br/>
<div class="hint">{$control->addtext}</div>
{/foreach}
as you see, I want to put a in front of each form element. The syntax is to say
Code: Select all
<label for="nameofthelementtolabel">Labeltext</label>
My problem is, that I can't find the variable which contains the name, as it is already in {$control->control} included.
Did I miss the variable? {get_template_vars} didn't help.
Your help is very welcome!
simb