Hi,
This is a great module, thank you.
I'm using 4.7.4 and I just upgraded to the latest, 10/23, linktocontent. The content types are not getting displayed on the setting page. I see the text, "Select which content types do you want to display in the plugins node listing.
By selecting a content type all nodes of this type will be displayed in the plugins node listing. For example, if you enable 'story' but not 'page', only nodes of type 'story' are listed." But, there are no content types to select.
Jim
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | settings_content_types_0610241750.png | 5.28 KB | stborchert |
Comments
Comment #1
stborchertNice to hear :-)
Don't you see something like in the screenshot?
Do you have at least one extension enabled?
Could you please do the following query on your database:
select * from variable where name = 'linktonode_extensions'\GIt should display sonething like this (I have formatted it a little):
Marker to myself:
I have to remove the content-types-fieldset if no extension is enabled.
Comment #2
jwilde commentedHi stBorchert,
Thanks so much for getting back to me.
I ran the query. here's what I got:
a:4:{s:19:"linktonode_taxonomy";s:19:"
linktonode_taxonomy";s:18:"
linktonode_default";i:0;s:19:"
linktonode_category";i:0;s:27:"
linktonode_taxonomy_context";i:0;}
Jim
Comment #3
stborchertLooks like no extension is enabled. Please check (at least) one checkbox (for example: "default") and submit the settings form. Then you should see "page" and "story" in the node-types-fieldset (it is collapsed).
Comment #4
jwilde commentedHi,
Thanks for the help. I updated to v1.9 and most stuff is working. The only thing I have a problem with is the "submit button" on the buttom of the popup does not fully display. I can barely see the edge of it.
Also, I changed the content type in linknode.inc and default to use blog content type instead of strory. It seems to be working great. I'll probably add more content types since I use several. Thank you for all of your help.
Jim
Comment #5
stborchertHm, would you please make a screenshot and attach it (please open a new bug report on Component = UI).
Comment #6
stborchertHm, would you please make a screenshot and attach it (please open a new bug report on Component = UI).
Comment #7
stborchertComment #8
dafederYeah by editing the arrays there you can add as many content types as you want. In plugins/linktonode/linktonode.inc line 36:
variable_set('linktonode_node_types', array('story' => 'story', 'page' => 'page', 'blog' => 'blog'));
in plugins/linktonode/extensions/linktonode_default.inc line 46:
function settings() {
return array('story' => t('story'),
'page' => t('page'),
'blog' => t('blog'));
}
It would be nice if there were some way to do this from inside drupal, or if it could detect all the avaliable content types on its own.