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

fractile81’s picture

Good find. I'm guessing this is a problem using tokens within the Static Metatags field? If so, could you provide some sample data?

Thanks!

Docc’s picture

Well 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)

fractile81’s picture

I'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.

Docc’s picture

Wel 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.

fractile81’s picture

Sorry 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).

fractile81’s picture

Status: Active » Fixed

Fixed in the latest commit to HEAD/dev.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.