Closed (fixed)
Project:
Metatag
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
3 Apr 2013 at 09:57 UTC
Updated:
20 Aug 2013 at 13:01 UTC
Jump to comment: Most recent file
I have a need to customize node edit forms through Panels and Meta tags was unavailable as a form field there.
Add a ctools plugin for Panels.
I've added a patch which does just this, it could use review.
Adds a Meta tags form field to the panels form category.
| Comment | File | Size | Author |
|---|---|---|---|
| #8 | metatag-n1959830-8.patch | 567 bytes | damienmckenna |
| #4 | metatag-panels-node-edit-1959830-4.patch | 3.17 KB | carwin |
| #2 | 1959839-2-metatag-panels-node-edit.patch | 2.64 KB | carwin |
| #1 | 1959839-metatag-panels-node-edit.patch | 2.7 KB | carwin |
Comments
Comment #1
carwin commentedHere is the patch I neglected to add to the actual issue.
Comment #2
carwin commentedThat last patch was a bit sloppy, I left a
dpm()call in there and also had some coding style bugaboos.Heres a spruced up patch that applies so cleanly you could take a bath in it. Enjoy.
Comment #3
damienmckennaDid a quick review. Given the plugin is written to only work with nodes it needs to be renamed to e.g. metatag_node_form so that we can the also add metatag_user_form, metatag_term_form, etc.
Comment #4
carwin commentedThat makes sense.
Comment #5
carwin commentedComment #6
damienmckennaBTW you should take a look at https://drupal.org/sandbox/ceastwood/2009524 to see if it provides the same functionality as this patch, if so it might be better to combine efforts there?
Comment #7
drclaw commentedHello. I'm the maintainer of the sandbox project mentioned by @DamienMcKenna in comment #6. I just made it a full project and it does indeed do what he says. Here's the link to the project: https://drupal.org/project/node_form_panes
Comment #8
damienmckennaI think we should promote using node_form_panes to achieve this functionality instead of handling it within Metatag.
This patch is just an improvement to README.txt that mentions the new module.
Comment #9
damienmckennaCommitted.