Closed (fixed)
Project:
DART
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
15 Aug 2011 at 09:48 UTC
Updated:
2 Sep 2011 at 15:01 UTC
Jump to comment: Most recent file
Comments
Comment #1
jamiecuthill commentedPlease ignore file #1 as I forgot one line change for the noscript tag.
I will update this issue if there are any other fixes that I need to make.
Comment #2
jamiecuthill commentedAnother change, I'm having a little trouble with the tile ordering and numbers with the tags set by context but I think it's a external issue to this module.
Comment #3
bleen commentedjamiecuthill: the patch in #2 looks pretty good (thanks!) but I need to take a bit more time to look at it more closely. In general though, please make sure you keep separate issues separate (ex. one issue for the taxonomy improvements & one for the proposed change to the noscript tag) . It just makes reviewing and committing so much easier.
I'll give this some time later today or tomorrow
THANKS!
Comment #4
jamiecuthill commentedThanks for getting back so quick and sorry for the bundling up the issues - I'll separate them out next time. If need be I can create a separate issue for noscript and roll a new patch for both.
Just to describe the issue with noscript.
1. sz and pos were duplicated as they were being hard coded into the $src variable and then also coming from $tag->key_vals.
2. The $special_key_vals array doesn't appear to be indexed by key so the isset() calls for tile and ord were not working.
3. The tile values were being incremented before they were added into the tag so it was skipping the dart_special_tile_init value.
Comment #5
bleen commentedI dont think this should be an "else". What if I want both a tile AND an ord?
"taxonomy fields" should be "term reference fields"
Comment #6
jamiecuthill commentedThe else if there because it's contained in a foreach, the key will never be tile and ord at the same time. tile and ord will come on different iterations on the loop.
Agreed with the taxonomy term field, sloppy commenting by me there.
Comment #7
bleen commentedOk ... I have played with this patch pretty thoroughly and everything looks pretty good except the changes to "tile". I have tested several times and the current handling of tile seems to work fine for me. jamiecuthill, could you do me afavor and open an seperate issue explaining exactly the behavior you are seeing in more detail.
In the mean time I have made some minor changes to the other part of patch you submitted, but fundementally it looks good. Please give this a quick test and I'm prepared to commit it.
Comment #8
jamiecuthill commentedThat patch is working perfectly. Thanks.
I'll revisit the changes to dart.module in a new issue.
Comment #9
bleen commentedIll take that as a RTBC
Comment #10
bleen commentedCommitted to 7.x-2.x
Comment #11
bleen commented