Closed (fixed)
Project:
Metatag
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
24 Mar 2012 at 21:39 UTC
Updated:
14 Apr 2013 at 11:23 UTC
Jump to comment: Most recent file
Comments
Comment #1
jantoine commentedI am attaching the patch that was originally posted at #1151938: Panels integration - meta discussion in comment #27.
Known Issues
Comment #2
jantoine commentedFound another issue with the OG Title not being set.
Comment #3
13rac1 commentedI wrote the patch in #1. Do we want this to set the actual page title? Panels already has a method to do this, so it'll be duplicate functionality IMO.
Comment #4
summit commentedHi,
I would not touch the title, this is already been taken care of.
I would love it, if it was possible to set also the input format for the metatags. Some tokens are for example not correct encoded.
Being possible to have php as input format can then correct this.
Thanks for considering.
greetings, Martijn
Comment #5
damienmckenna@Summit: please open a new issue to discuss that.
Comment #6
summit commentedHi Damien,
Build new issue, sorry for not doing this earlier: http://drupal.org/node/1787912
My 50cents on this issue is that the Title is already taken care off.
Or you are suggesting that the Meta Title is a different thing from the page title.
I am referring to the page title, which with panels you can set to custom or get from a pane, which is very flexible.
Greetings, Martijn
Comment #7
damienmckennaComment #8
damienmckennaFYI there's a sandbox and associated project app request, but I'd prefer to combine efforts and get it working correctly in the main module.
Comment #9
devuo commentedFYI I deployed a module that does exactly what is described in the OP. It's called metatag_panels and uses the metatag module engine to do the heavy work. It's very much based off metatag_context that comes bundled with metatag module and a module of my own, panels_breadcrumbs.
There are two caveats:
I still haven't found a work around for these two issues. I'm pretty sure we can't do anything about the first one, but I'm not so sure about the second one, so suggestions are welcome.
Comment #10
13rac1 commenteddevuo, This Panels integration is should be within metatag itself. Putting it in a separate module fragments Drupal contrib further. Please focus your efforts on patching metatag.
Comment #11
damienmckenna@eosrei: One thing at time :)
Comment #12
devuo commentedeosrei, while I understand your opinion, I also understand that the time it takes for a contribution that is not a fix, but a feature, made in a form of a patch to be applied to a module takes a rather long, long time. I prefer to have something out that people can install and use, than nothing at all. I mean, how many people who need this kind of functionality are going to apply patches anyway? If you check the module, you will see that I strictly followed the naming that was used with metatag submodules, thinking such a merge might occur someday. On a wrapping note, I did not even knew that this issue existed at all. I simply needed this functionality wrapped in a module to apply to several projects that are currently being developed at my company, so I built it and shared it with whoever needed it. :)
Comment #13
damienmckenna.. and for that we're grateful!
I'll see about trying it out over the next few days and will follow-up in the module's issue queue.
Comment #14
13rac1 commentedThis isn't just my opinion... :/ I could have created a module instead of patch last year, but the Drupal community encourages collaboration so I didn't: http://drupal.org/contribute/development#collaboration
Anyway.
What else does this patch need? It is now running on multiple production sites (one for a year now). Per the discussion above, it seems like the titles are correct, but context is needed. Should we just close this issue and use devou's release? I don't want to put any further effort into this, if it will go to waste.
Comment #15
damienmckennaMarked #1968920: How to assign meta tags by page, not node as a duplicate.
Comment #16
damienmckennaThis is a devuo's code with a minor adjustment to hide the metatag fields until the checkbox is actually checked.
Comment #17
damienmckennaCOMMITTED! Thanks devuo!
There's further work to be done to make the Panels integration as complete as the Views integration, we'll continue that in separate issues.
Comment #18
damienmckenna1.0-beta6 is out, so I'm closing this issue in the interest of keeping the issue queue clean.
Comment #18.0
damienmckennaProvided further details of the goals for this feature.