-
Notifications
You must be signed in to change notification settings - Fork 63
Umbraco V8 Support #105
Comments
I've asked this question in the general discussion section of the Umbraco package, but it seems that the package is not compatible in it's current form, and needs to be adjusted to work with v8. |
The error messages appear, because LeBlender is compiled against the old V7 DLLs. At least the tree integration has to be changed, because
There is some work to do. Question @ the project owners: Are you interested in porting the package? If this is the case, our company is ready to help. |
Hi guys, thank you very much for the interest in LeBlender on v8. The future of the grid is already moving towards a "v2" where editors like LeBlender and DocTypeGridEditor are no longer needed. Because of this, we haven't really looked that much into how/when and even if, we should make LeBlender work on v8. Have a look at this thread for some background info on the v8 grid: |
We know about Grid "v2", but
So we decided to port LeBlender to v8. I managed to get it compiled today, but I guess it will need some debugging in the days to come. |
Nice @mirkomaty. Would you be able to share your fork when it's working? I'm also stuck with a large library of Leblender editors and would love to see it working on v8. |
But... from what I’ve read, v8 will not be shipping with grid 2.
Evan Moore
… On Feb 7, 2019, at 10:13 AM, Søren Gregersen ***@***.***> wrote:
Hi guys,
thank you very much for the interest in LeBlender on v8.
The future of the grid is already moving towards a "v2" where editors like LeBlender and DocTypeGridEditor are no longer needed. Because of this, we haven't really looked that much into how/when and even if, we should make LeBlender work on v8.
Have a look at this thread for some background info on the v8 grid:
https://our.umbraco.com/forum/umbraco-8/94082-grid-v2
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
@soreng : I have a first version running. Are you interested in a pull request or should I create a fork under my ownership? |
I guess a pull request could be great @mirkomaty :) But a fork would be great now so we can start test it :) |
You can find the fork at https://github.com/mirkomaty/LeBlender,
Installation:
It would be grateful if somebody could take care for the Nuget package. |
One more hint: Checkout the umbraco-v8 branch ;-) |
@mirkomaty that looks like a lot of hard work -- very nice We can't just update the nuget package, since people will then get a version for v8 that is not compatible with their v7 installs ;) That whole "are we doing a new package, or maintain one" is, as you must know after doing the work, a bit hard to do. Again, we really don't have a solid plan yet on what the (v8) future of this package is |
@cleversolutions, @PSinke, @AndersBrohus @soreng: Take your time to decide. I think, a good idea will be to publish a new package like Umbraco.v8.LeBlender. I will publish it as soon as we did some testing. This allows your package to develop independent from my fork. We can join our work anytime, if necessary. |
I'm gonna try it out! :) |
@soreng if LeBlender is going to support Umbraco v8 the new/updated package can set minimum target version in Umbraco package file and require Umbraco >= 8.0.0 in NuGet package dependencies. @mirkomaty how does it register the component (maybe also rename this to something else than I think you need to create a composer to register it.
|
@mirkomaty I would like to discuss more in-depth on how we should move on with this.
Well yes ;) As @bjarnef also points out, there are ways to do this, but I want to make sure we do it right, and in a way that works for us on going forward. I / We really appreciate the work done. You are more than welcome to do pull request, and then we can review it for futher development. I really wanted the v8 to use v8 features, so maybe this should be a seen as a beta of sorts. |
@soreng it would be great if LeBlender in v8 use e.g. |
@bjarnef yes and yes :-) And also use doc types (elements) like nested content (or some other grid editor) No need to reinvent all of this :-) |
@bjarnef Further development: My intention was to get a running version of LeBlender with minimum effort. The result can be seen in the fork. It may have some bugs, but the main work is done. I see it as a provisionary solution to get our Umbraco based platform ported to Umbraco 8. It saves me from porting the grid editors immediately, but I don't think that that's the future. As far as I understand, Grid2 will use Element doc types and therefore it may make LeBlender obsolete in the future. If somebode doesn't know about Grid2: Have a look at the branch temp8-grid2. @soreng: I just created an account as "Mirko Matytschak". |
@mirkomaty based on this comment in Our from Sebastiaan it seems it need a composer. Not sure how it register the component if it works without the composer at the moment (maybe via assembly scanning like dashboards, where there is a PR which a think remove that and it instead need to be registered). |
@bjarnef: You're right. We need a Composer. I added the necessary code and renamed UmbracoEvents into ApplicationInitializer, which fits the purpose of the class better. |
@mirkomaty Great work so far. I was able to install the plugin and see the grid editors section under Settings, but every action after that (Edit or create a grid editor) results in a 404 error. Any idea what I'm missing? |
Found it. There is a 'web.config' file in the /App_plugins/LeBlender folder. After removing that, all works fine. |
Has anyone tried to add a Multinode Treepicker with this port? I'm unable to pick more then one item, even thought the settings should allow me to pick 10. |
@PSinke: I managed to add multiple Nodes. But you have to select them one after another. BUT: At the end the value array is empty. I don't understand, why. With other editors I can see a value in parameterconfig.controller.js in $scope.save. If I look at $scope.model.value[0].multiurl.value I get an empty array instead of what I selected in the MultiUrlPicker. @ALL: Please note, that I pushed some bugfixes into the fork. Removed the web.config file which caused trouble and changed the Base.cshtml/LeBlender.cshtml to be inherited from WebViewPage |
How are you all building this/including in your project? Only ever installed via nuget before :( Apologies if it's a bargain basement question. |
See #105 (comment)
|
Hello @mirkomaty |
I'm sorry, I'm currently not able to do that. I recommend doing the following:
|
Hello @mirkomaty |
Thanks for your help @mirkomaty We got it installed just fine, and we were exploring ways to create content in the PageGrid. Have you used Nested Content in a Grid Editor? Using a simple one on a doctype with text, a link and a content picker, the pickers won't show. In the console we get this error: Error: [$compile:ctreq] Controller 'valFormManager', required by directive 'valPropertyMsg', can't be found! Any idea what might be going wrong? |
@parachute-dev valFormManager and valPropertyMsg are not part of LeBlender. If you take a look at the umbraco source code, you'll find valPropertyMsg in umbraco.directives.js (line 15332 in v8.0.1). At the beginning of the directive you see, that it declares the need of valFormManager. You see the according method in umbraco.directives.js at ~ line 15084. Note that both directives are part of the umbraco.directives.validation module. Try to debug valFormManager. It should be called by Umbraco, otherwise the directive is missing. See: https://docs.angularjs.org/guide/directive:
|
@agiraud or @soreng is there any interest among the LeBlender maintainers to publish @mirkomaty's hard work in a new package name such as Lecoati.LeBlenderV8? It's a silly thing I guess, but pulling a package down from Nuget feels much more production ready than grabbing the source from git. I think there is a viable use case for LeBlender in V8 for years to come. When (if) Grid2 comes out, I doubt it will automatically convert content from Grid1. Existing sites with a lot of content will likely still use Grid1 in V8 for years to come. |
Yes and no. He hasn’t made a pull request yet - that would be a first step. |
Tried to open a PR only to see that somebody was faster: |
@mirkomaty Well, I would rather that you did it, and that the issues on it was resolved :-) |
I would also love to see Le blender working on V8... I haven't seem any other alternative that offers the same great editor experience. |
DocType Grid Editor is almost ready for V8 and provides the same editor experience as LeBlender if you use Single Editor Mode. I’ve been using the alpha for V8 sites and it works very well. Check out https://github.com/umco/umbraco-doc-type-grid-editor/pull/137 |
I'm having an issue getting LeBlender to work on v8.1.1. |
@bernardojbot I don't think it is an issue in LeBlender, but it seems to be an issue in core with overlays. |
@bjarnef thanks for your help. I'll keep an eye out on that issue to see if it gets solved. |
@bernardojbot: It might be my fault. I didn't merge Bjarnes fix into the umbraco-v8 branch until today. Note, that the v8 port resides here: |
is there any update on V8 support? |
As far as I understand, here at Lecoati will be no further development. Check the following link: Read the installation procedure over there and post a comment, if you get problems using it. Note, that the version 2.1 converts your LeBlender grid property definitions into Element Document Types, which will be reusable in Umbraco. |
Hi guys, I'm want to use nested-content into Leblender grid editor but when I'm adding item getting an error. |
Are you sure, you need NestedContent? LeBlender has the possibility to create multiple items of the property set you have designed in your element property type. |
@davit20: I gave NestedContent a try and can confirm the issue. The directive val-form-manager is defined in the LeBlender forms, but isn't recognized by the NestedContent code. I don't believe, that somebody will fix this soon. My suggestion for a workaround is the way we do it: Define a specific Media Type for your slides. The Media Type can be inherited from Image. This allows you to add additional information to your slide images. (If you don't need additional information for your slides, you can use plain images instead.) Put the slides of a slideshow into a specific media folder. Instead of picking each slide in the Nested Content in the LeBlender dialog, just pick the whole folder with a MediaPicker. Your rendering code must determine all slides in the folder and can use them to render the elements of your slideshow. Another variant of this approach is to place your slides in the content tree. Create a parent document of an appropriate content type and place your slides under this parent document. After that use a ContentPicker to pick that parent document. I hope, that helps. |
Thank you @mirkomaty for your very good suggestion but I have already fixed my problem using with |
@davit20: Glad to hear, that you found a solution. |
Umbraco V8 is coming soon. This plugin doesn't show up in the packages section on v8, and installing via Nuget blows up a v8 site with an awesome message.
Maybe this is a v8 bug, but thought I would start a conversation here.
The text was updated successfully, but these errors were encountered: