I have an issue in Advanced Forum's queue requesting that I add Permalink support. This would replace the Comment Page support since that module has been abandoned. I'm happy to do that but I have reservations because this module seems stalled. I'm not looking for an ETA but would like some assurance that this module will continue on into Drupal 7 and beyond before I go and make the switch.

Thanks,

Michelle

Comments

todd nienkerk’s picture

Status: Active » Fixed

Permalink will be ported to Drupal 7.

michelle’s picture

Good to hear since I ended up committing the integration last September. :)

Michelle

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Taxoman’s picture

Title: Future of permalink? » Port Permalink to D7
Status: Closed (fixed) » Active

No 7.x branch yet?

basicmagic.net’s picture

subscribe

Taxoman’s picture

Component: Documentation » Code
Priority: Normal » Major
opdavies’s picture

Still no 7.x branch. :(

Subscribing...

mgifford’s picture

Anyone run this through Coder Upgrade yet?

lolandese’s picture

Meanwhile the code snippet for D7 (extended version) posted in http://drupal.org/node/1861950 can be put in a block to provide similar functionality as the module. Don't forget to use Text format: PHP code.

lolandese’s picture

Assigned: Unassigned » lolandese
Status: Active » Needs review

A D7 version of a very similar module is Permalink Block.

However there is a difference. The permalink is in a block instead of a field.

PROS:

  • Works on all pages, not just nodes (e.g. Views, taxonomy).
  • Fine-grained block control when and where to display.
  • Uses the site name and page title in the copy box.
  • Includes also the HTML to render as a link in the copy box.
  • Using a template file. Easy to override to alter the output.



CONS:

  • Not possible to display in the entity content itself. This isn't a problem on a node page but it is when you want to display a permalink on teasers or comments (see Issue Summary above). Also future Views integration isn't possible.

Apart from this, the goal is pretty much the same, providing an easy way for visitors to embed deep links to your pages on their site.

@ current maintainer:
You can add me as a co-maintainer to commit it here. If you prefer keeping the permalink a field (which I can fully understand, see cons above), please let me know as well. In that case the sandbox will be made a full project.

Meanwhile code improvement proposals are more than welcome.

Thanks.

lolandese’s picture

Assigned: lolandese » Unassigned
Priority: Major » Normal
Status: Needs review » Fixed

The D7 Permalink Block module provides similar functionality. For the differences see #10.

As permalinks for comments are already in D7 core, the "block" approach offers substantial advantages over the "field" approach. If, for some reason, you are seeking a permalink field for D7 instead of a block, feel free to re-open this issue.

Tip (off topic)

Drupal 7's solution for comments permalinks is to be welcomed. However: It creates another scenario where search-engine sandboxing could occur. If a node has 10 comments, each page with the URL /comment/[comment-id] loads identical content to the node itself. We thus get 11 different URLs, all with identical content. See http://drupal.org/node/1680978.

The Global Redirect module solves this (at the moment of writing only the dev-version).

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

lolandese’s picture

The Permalink Block module has recently been backported from D7 to D6.