Closed (fixed)
Project:
Nodewords: D6 Meta Tags
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
30 Jul 2010 at 23:28 UTC
Updated:
3 Jan 2014 at 01:42 UTC
Jump to comment: Most recent
Comments
Comment #1
rjbrown99 commentedThere's a bug. I suspect I know WHERE it is, but not why yet.
In nodewords_custom_pages.admin.inc, inside of nodewords_custom_pages_edit(), there's this bit of code:
The $nodewords_form is coming back empty, so we are kicked out of the nodewords_custom_pages_edit with nothing else. Not sure why yet but that's at least a lead on fixing it.
Comment #2
rjbrown99 commentedA bit more information. This is actually failing in nodewords.module(), specifically the function nodewords_tags_edit_fields. Here's the relevant lines of code:
In my case, $bool does not exist, $filter_metatags is set to '1' by the global NODEWORDS_TYPE_DEFAULT, and $edit_tags[$name] were all set to zero.
Working on this a bit more, I found out how to resolve the issue based on what sets $edit_tags[$name]. On the main nodewords admin page (admin/content/nodewords), under the section "Meta tags enabled on administrative settings pages", make sure you check the box for Show in Edit Form. If that box is not checked, the add button pretty much does nothing and you wind up failing at that if statement.
I imagine this is how the developers intended it to be, however it would be nice to have an error that says "Hi sorry you don't have anything enabled on the other page." That would have saved me a bunch of time. Thanks.
Comment #3
Anonymous (not verified) commentedIf you don't see any form to edit the meta tags is because: