Hello,

i use the nordewords pagetitle module to get pagetitles for some views.
On the first page of a view it works as wanted, but using pagination breaks the pagetitle. Is there a way to use it on paged views?

by the way, using clean pagination doesn't work at all too.
The view does have a numeric parameter what makes clean pagination to fall (i'll open an issue there too for this problem)

Does anybody know a solution for this problem?

Comments

Methos76’s picture

Title: Nodewords Pagetitle doens work with pagination!? » Nodewords Pagetitle doesn't work with pagination!?
Brian294’s picture

Hi Bjoern,
Thanks for reporting this issue. Can you let me know:
1. The version of nodewords you are using.
2. The version of page_title you are using.
3. The version of Views you are using.
4. The version of Tokens you are using.

And, let me know what you mean by "break". Are you getting an error? Or are you just seeing an unreplaced token? etc...

Peace,
Brian

Methos76’s picture

Hi Brian,

1st the used Versions of the modules:

Nodewords: 6.x-1.12-beta9
page_title 6.x-2.3
Views 6.x-2.11
Token 6.x-1.13

By Break do i mean that i do not get any pagetitle.

situation is the following.
I have a view with a path and a parameter ( which gets an url alias via view_alias) like "viewpath/param"
If i create an pagetitle for this page, the page title is changed as wanted.
put if the page is called by "viewpath/param?page=1" for the second page (normal views pagination) i do get nothing at all, the pagetitle is empty at all.

And i think this shoud not be. So my Question is:
Is this a bug or how do i have to put the path into the textfield, so that nodewords_pagetitle recognises, that it should also work on sites with views pagination?

Brian294’s picture

In general, there are token incompatibilities with nodewords' custom pages, regardless of whether or not you are using nodewords_pagetitle. Can you test something for me?
1. Temporarily disable nodewords_pagetitle.
2. Put the [page-number] token into the meta description or meta keywords field for your custom page.
3. Clear your theme cache (if necessary)
4. Browse to... /custom page?page=1 --- Is the page number token working?

If it's not working, there is an issue with nodewords and we need to start an issue in their queue. I rely 100% on nodewords token replacement.

Peace,
Brian

Brian294’s picture

One other thing for you to test..

On the nodewords main configuration page, under the "Meta tags creation options" section, there is a checkbox that reads, "Repeat meta tags for lists". If that box is unchecked, then nodewords will supposedly suppress the generation of any meta tag content (and in our case, page title content too).

If that box is unchecked, check it and let me know if this issue is resolved.

Peace,
Brian

Brian294’s picture

I just did the steps outlined in comment #5 and it fixed the issue. nodewords was suppressing the page title and keywords/meta tags because "Repeat meta tags for lists" was unchecked. Please let me know if that fixed the issue for you.

Brian294’s picture

Category: bug » support
Methos76’s picture

thank you Brian, that indeed solved the problem.

Brian294’s picture

Status: Active » Closed (fixed)