Drupal7: Nodesymlinks Module

David G - DrupalIn a project I’m moving from Drupal6 to Drupal7 the client would like some pages that appear deep within a site to be visible in a Menu at the root of the menu. The deep content is apart of a Book content type. Without using simply a menu alias I was uncertain how to achieve this functionality for 2 pages of the site. Having used this module in the past, I considered Nodesymlink

The Nodesymlink module can be thought of as a Unix symlink or a Windows shortcut to content. Using nodesymlink:

  • the newly symlinked content is given it’s own menu path url, but the existing content is pull from the DB when the visitor goes to this new page.
  • By default the module tells Google to ignore this content during Indexing; duplicating content on your site typically hurts your search engine rank.

After enabling nodesymlink it contains simple configuration to manage it’s behavior:

Administer Nodesymlink configuration behavior.

Administer Nodesymlink configuration behavior.

As nodesymlinks are used throughout your site, the module provides a centralized place which lists symlinked content:

Listing of all symlinked content on the website.

Listing of all symlinked content on the website.

You can then define nodesymlink(s) for Pages, Books, etc under the Menu options when editing content:

Symlinks are added by a custom table to Menu locations. Any number of aliases may exist.

Symlinks are added by a custom table to Menu locations. Any number of aliases may exist.

An example of symlinked content (viewed as an Admin level user):

A fake, or symlinked piece of content on some URL.

A fake, or symlinked piece of content on some URL.

The original piece of content appears more or less normally when viewed as a site moderator:

Original piece of Node content.

Original piece of Node content.

I hope you can see how useful this module can be and see the example of using it for this client. This module does have its caveats but can be a lifesaver if you need such functionality!

Looking for quality web hosting? Look no further than Arvixe Web Hosting!

Tags: , , , | Posted under Drupal | RSS 2.0

Author Spotlight

David Gurba

I am a web programmer currently employed at UCSB. I have been developing web applications professionally for 8+ years now. For the last 5 years I’ve been actively developing websites primarily in PHP using Drupal. I have experience using LAMP and developing data driven websites for clients in aviation, higher education and e-commerce. If you’d like to contact me I can be reached at david.gurba@arvixe.com

Leave a Reply

Your email address will not be published. Required fields are marked *