I see Drupal 7 mentioned on the project page; but nothing in releases or issue queue. Anyone know if anyone has started porting this over?

Comments

tonycpsu’s picture

+1

pkej’s picture

Since there have been more than two years since any code has been committed it seems this project might be at its end of life.

I've been trying to look through other modules to find something similar to linodef, and only node embed comes close in embedding. If anyone has other suggestions, those would be great. LinkIt just adds links.

pkej’s picture

Actually, node embed is doing what linodef is. In version 7.x a feature for embedding content into the current node, and they have a button for ckeditor and wysiwyg. From the issue queue it seems that it might have embedding/linking to fields in the future.

designcrs’s picture

as far as i can see "node_embed" embeds (like the name says) the node rather than just the title that links to the node.

however, a valid alternative to linodef might be the "intlinks" module.
http://drupal.org/project/intlinks

Roi Danton’s picture

Issue summary: View changes

Unfortunately there won't be any development from my side for D7. If anyone wants to make a port to D7 please feel free to participate.

For Drupal 8, Entity Embed offers the features of Linodef (and more).

designcrs’s picture

If no "options" are being used in linodef tags, the simplest solution to replace this module for Drupal 7/8 compatibility is to use the Custom filter module.

To add basic linodef functionality just use the following snippet when adding your custom "linodef" filter:

Pattern: /\[#([\d]+)]/
PHP Code: on
Replacement:

$node = node_load($matches[1]);
if (!$node) {
    $result = '<span class="custom_filter_warning">-Node not found, check the node id you entered-</span>';
    }
else {
    $result = l($node->title, 'node/' . $matches[1]);
    }
return $result;



If you don't mind having to replace linodef tags on existing pages and need to embed nodes (rather than just to link them), you can use the Node Embed module for D7 or the Entity Embed module for D8.


Maybe this info should be added on the project page?