Front End Users - template variable names?
Posted: Mon Jun 29, 2015 2:37 pm
I'm trying to write a custom template for the 'Change Setting Template' in FEU.
The sample template loops through the controls with:
But I'm trying to access them individually, and I've tried:
Is there a method to working this out?
Different modules have different ways of defining individual variable names. Could this be unified across modules?
The sample template loops through the controls with:
Code: Select all
{foreach $controls as $key=>$field}Code: Select all
$controls->username.prompt.value
$controls->username.prompt
$controls->fieldsbyname.username.prompt.value
$controls->fieldsbyname.username.prompt
$field->username.prompt.value
$field->username.prompt
$field->fieldsbyname.username.prompt.value
$field->fieldsbyname.username.promptDifferent modules have different ways of defining individual variable names. Could this be unified across modules?