R
ragtek
Guest
Is there a way to remove the complete <dl ... </dl> block in this code: (template account privacy ) with template hooks?
I could add 2 listeners with very high priority so they're run as first which insert
at account_privacy_top
and
at account_privacy_top but that's IMO very ugly and could conflict with other add-ons using the same hook and same priority.
I really wish we would get something similar like vB TMS
Code:
<xen:hook name="account_privacy_top">
<!-- start remove -->
<dl class="ctrlUnit surplusLabel">
<dt><label>{xen:phrase activity_display}:</label></dt>
<dd>
<ul>
<li><label for="ctrl_visible"><input type="checkbox" name="visible" value="1" id="ctrl_visible" class="OptOut" autofocus="autofocus" {xen:checked "{$visitor.visible}"} /> {xen:phrase show_your_online_status}</label> <p class="hint">{xen:phrase this_will_allow_other_people_to_see_what_page_you_currently_viewing}</p></li>
</ul>
</dd>
</dl>
<!-- end remove -->
<xen:hook name="account_privacy_top">
I could add 2 listeners with very high priority so they're run as first which insert
Code:
<!--
and
Code:
-->
I really wish we would get something similar like vB TMS