How can I change the box display in profiles to in-line display?
By default awards are displayed in a box format inside profile pages. To change this display to display awards in-line rather that a box, you only need to edit the templates provided with the plugin. A example modification with a default installation is as follows:
After finishing the template modifications, you will need to move the variable
- Replace the
ougcawards_profiletemplate with the following:
{$awardlist}{$multipage} - Replace the
ougcawards_profile_multipagetemplate with the following:
{$multipage} - Replace the
ougcawards_profile_rowtemplate with the following:
{$award['fimage']} - Leave the
ougcawards_profile_row_categorytemplate empty.
- Replace the
ougcawards_profile_row_emptytemplate with the following:
{$lang->ougc_awards_profile_empty}
After finishing the template modifications, you will need to move the variable
{$memprofile['ougc_awards']} within the member_profile template around to display the awards wherever you want. The following preview is just an example of how the end result after editing the templates could be.