Add button position makes it difficult to add the new node

  • Updated

When you add a taxonomy node while in content edit mode, the Add button position is static, which makes it difficult to add the new node to the correct parent taxonomy node if you have to scroll down.

This issue was identified and will be addressed in a future release of the product.

The following workaround lets you improve the functionality.

1. Open the workarea/edit.aspx template in the site root.

2. Create a backup copy of the file.

3. Search the file for the javascript function showWammFloatMenuForMenuNode .

4. Locate the following lines of code:

//if ($ektron("form#LibraryItem").length > 0)
//{
    fixedPositionToolbarFix = 44;
//}

5. Under these lines paste the following code:

var newpos= $(hoverElement).children().last().offset();
el.style.top = ($(hoverElement).position().top + fixedPositionToolbarFix + 20) + "px";
el.style.left = (newpos.left + 20) +  "px";

6. Comment out the following lines of code:

el.style.top = (parseInt(offset.top, 10) + hoverElementHeight - 120 - fixedPositionToolbarFix) + "px";
el.style.left = (parseInt(offset.left, 10) + hoverElementWidth - 8) + "px";

7. Save the file and reload the Workarea.