2

The problem is pretty straightforward. We are using page title attribute to set title for our vf community pages, like:

<apex:page sidebar="false" showHeader="false" controller="MemberHouseholdCont" title="{! $Label.union_MyFamily_PageTitle }" standardStylesheets="false">

For majority of pages everything works fine, i.e. defined custom title is displayed in browser. But for some pages (like the one with posted page tag above) attribute is completely ignored, i.e. there is no tag in the header of generated html markup, and default title is used (full url to the page).

I tried to compare pages structures, but so far I couldn't find the cause of such behaviour.

Any help would be appreciated.

4

Please check API version of your visualforce page. The documentation depicts below for title attribute

In pages set to API 29.0 or lower, if the showHeader attribute of is set to false, no element is generated.

Your VF page showHeader attribute is set to false. This may be the cause.

Documentation for your reference.

Hope it helps.

  • Just to help the future visitors of this answer. If you have development mode enabled, you won't see the page title. – javanoob Aug 6 '15 at 19:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.