I might be missing something, but currently I am unable to override the canonical tag for a given node. In my case, I am trying to force the front page canonical to be the TLD (top level domain name) where now it is using the aliased path of the page (node) I have assigned as the front page.

Comments

ben.hamelin’s picture

Status: Active » Closed (works as designed)

Ok, after spending some time digging into this, I see that the theme I was using for the admin (Rubik) was not rendering the "Advanced" fieldset, which is collapsed by default, was applying a "display:none" value to the legend tag - essentially hiding the fieldset altogether. I'm following up via that theme and it's issue queue - sorry for the errant post, but it might help someone!

Created this issue here: http://drupal.org/node/1307826

criz’s picture

Category: feature » bug
Status: Closed (works as designed) » Active

Thanks, this issue helped!

But the css hiding this fieldsets seems to come from misc/vertical-tabs.css, so this issue appears also with other themes than rubik!

.vertical-tabs legend {
    display: none;
}

Have to digg further about how to prevent this best in metatags module, but css like the following in your theme should help in the meantime:

#edit-metatags legend {
    display: block;
}
checker’s picture

Confirm problem also exists with drupal core theme seven.
For the quick fix i need also to add something like "height: 25px;" in "#edit-metatags legend" to open meta tag fieldset in firefox.

jnpwebdeveloper’s picture

That is hilarious. I thought it was that this module is just crap and missing all of this stuff. You should really fix this somehow. Using the Omega Theme with D7.

checker’s picture

dimitriseng’s picture

I had the same issue and I have tested patch #68 at #1015798: Fieldsets inside vertical tabs have no title and can't be collapsed for a core issue and now I can see the advanced metatag fieldset and set those values manually. Maybe we can help with testing that patch so that it is commited soon, which will also resolve this issue.

ecvandenberg’s picture

Subscribing

dimitriseng’s picture

Version: 7.x-1.0-alpha3 » 7.x-1.0-alpha4

Just to confirm that patch #92 of issue #1015798: Fieldsets inside vertical tabs have no title and can't be collapsed has been commited to D7 core and will be part of the next D7 core release. That patch resolves this issue so I think that this issue can be closed now.

michelle8282’s picture

I'm using the Marinelli theme and am having the same problem. I have tried installing patch #92 (only making changes to vertical-tabs.css as Marinelli doesn't seem to have any CSS that interferes with vertical tabs?) but the canonical option still isn't showing up. Any ideas? Would be very grateful for your help!

realityloop’s picture

Version: 7.x-1.x-dev » 7.x-1.0-alpha4

adding the following to your admin theme resolves this issue:


.vertical-tabs .vertical-tabs-panes .vertical-tabs-pane legend  {
  display: block;
}
realityloop’s picture

Version: 7.x-1.0-alpha4 » 7.x-1.x-dev
Status: Active » Needs review
Dave Reid’s picture

Version: 7.x-1.0-alpha4 » 7.x-1.x-dev
Status: Needs review » Fixed

Marking as fixed now that the core issue has been fixed.

Status: Fixed » Closed (fixed)

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