The purpose of this pcp block is to encourage users to fill in their profiles. When pcp reaches 100% it completes its mission and therefore it shouldn't be displayed.
The purpose of this pcp block is to encourage users to fill in their profiles. When pcp reaches 100% it completes its mission and therefore it shouldn't be displayed.
Comments
Comment #1
drupaloSa commentedI changed the implementation of hook_block as follows in order to hide the block when the percent is 100%:
Comment #2
therealwebguy commentedSounds great, thanks for the post. I am adding a settings option to allow the administer the ability to choose from a few options (this being one of them) that tells PCP what to do when the profile hits 100% complete. This will be available in release 2.0.