I have a custom content type, which is configured with page title module to create a dynamic page title which works great.
I only use the content of this node to build a view page.

I have followed all of the installation instructions and configuration / setup instructions to create a Custom Page meta tag.
In the Page Title field, I simply want to use the exact page title from the node, on the view, and thus have used the token [page-title]

However the generated view page has "[page-title]" as the Page Title, instead of the dynamic content of that token.

Is this a bug or am I doing something wrong?

any help would be greatly appreciated as this solves a huge problem that I have had.

Comments

Brian294’s picture

Assigned: Unassigned » Brian294
Status: Active » Needs review

I totally know what you're talking about. I encountered the same problem and am going through the same frustrations. The underlying problem is how nodewords handles tokens for custom pages. For some reason, custom pages are limited in their token scope. As of right now, it appears that global tokens are the only ones that work.

Ultimately, we need to write and submit a patch for the nodewords module maintainer to review as this problem originates with with their token implementation. nodewords_pagetitle just piggybacks on their functions :-)

Peace,
Brian

Brian294’s picture

Category: bug » support
Status: Needs review » Closed (works as designed)

Since nodewords_pagetitle defers the token logic to nodewords, I can't really fix this one. Anyone have ideas on how to patch the nodewords module to fix this issue?

Brian294’s picture

Michael,
I was able to fix the token issue. Check out this page:
http://drupal.org/node/837114

I submitted two different fixes: nodewords-beta9, and nodewords-dev. This fix is for nodewords.module.

Peace,
Brian