| ||||||||||||
![]() |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
(#1)
|
(#2)
|
(#3)
|
| Member Posts: 149 Join Date: May 2006 |
29-09-2006, 02:06 PM
The code looks as below. The department id is 6, however the template id is 2 for DBA department, but no where template group id is mentioned here. By default it takes default template whose id is 1. Please let me know where I am doing wrong. <fieldset class="swiftfieldset"> <legend><{$language[selectdepartment]}></legend> <table width="100%" border="0" cellspacing="1" cellpadding="2"> <{foreach key=key value=item from=$ticketdepartments}> <tr> <td width="1" align="left" valign="top" class="row2"><label for="departmentid[<{$item[departmentid]}>]"><input type="radio" name="departmentid" id="departmentid[<{$item[departmentid]}>]" value="<{$item[departmentid]}>"<{if $tgroup[departmentid] == $item[departmentid]}> checked<{/if}>></label></td> <td><span class="smalltext"><label for="departmentid[<{$item[departmentid]}>]" style="CURSOR: pointer;"><{$item[title]}></label></span></td> </tr> <{/foreach}> <!-- DBA Department code Begins--> <tr> <td width="1" align="left" valign="top" class="row2"><label for="departmentid[6]"><input type="radio" name="departmentid" id="departmentid[6]" value="6" checked></label></td> <td><span class="smalltext"><label for="departmentid[6]" style="CURSOR: pointer;">DBA</label></span></td> </tr><!-- DBA Department code ends --> </table> </fieldset> |
| | |
![]() |
| Tags |
| department, template, unique |
| Thread Tools | Search this Thread |
| Display Modes | |
| |