I've added a Feed Importer node but still the /import page shows me a link to create a new Feed Importer. I checked feeds_page() and there I found a small bug:
<?php
if (empty($importer->config['content_type'])) {
$link = 'import/' . $importer->id;
$title = $importer->config['name'];
}
elseif (node_access('create', $importer->config['content_type'])) {
$link = 'node/add/' . str_replace('_', '-', $importer->config['content_type']);
$title = node_type_get_name($importer->config['content_type']);
}
?>
This should be <?phpif (!empty($importer->config['content_type'])) {?> right? Changing this fixed the problem.
Comments
Comment #1
megachrizNo, the link is correct. When an importer is attached to a content type, a node should be created to import a source. It's true that existing feed nodes are not displayed on this page. To display these on the import page would be a feature request.