Display only category name instead of "Required Fields" or "Optional Fields" label.

By default the plugin adds a label for profile fields categories in visible in both the User and Moderator control panels.


To remove this you will need to edit two templates.

Open the ougcprofiecats_usercp_profile_requiredfields template, find:
{$lang->profile_required}

Replace with:
{$category['name']}

The following is more complex, and will only work if you use the Template Conditionals plugin.

Open the usercp_profile_profilefields template, find:
{$lang->additional_information}

Replace with:
<if !empty($category['name']) then>{$category['name']}<else>{$lang->additional_information}</if>
Files

There are currently no posts to display. Be the first one to leave a reply.

Current time: 26 Dec, 2024, 3:16 pm