I'd like to have the options for my cycle loaded from the config file
if possible. So far I haven't been able to find the right syntax or an
example, any ideas?
ie
<code>
*** config file ***
[index]
color1="#eeeeee "
Color2="#dddddd "
*** tpl ***
{config_load file="test.conf " section="index" }
{section name=members loop=$users}
<tr bgcolor="{cycle values="{#color 1#},{#color2#}" } >
<td>{$users[members].id}</td><td>{$users[members].email}</td>
</tr>
{/section}
</code>
if possible. So far I haven't been able to find the right syntax or an
example, any ideas?
ie
<code>
*** config file ***
[index]
color1="#eeeeee "
Color2="#dddddd "
*** tpl ***
{config_load file="test.conf " section="index" }
{section name=members loop=$users}
<tr bgcolor="{cycle values="{#color 1#},{#color2#}" } >
<td>{$users[members].id}</td><td>{$users[members].email}</td>
</tr>
{/section}
</code>
Comment