Settings Page Template File – Please?!
-
A lot of theme developers are desperate to be able to modify the look of the ‘/username/settings’ pages – at present the only way is to edit ‘plugin-template.php’ – which certainly isn’t ideal!
The page is a lot like the ‘Edit Profile’ page, so it would make sense to me to have a ‘edit-settings.php’ file in the BP member theme. With the option for a tag like this:
<?php bp_edit_settings_form() ?>
The outputted HTML should also be more inline with that outputted by ‘bp_edit_profile_form()’:
<div id="content">
<h2>General Settings</h2>
<form>
<p>
<ul>
<li><label class="settings-label">Account Email</label><input class="settings-input" /></li>
<li><label for="pass1">Change Password <span>(leave blank for no change)</span></label></li>
</ul>
</p>
</form>This would make the theming of these similar pages far easier, and mean less CSS! If we just copy what was done with the ‘profile/edit.php’ theme file, we should be able to do the same with settings?
- The topic ‘Settings Page Template File – Please?!’ is closed to new replies.