Building on #827260: Add querystring, fragment, and token support. and #996974: Fatal error since classes are not an array I have a patch that adds some missing attributes (title, rel, target) and uses the Views token replacement functionality. This works in my environment, but has not been heavily tested.
Comments
Comment #1
steven.wichers commentedHeads up, it doesn't appear as if the attributes save. I believe it's because I added a fieldset without testing. When I get some free time I'll debug and reroll the patch. In the mean time, you can remove the fieldset that wraps the attributes and I believe everything should function as expected.
Comment #2
steven.wichers commentedFixed issue with the fieldset. Tested that the attributes get saved correctly now.
Comment #3
anybodyPlease review this patch to get it into the next dev release.
I will have a look myself too.
Comment #4
steven.wichers commentedRe-rolled patch against latest dev. Verified functionality with regards to link attributes and field tokens. The only functional changes between the previous stable version and development that I noticed was the addition of checking menu permissions. I did not test this functionality.
Note that this patch contains additional bug fixes that are not in the above patch and were only in my private branch of this module. Specifically there are a couple of additional checks to make sure we're not throwing notices, and the addition of
decode_entities()before usingl().Comment #5
weri commentedI applied the patch to the latest dev version and tested it. Everything seems to work. I hope the patch gets in in the next (dev) release.
Comment #6
kristofferwiklund commentedTested patch. Works great.
Comment #8
minoroffense commentedAdded some modifications but the patch is in now.