Magenerds / PageDesigner

92 stars 41 forks source link

Custom module with textarea #14

Closed MathieuJJ closed 5 years ago

MathieuJJ commented 7 years ago

Hi, Is it complicated to use your module in a custom module with a textarea? I tried somes changes in di.xml but it does not work. Than you for your reply. Mathieu

MathieuJJ commented 7 years ago

I built my custom form directly in the block and not in the layout file like CMS module. I tried to override my ccontent field with your module, no result. Do you have any idea? Thank you very much for your help!

MathieuJJ commented 7 years ago

Hi, I will be very grateful if you could give somes tips. Than you!

sydekumf commented 7 years ago

Hi,

sorry for the late reply :-) What exactly do you want to achieve? What textarea do you want to integrate? And how do you extend our module?

Thanks, Florian

MathieuJJ commented 7 years ago

Hi, Thank you for your reply! I would like to transform a simple wysiwyg editor in my custom admin module to a pagedesigner field. I do not know what is the best way. Do you think is it possible? Mathieu

sydekumf commented 7 years ago

In the content section of a CMS page you can insert a wysiwyg editor, even in the page designer :-)

MathieuJJ commented 7 years ago

Thank you for your reply, I will try to reformulate my need. I created a custom module to administrate custom information needed by my client. In this custom module, in the form admin, there is a field with a wysiwyg editor. Instead of this classic editor, I would like to use your pagedesigner editor. How can I do that? Thank you again for your help!

2017-09-19 14:41 GMT+04:00 Florian Sydekum notifications@github.com:

In the content section of a CMS page you can insert a wysiwyg editor, even in the page designer :-)

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Magenerds/PageDesigner/issues/14#issuecomment-330500639, or mute the thread https://github.com/notifications/unsubscribe-auth/AcD_fYlj6cbWtwMfvrkgzRzyxejZ3PBRks5sj5pugaJpZM4PF3x_ .

sydekumf commented 7 years ago

Mh I think I got your point now :-) Sry if I did not understand it correctly before. Unfortunately there is no easy way to integrate it, as it is not just a form element like a wysiwyg editor. It is much more complex as it replaces logic like saving CMS, rendering logic in the frontend and so on. I am sorry there is no better way.

sippsolutions commented 5 years ago

Feel free to use PageDesigner in your module if you want. Unfortunately there is no built-in "ready to use" functionality to integrate into other forms.