You add a new template, user.editinterests.isml, that shows the interest and newsletter choices on the browser.
<!--- TEMPLATENAME: editpreferences.isml renders fields
on browser --->
<isdecorate template="account/pt_account">
<iscontent type="text/html" charset="UTF-8"
compact="true">
<!-- Start: user/editpreferences -->
<isinclude template="util/modules">
<div id="service">
<h1>${Resource.msg('user.editpreferences.001','user',null)}</h1>
<div class="editprofile">
<h2>${Resource.msg('user.editpreferences.002','user',null)}</h2>
<form action="${URLUtils.httpsContinue()}"
method="post" id="EditProfileForm">
<h3>${Resource.msg('user.editpreferences.003','user',null)}</h3>
<div id="editprofile">
<fieldset>
<table class="simple">
<tr>
<isinputfield formfield="${pdict.CurrentForms.
preferences.outerwear}"
type="checkbox">
</tr>
<tr>
<isinputfield formfield="${pdict.CurrentForms.
preferences.footwear}"
type="checkbox">
</tr>
</table>
</fieldset>
</div>
<h3>${Resource.msg('user.editpreferences.004','user',null)}</h3>
<div id="editprofile">
<fieldset>
<table class="simple">
<tr>
<isinputfield formfield="${pdict.CurrentForms.
preferences.newsletter}"
type="checkbox">
</tr>
</table>
...
</fieldset>
<fieldset>
<input class="image imageright" type="image"
name="${pdict.CurrentForms.
preferences.apply.htmlName}"
value="Edit" src="${URLUtils.staticURL('/images/bttn_apply.gif')}"
/>
</fieldset>
</div>
</form>
</div>
</div>
<!-- End: user/editpreferences -->
</isdecorate>
© Copyright 2000-2023, Salesforce, Inc. All rights reserved. Various trademarks held by their respective owners. |
Show URL | Submit Feedback | Privacy Policy |