Closed (fixed)
Project:
MySite
Version:
master
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
27 Jun 2007 at 22:35 UTC
Updated:
1 Jul 2007 at 15:07 UTC
I'm trying to move items from the left column to the right column. I can't upgrade jquery due to problems with other modules (specifically fivestar which may have a fix, but the problem remains for users without javascript).
I don't see any settings that would allow me to move blocks back and forth between regions. Am I missing something or is this a missing feature?
Comments
Comment #1
agentrickardThis is a missing feature. Block regions were put in specifically with Interface for jQuery, and I never built a UI for handling region-switching without jQuery.
It is possible to add. It would probably have to be done from the Content settings screen or the individual item configuration screen. I'm not sure what the UI would be -- forms, I suppose.
The new code would have to exist inside http://therickards.com/api/function/mysite_content/MySite -- after checking for jQuery compatibility. I suppose you would use Block style select lists.
It might also go inside http://therickards.com/api/function/mysite_content_settings_form/MySite -- the individual configuration for a MySite page element.
I'd love to see a patch to fix this.
Marking as a feature request.
As a temporary fix, you can basically disable regions by removing all Layouts except 'default' -- this will force all users to the single-column layout, which doesn't need regions.
Comment #2
agentrickardIt will be easiest to integrate this with http://therickards.com/api/function/mysite_content_settings_form/MySite -- the individual configuration for a MySite page element.
Will give it a shot this weekend.
Comment #3
agentrickardI have incorporated no-JS support for layout regions. You have to click the "configure" icon or link for the individual content element.
Committed to HEAD and released in 5.x.2.3.
thanks!
Comment #4
agentrickardComment #5
gregglesGreat news and great work - thanks.
I'll test this out in the coming week but assume it's great. Thanks again!
Comment #6
agentrickardIt's not great -- it's a stopgap solution that was easy to implement. A better way might be to place the region select lists in the table of current content, but coding that (including form and table theming) would have taken 5 times longer.
But, then again, this keeps the UI clean and is very lightweight code.