Active
Project:
Svg
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
7 Dec 2012 at 15:00 UTC
Updated:
17 Dec 2012 at 17:43 UTC
Panels support for this would be amazing -- you're building a site with panels, and you want a graphic in that corner? Just add an SVG pane, draw something, save it, and BOOM! Instant graphic content, no image editor required.
I have very little for time at the moment, but I'm willing to write a patch once I get a second -- I don't think it'd be very hard.
Comments
Comment #1
josegaert commentedGood idea, thank you!
I'll make another update this weekend with some patches this weekend.
Comment #2
aendra commentedHi!
Did you get around to this? I spent half an hour on it over the weekend and am able to get it to display the editor and everything, but am having troubles feeding the output back into the form (I think it's because the Javascript's expecting form elements named differently), which tells me my hook isn't found (Odd, since that hook is what's calling the script in the first place, and that hook is what's displaying the error message).
At any rate, I'm not wanting to overlap with anything you're doing -- please let me know if you want me to continue on this, or if you've already written something yourself! Thanks!
Comment #3
josegaert commentedDear aendrew,
I've uploaded my current version. Please try again, and tell me where the bugs appear. So that I can repair them.
Don't worry, I am actively working on this!
Comment #4
aendra commentedI just cloned the latest version from git and don't see any Panels support -- did you write any in? If not, feel free to assign that to me, I'll happily work on that once I get a chance.
Comment #5
josegaert commentedHi,
I unfortunately don't have time to implement panels support. I also have no experience with the panels code. So please do!
I'm certain that you are a more seasoned developer than I am, so any comments on my code are most welcome!
Comment #6
aendra commentedCool, will do when I'm bored over Christmas. I've built a lot of Panels content type modules lately, the development house where I'm currently working somewhat specializes in them. I'm pretty close already actually; I just need to get the form returning to the right place it seems.