Project:Text Link Ads Integration
Version:6.x-2.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:pluginstla_chris
Status:closed (won't fix)

Issue Summary

Took me a long time to track down this bug to this module, but eventually I have.

When inlinks are turned on for a node, previewing the node shows absolutely no content at all.

This is due to the function textlinkads_inlinks_add_links not returning anything when the node id is not set, which is the case in preview.

Adding return $data; at the end of this function should fix the problem (I'm not sure how to write patches so I'll let someone else do that).

Comments

#1

Status:active» needs review

Here's a patch that does exactly the above...

AttachmentSize
textlinkads_preview_fix1.diff.patch 607 bytes

#2

AttachmentSize
textlinkads_447880_2.patch 587 bytes

#3

Assigned to:Anonymous» pluginstla_chris
Status:needs review» closed (won't fix)

The Inlinks module has been moved to http://drupal.org/project/inlinks