XF 2.2 Title on page and page in overlay

Robert9

Well-known member
The title of my user-profile is something like "My title Robert9, Mexico City - some words for Google"

<xf:title>{$user.custom_title} {$user.username}, {$user.Profile.location} - {$user.example}</xf:title>

In a normal page for user_profile
there is not title viewable
but meta-title for Google


But if i view that user-profile it in an overlay, i see these words at the top of overlay-page.

How can i avoid this like:

<xf:if is="bool normal_page">
<xf:title>{$user.custom_title} {$user.username}, {$user.Profile.location} - {$user.example}</xf:title>
<xf:else/>
<xf:title>{$user.username}, {$user.Profile.location}</xf:title>
</xf:if>
 
Back
Top Bottom