PTConditionals Tags
Tag isincommunity


This is a conditional tag used to output HTML and Adaptive Tags when on a Community page. Nothing is displayed if not in a Community. Use the isnotincommunity tag to check when the current page is not a Community page.

Example:
<pt:ptcond.isincommunity>
 You are in Community <pt:logic.value pt:value="$communityName"/>
</pt:ptcond.isincommunity>


Tag Information
Tag Nameisincommunity

Attributes
NameTypeRequiredDefault ValueDescription
userprofilecommbooleanfalsetruePass in true (default value) to count the User Profile Page as a Community page. Pass in false not to. Default behavior is to display tag body when on the User Profile Page. Pass in false to disable this.


Copyright 2005 Plumtree Software, Inc.