Setting a page title to include node tokens, e.g.
[node:title] - my view mode
results in the page title being set to the exact string, no tokens are replaced. Although the configured string is passed through token_replace, the results aren't used in the call to drupal_set_title(). Patch correcting this to follow.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 2038607-3.patch | 459 bytes | leewillis77 |
| #1 | 2038607-2.patch | 873 bytes | leewillis77 |
Comments
Comment #1
leewillis77 commentedCorrectly pass the token replaced string to drupal_set_title().
Comment #2
leewillis77 commentedSorry - ignore that - it also includes the fix for #2038137: View mode pages don't work with custom views created via hook_entity_info_alter(). Revised patch attached.
Comment #3
rballou commentedThis patch is also applied in dev. And deserves a facepalm on my part. Thanks again.
Comment #4
rballou commented