I have strange problem. I have taxonomy_view enabled for showing taxonomy pages as list views, and one vocabulary. Strange thing, everything is ok generally, but for 1 term in vocabulary there is problem that views page title ( the one in html tag) ignores %1 argument and equals page title of last item in the view list page ( the one at the bottom of the page ). To make it more clear, I want taxonomy pages to have titles as term names, and it works generally ok, except for 1 term, that has page title as page title of the last node on the list page ( not the last node in the view, but last node of the current page since my view is paged).
Another sign, term name works ok for this "problematic term" as title for the page ( not html one but the title that's located at the top of the view page). So for this term I got taxonomy page with html of last node on the list page, and normal non-html title at the top of the page as term name.
Clearing views cache didn't help.
Comments
Comment #1
merlinofchaos commentedThat would seem to indicate that maybe some module is calling drupal_set_title to override the title.
There is no way that Views could integrate that kind of information into a title, so I don't think Views is likely to be at fault here. I would look at modules that are involved in the nodes you're showing. Also check and see if it's related to any particular node types, as this kind of code is often related to that.
Comment #2
crea commentedThank you for answering. Yes, problematic term page deals with custom CCK content type. This problem shows when I change my view type from teaser list view type to list view type ( for theming with Theme Wizard ). So is it problem with phptemplate_views_view_list_taxonomy_view() or something like that with theming ?
As for modules, the only module coming to mind that could interact with titles is "Page Title" module. I print node titles with the code in views-list-taxonomy_view.tpl.php
<?php print $title?>so am I right in guessing that it may be problem with "Page Title" module thats calling drupal_set_title() during rendering of the views page ? I'm not very deep into it, just my thoughts.Comment #3
crea commentedComment #4
merlinofchaos commentedYou could easily find out by deactivating the page title module and seeing if the problem persists.
Comment #5
crea commentedYes, the problem indeed is with "Page title" module. If I disable it, problem disappears ( html title of the view page = title at the top of the page = taxonomy term name ). Is there workaround to this problem ?
Comment #6
nicholasthompsonThere is a fix for this in Version 2 dev...
This has also been mentioned in these issues: #213915 and 194254.
Its basically caused by page title only checking if a node is not in page view - it didn't check the $teaser option.
Let me know if this helps...
Comment #7
crea commentedyes I noticed these after I made this support request... Problem is i'm not sure if dev version is stable enough for production site ?
I'll try it though
Comment #8
nicholasthompsonThe dev version is the same that is being used on http://www.pponline.co.uk/
Comment #9
crea commentedUpgrading to latest dev version helped, thanks. Also I must thank you for developing this great module, as token implementation opens lots of possibities of fine tuning titles for some kinds of sites, such as catalogues. Having precise titles is very good mainly not for people, but for SEO and Context Advertising ( Google and other searchengines love when search query is in title, and Google Adsense and other PPC Advertising systems have better context targeting thanks to that too ).
Comment #10
nicholasthompsonThanks - your comments are much appreciated.
Could you please mark this as fixed once you have confirmed this has solved your problem?
Comment #11
crea commentedno problem
Comment #12
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.