I have set the page title node to show a nice title for the front page. Then created a views page with a block and a feed to show on the main page. I want the page title of the view to be the title of the "page portion" of the front-page but not of the front page as a whole... but somehow it overrides Page Title module and shows a pretty ugly title built up of tokens from the default Page Title setup. Any ideas?

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

dawehner’s picture

Project: Views (for Drupal 7) » Page Title
Version: 6.x-3.x-dev » 6.x-2.x-dev
Component: page displays » Code
Category: feature » bug

Views just uses the drupal-core menu system.

So this seems to be a bug in the "page title" module.

thomas.lucas’s picture

Thank you! I guess the issue is already moved to page title now, so I don't have to. :)

nicholasThompson’s picture

I'm not sure I follow the configuration of the frontpage, is it a node (eg node/1) or a panel or a view?

If the current page is the frontpage, a different pattern is used - its possible to just use that to define the frontpage Page Title, if that helps?

Rizhaya’s picture

I defined the “Frontpage” page title at the Page title module settings page. Then I made a view that overrides a front page (view page has a path “node”). Now Page title module uses the “Default” pattern for the front page. Previous version of the module used “Frontpage” pattern and that was nice.

zarudnyi’s picture

Same here, Page Title module doesn't work with views as frontpage and use "Default" pattern “Frontpage” pattern instead.
Thank You.

scarr’s picture

Subscribing - this is happening to me to. Any ideas?

waltWright’s picture

Subscribing. Work arounds?

drurian’s picture

Confirming. I could recreate the frontpage view as a view with a page title, but this should work out of the box.

drurian’s picture

Ok, apparently views_page_title_pattern_alter() in views.page_title.inc overrides page_title_page_title_pattern_alter() that sets the frontpage pattern. I've attached the quick fix.