New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"PageExtension" module views/partials no longer appearing in AsgardCMS v3. #546
Comments
Yeap, I'm stuck on the same issue. |
@sampniels Yeah that video is for version 2, can't find anything for version 3. V3 uses Vue templates and have no idea how to go about it |
Yeap, kinda sucks cause in v3 documentation https://asgardcms.com/docs/v3/workshop-module/module-scaffold it refers to a quickcast video but the video doesn't exist anymore.. |
Hello, You're correct, this feature has been removed in version 3 because of vuejs. The way to overwrite/extend the page module now is to remove the page module as composer dependency and commit it. You're right the documentation should be updated. |
@nWidart thanks for confirming. |
@nWidart "The way to overwrite/extend the page module now is to remove the page module as composer dependency and commit it." I'm not entirely sure what you mean by that, I've almost 0 experience with working with this CMS, got alot of experience working with Laravel though so if you could give me some global steps of what to do in order to extend the page, you'd help me out alot :) |
Sure, though this has nothing to do with the cms or laravel but basic composer and git usage.
or a simpler approach, copy the page module folder before running the composer remove command and put it back afterwards. |
@nWidart - can we have some more guidance please? I have tried editing the Page module partials, and the |
run |
Ah, yes that's worked, thanks. Just one more question - is there any point to the views in |
Yes, for now they're there so when you refresh a page route, it works. |
When would we refresh a page route? I'm wondering if I need to bother changing those files also. For now I'm only adding some page attributes/extensions to the page module. |
When you press cmd+r / f5 on a page route. |
@nWidart - appreciate the work you've done, but this is now way too complex to customise, especially without documentation. Perhaps a feature like page attributes should be bundled out of the box, as I'm guessing the majority of users will need that functionality. |
I see. Well it might look complex, it may be because you're not used to vuejs. Once you get the hang of it it's not as complex as it may seem. |
Yeh that probably has a lot to do with it. However, I have got my custom fields appearing so the Vue stuff is out the way mostly. But then I hit a few other issues - |
I'll close this as there hasn't been a reply in a while, feel free to comment if needed. |
@nWidart if old views still exists and are working is there any way to disable the vue version and use the “old one”? I’m experiencing some issues with ckeditor not loading its content and I think it might be caused by vue. |
I suspect this is to do with the new way the Page Module uses Vue.js, but without any documentation or guides we are totally stuck!
@nWidart - Any chance of a quick tutorial or at least pointing us in the right direction please? I know others are wondering how to get this working too.
Many thanks.
The text was updated successfully, but these errors were encountered: