4.7 Upgrade plus extra features
| Project: | Context links |
| Version: | 4.7.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | jhriggs |
| Status: | closed |
Jump to:
This is my first patch for Drupal, so please try not to get too upset if it breaks your site, coffee maker and marriage all in one go.
If all goes well, the module will now work with 4.7r4. I've tried to stick to Jim Riggs' original conventions, including the non-standard database install.
However, I couldn't help adding a couple of extras as well:
Shortcut Node Link
If the URL provided is just a number such as [?:123 link], then the link will be q=node/123.
Assigned URL Stubs
You can now create a class that has a partial URL assigned to it. The URL string provided is added to the end of the stub. The example I've put in is Wikipedia, all you need to provide is the encycolpedia term such as [wp?:drupal link] and the full link is created when viewed.
Scott
| Attachment | Size |
|---|---|
| contextlinks_4-7.patch | 13.25 KB |

#1
I just committed version 5.x-1.0 to CVS which has similar functionality to this.
#2