[問題]如何修改(隱藏)註冊時不需填入的欄位
發表於 : 2004-01-21 12:19
請問一下
註冊欄位有些不需要的
如icq msn ....等等
要如何把它們刪除呢\r
麻煩各位高手 教一下
註冊欄位有些不需要的
如icq msn ....等等
要如何把它們刪除呢\r
麻煩各位高手 教一下
其實很簡單的方法,運用下列兩段語法就可以辦到,在tpl檔中把你要的欄位包起來就可以了,依夢兒 寫:好像可以辦到....
我指的是,可以讓欄位在註冊時被隱藏,待註冊後會員進入編輯個人資料的頁面時還是可以看到並且填寫。
這樣可以縮短會員註冊的時間,註冊時讓他填寫幾個必要的資料就好了。
例如「主題回覆通知」這個選項,很多會員(新人)在註冊時可能完全不懂這是幹嘛用的,
所以我在註冊頁面上已經把它隱藏起來了,要設定的話等註冊後自己再進入編輯個人資料的頁面。
若是你是不想讓其他的一般會員看到的話,最簡單的方式就是\rtifeng 寫:請問一下
註冊欄位有些不需要的
如icq msn ....等等
要如何把它們刪除呢\r
麻煩各位高手 教一下
代碼: 選擇全部
<input type="radio" name="viewemail" value="1" {VIEW_EMAIL_YES} />
<span class="gen">{L_YES}</span>
代碼: 選擇全部
<tr>
<td class="row1"><span class="gen">{L_ICQ_NUMBER}:</span></td>
<td class="row2">
<input type="text" name="icq" class="post"style="width: 100px" size="10" maxlength="15" value="{ICQ}" />
</td>
</tr>
代碼: 選擇全部
<tr>
<td class="row1"><span class="gen">{L_AIM}:</span></td>
<td class="row2">
<input type="text" class="post"style="width: 150px" name="aim" size="20" maxlength="255" value="{AIM}" />
</td>
</tr>
代碼: 選擇全部
<tr>
<td class="row1"><span class="gen">{L_MESSENGER}:</span></td>
<td class="row2">
<input type="text" class="post"style="width: 150px" name="msn" size="20" maxlength="255" value="{MSN}" />
</td>
</tr>
代碼: 選擇全部
<tr>
<td class="row1"><span class="gen">{L_YAHOO}:</span></td>
<td class="row2">
<input type="text" class="post"style="width: 150px" name="yim" size="20" maxlength="255" value="{YIM}" />
</td>
</tr>
代碼: 選擇全部
<tr>
<td class="row1"><span class="gen">{L_WEBSITE}:</span></td>
<td class="row2">
<input type="text" class="post"style="width: 200px" name="website" size="25" maxlength="255" value="{WEBSITE}" />
</td>
</tr>
代碼: 選擇全部
<tr>
<td class="row1"><span class="gen">{L_LOCATION}:</span></td>
<td class="row2">
<input type="text" class="post"style="width: 200px" name="location" size="25" maxlength="100" value="{LOCATION}" />
</td>
</tr>