Hi
I’ve currently converting a clients system from 6.1 to 6.5.2. One of the things I’ve doing is amending the templates so that they can be edited in active assembly. A particular templates has one slot which renders in two columns and this is achieved by using the float: left style. I’ve create a custom slot for this:
#macro(slot2 $slotname $header1 $header2 $before $after $footer1 $footer2 $params)
#initslot($slotname $params)
#if ($sys.part.render)
#if($sys.currentslot.slot)
#__addAaSlotImg($slotname)
#__startAaSlotDiv($slotname)
#if($sys.currentslot.relresults.size() > 0)
$header1
#foreach($relresult in $sys.currentslot.relresults )
#if($velocityCount % 2 != 0)
$before
#slotItem($relresult)
$after
#end
#end
$footer1
$header2
#foreach($relresult in $sys.currentslot.relresults )
#if($velocityCount % 2 == 0)
$before
#slotItem($relresult)
$after
#end
#end
$footer2
#end
#__endAaSlotDiv()
#end
#end
#endslot($slotname)
#end
This works fine in IE and users can use AA to drag and drop items into the correct position but when using Firefox the AA marker (the grey line) does not appear. I’ve narrowed this down to the fact the column style class (param $header1 and header2) uses float: left. If I remove this then it works fine although everything appears in one line.
Has anyone else encountered this? Is there a workaround?
Cheers
James