View Single Post
  #6  
Old 02-16-2009, 08:51 AM
 
CollectiveInk CollectiveInk is offline
 

Member
  
Join Date: Sep 2007
Posts: 21
 

Default Re: Urgent help needed.

Quote:
Originally Posted by robertswww
Hi Tim,

To add additional "Departments", you will need to edit the file:
skin1/help/contactus.tpl

Additional details...

NOTE: To get the additional departments to show, you may need to comment out the 2 IF statements around Line 240 and Line 244:
{* {if $default_fields.department.avail eq 'Y'} *}
{* {if $default_fields.department.required eq 'Y'} *}

and the 2 closing IF statements around Line 246 and Line 260:
{* {/if} *}
{* {/if} *}

Then, just insert your additional departments into a new option around Line 250, for example to add Advertising to the drop-down:
<option value="Advertising">{$lng.lbl_advertising}</option>

You will probably want to create you own labels.

Robert

First off, thanks for your help Robert.

Ok, I added the comment out markings, and the previous changes were visible. I added the additional names and they all disappeared.

Here is the code I currently have (red bold is what I added to comment out):

{* {if $default_fields.department.avail eq 'Y'} *}
<tr valign="middle">
<td class="FormButton">{$lng.lbl_department}</td>
<td> {* {if $default_fields.department.required eq 'Y'} *}<font class="Star">*</font>{* {/if} *}</td>
<td nowrap="nowrap">
<select id="department" name="department">
<option value="All" {if $smarty.get.type eq ""}selected="selected"{/if}>{$lng.lbl_all}</option>
<option value="Customer Service">{$lng.lbl_cs}</option>
<option value="Retail Store Sales" {if $smarty.get.type eq "whole"}selected="selected"{/if}>{$lng.lbl_retail}</option>
<option value="Online Store Sales" {if $smarty.get.type eq "whole"}selected="selected"{/if}>{$lng.lbl_onlinestore}</option>
<option value="Non-Profit Sales">{$lng.lbl_npsales}</option>
<option value="Marketing & Advertising">{$lng.lbl_markad}</option>
<option value="Product Sourcing">{$lng.lbl_sourcing}</option>
</select>
</td>
</tr>
{* {/if} *}

----------------
So now I need to go under languages, and create labels (lbl_cs, lbl_retail, etc.) right?

Is there a place to direct each of those to particular emails? (as with traditional html/php forms)
__________________
x-cart gold Version 4.1.8
Reply With Quote