Closed (fixed)
Project:
Integrated Metatags
Version:
6.x-1.0-beta7
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
20 Jul 2009 at 14:32 UTC
Updated:
21 Jan 2010 at 02:30 UTC
Hi there,
Combined values are merged with ", ". Wich is good if the value is not empty.
But if the value is empty it shouldnt be merged with the rest (dynamic values like token can be emtpy). Otherwise the output will get cluttered.
example if a keyword value is empty: 'keyword 1, , ,keyword 4, keyword 5'
Comments
Comment #1
fractile81 commentedGood find. I'm guessing this is a problem using tokens within the Static Metatags field? If so, could you provide some sample data?
Thanks!
Comment #2
Docc commentedWell for example, just add the site mission and site slogan to the static tags.
description|[site-mission]
description|[site-slogan]
But leave those empty in your website information page.
It will show up as " , ,".
Another question not related to this issue. Am im overlooking it or is there a page where i can add some global/default metatags (if no tags found use global/default , for example the front page and other non-node pages)
Comment #3
fractile81 commentedI'll have to play with that, great examples there!
As for your follow-up question, this module only exposes metatags on pages with nodes on them.
Comment #4
Docc commentedWel yeah but a global Meta tag option would be cool. If the page is no node like the frontpage us the global metatags. Then i could use this module as a total solution, now i have to enable another module specially for the frontpage tags.
Comment #5
fractile81 commentedSorry I'm so late in getting back to this bug.
The current dev build of this module should take care of this issue. I'll test it to make sure, but this should be fixed in the next release.
As for global metatags, see http://drupal.org/node/674200 for the status on that (it's supported as a separate module in the nightly dev build now).
Comment #6
fractile81 commentedFixed in the latest commit to HEAD/dev.