Hi
This module is brillinat
Have changed the drag n drop to 'floa't rather than just vertically or horizontally as i prefere it that way and i t works fine.
request>
is there a way via cookie or other to save wether the blocks are collapsed or expanded?
either; when you return to a mysite they are as you left them
or preferably, the owner gets to choose their inital state for visitors.
Also, I would really like to make a form on another tab the mysite settings [ i might make one on another node as my progarmming is not so good] so the owber of the mysite can change a few css things like colour and backgraond image, maybe add a transparent resizable block for spacing.
Comments
Comment #1
agentrickardjowan-
Thanks. You have three different issues here.
1) Changing to 'float' (in the interface code) makes sense. I'm not sure it matters, but I'll test. Float may be a better default.
2) Save the collapsed state via cookies? Probably, but I don't really have the time or JS skills to write that. We could, in theory, make it configurable and stored in the database, but I'm not sure that it's that important.
3) Changing CSS: Letting users write code is a dangerous thing, even seemingly harmless code like CSS. If we store that in the databse, we can do it securely, but it causes overhead.
I'll take a look at the benefits of #1, but I'll defer points #2 and #3 to a later release. There are lots of new features in the 5.x.2 release, and it needs to ship.
Thanks for testing and the feedback.
Comment #2
agentrickardStatus change.
Comment #3
agentrickardYes, setting "axis" to "float" is better. Odd. That's not in the Interface documentation. (http://interface.eyecon.ro/docs/sort).
Will commit that small change later this week.
Comment #4
jowan commentedRE, CSS
I don't want to allow users to add script, just give them a small form on a tab in the mysite settings, where there are a few boxes for differnet things that relate to the css file that the mysite cals in. Maybe when a user is created it copies the css default file into the user's folder rather than in a databass,
just ideas now but im gonna make a form woth colour picker and upload background for now and post it somewhere.
[float does work better across coloums]
Have you used NodeProfile in MySite ?
I really want to be able to make my own User Profile pages using this technique and have them fully displayed in MySite pages - this would be great!!
If I did, how would I turn it into a Block / Droplet ?
jp
Comment #5
agentrickardI think that integrating the style selector with the Color module would be the right direction. That would allow users to pick styles the way the Garland theme does. This would be a feature for future releases.
As for node profile, I don't use it, and it isn't core, so I am not developing for it. It (and other modules) is supported, however.
It is possible that you could create a Droplet that would pull node profile data; you would write that in PHP. The preferred method, however, is to create a plugin.
MySite has an API, and you would create a node_profile.inc file in the Types directory.
See http://therickards.com/api/groups for documentation.
I don't have the time to work on this, as my development time on MySite is about stability and extending Drupal core. Since Node Profile isn't core, I can only point you to the developer documentation.
I would use the profile.inc file as a model. See http://therickards.com/api/file/plugins/types/profile.inc/MySite
There is a plugin development tutorial at http://drupal.org/node/119583, though it has not been updated for 5.x.2.
Comment #6
jowan commentedI appreciate your concerns.
I am new to php so unfortunatly making a plugin is a bit out of my league at this point, but it would be a good learning experience.
Good work though and look forward to future releases.
Oh yeh, and one thing that has been bugging me!
There is a 1 pixel line at the top of the MySite page, about 10px above the top block in the colum.
I had a look inthe mysite.css and the plugin css but can' t get rid of it.
To get this line out of the way would improve my page immesly [only a small thing sorry]
Comment #7
agentrickardWhen reporting, you have to add details.
1) What OS? (e.g. Mac 10.4.6)
2) What browser and version? (Firefox 2.0.0.4)
3) What layout are you using?
4) What style are you using?
And, if possible, a screenshot or sample URL would be very helpful in this case.
Without details, I can't do anything.
Comment #8
agentrickardI just noticed that in the Garland theme, there is a very faint 1px line under the page title and tab bar. I suspect this is what you are referring to. It is an design element of Garland's css.
Comment #9
agentrickardI just noticed that in the Garland theme, there is a very faint 1px line under the page title and tab bar. I suspect this is what you are referring to. It is an design element of Garland's css.
Comment #10
agentrickardI'm going to file this as a feature request against HEAD.
Comment #11
agentrickardClosed in favor of http://drupal.org/node/222147