Closed (won't fix)
Project:
Terms of Use
Version:
6.x-1.12
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
6 Jan 2009 at 05:32 UTC
Updated:
7 Jul 2012 at 17:15 UTC
Jump to comment: Most recent file
Comments
Comment #1
Chill35 commentedComment #2
timtoon commentedI agree. Initially, I removed check_plain() from line 152 in terms_of_use.module to allow inserting <a> tags, but then wrote a way to include links to nodes by including the node title in quotes, preceded by an @ sign (ex. @"Privacy Policy" links to a node called Privacy Policy). It even supports escaped quotes (\") for titles with quotes in them.
Comment #3
iva2k commentedsubscribe
Comment #4
iva2k commentedJust to let people know - I included this feature in a combined patch #759064: Combined patch to address multiple issues and feature requests
Comment #5
kars-t commentedCoding style issues. Please fix them. And set your patches to "Needs review" and not to be "to be ported" :)
Powered by Dreditor.
Comment #6
joostvdl commentedsubscribe
Comment #7
tomsm commentedsubscribing
Comment #8
agileware commentedHere is a similar but different patch.
It uses tokens of the form @node:nid where nid is the node ID of the node you want to link to.
It also addresses a few issues with the original patch:
* Coding standards.
* Simplifies the logic.
* Doesn't use $node as the variable when loading the nodes for these links, because that would overwrite the existing $node variable, which is being used for other purposes.
* Adds extra info on the new tokens to the field description so people know they can do it.
Also note that if you don't use the @link token the terms will still display in the fieldset.
I made the patch for 6.x-1.12 so I haven't tested with 6.x-1.x-dev but the patch does apply to dev with a slight offset so it will probably work.
Comment #9
kars-t commentedHi
I won't add anything to D6 anymore. I believe this would be a great addition for D7. Feel free to reopen if you want to make a new patch.