22 Mar 2012
16 Apr 2012
Link to this post
i have a situation where i need to reorder 2 controls on a page. one content block is added at the template level, and the other is created at the page level. i cannot figure out how i can programmatically reorder the 2 controls.
if i go through the UI editor, i can easily drag and drop the page level control to be above or below the template level control, but when i add the page level control programmatically it gets added on top of the template level control by default and i cannot figure out how to re-order them either when being added or after.
i can reorder items that are both at the template or page level but that's not quite what i need.
any help is appreciated. thanks.