View Single Post
  #2  
Old 08-29-2003, 06:54 AM
 
rodneyw rodneyw is offline
 

Senior Member
  
Join Date: Mar 2003
Posts: 162
 

Default

This should be it...

FILE:: Skin1/help/contactus.tpl

Looks for these types of code
Code:
<tr valign=middle> <td class=FormButton>{$lng.lbl_first_name}</td> <td>*</td> <td nowrap> <input type=text name=firstname size=32 maxlength=32 value="{$userinfo.firstname}"> {if $fillerror ne "" and $userinfo.firstname eq ""}<font class=Star>&lt;&lt;</font>{/if} </td> </tr>

to remove the required check and the star it should look like this
Code:
<tr valign=middle> <td class=FormButton>{$lng.lbl_first_name}</td> <td></td> <td nowrap> <input type=text name=firstname size=32 maxlength=32 value="{$userinfo.firstname}"> </td> </tr>


FILE:: include/help.php file

you will need to edit the following line
Code:
$fillerror = (empty($contact["firstname"]) || empty($contact["lastname"]) || empty($contact["email"]) || empty($contact["subject"]) || empty($contact["body"]));

Remove any that you do not want to require. Mine has already been modified so it may not look exactly like yours
Reply With Quote