Closed (won't fix)
Project:
Nodewords: D6 Meta Tags
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
4 Dec 2007 at 20:23 UTC
Updated:
2 Jul 2009 at 17:40 UTC
Hi,
I have build a variable panel. See for example: www.gratis-informatie.nl/over/kerst/nederland
The panel is filled related to the two terms after /over/
Say /over/foo/bar .
The foo/bar triggers arguments in views and other modules.
Is it possible to set the Metatags (Nodewords module or custom) related to the nodes which are shown.
Say the meta tag title is the first title in the shown node in the view?
Say the meta tag description is the first body of the shown node in the view?
Is this possible?
Please help.
Thanks in advance!
greetings,
Martijn
Comments
Comment #1
summit commentedHi,
I found a little snippet what may be can help.
Placing this in the views argument handling code works:
the $tmpterms_x[0] is a variable which holds the argument[x]
Does anybody use this sort of code to get the meta-description and meta-keywords programmatically filled?
Ok, now I need to erase the by nodewords set meta description and keywords for this specific view/panel.
I can do this in the theme in page.tpl.php with:
But I think this is inefficient, right?
Is there a way to -not-set- the nodewords for a particular page, as is possible with other items like nodes within Drupal. Does anybody have a patch for this?
Thanks for your reply!
greetings,
Martijn
Comment #2
avpadernoAs the Drupal 5 version is not supported anymore, I am changing the status of this report.