[solved]Front end editor
-
- Phoca Member
- Posts: 10
- Joined: 31 May 2017, 13:58
Re: Front end editor
hello and thank you for the help you give us. The problem I'm trying to solve is probably beyond my current knowledge, but for business reasons I need to solve it. I've studied the files you've shown me and somehow managed to show the editor. But I can not link the content that the user writes in the editor with the database field that saves the description. I've probably seen that this operation is done by invoking javascripts in which (in php) rescue is done, but I can not connect all these pieces to make it all fun .... can you help me? Thank you
- Jan
- Phoca Hero
- Posts: 48550
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Front end editor
Hi, what do you exactly mean with: "But I can not link the content that the user writes in the editor with the database field that saves the description"
First you need to be sure, that the form is sent, in controller, you should check if the data from editor was sent Ok, then you should get info about the name of the field which stores the description - then you should send this to model where it will be stored in database. So you need to go step by step and check if the data was sent by the form
Jan
First you need to be sure, that the form is sent, in controller, you should check if the data from editor was sent Ok, then you should get info about the name of the field which stores the description - then you should send this to model where it will be stored in database. So you need to go step by step and check if the data was sent by the form

Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 10
- Joined: 31 May 2017, 13:58
Re: Front end editor
Thanks to the help, the problem was the parameter that passed to the display function I passed the "id" but the correct parameter is the "name" of the textarea.
thank you so much
thank you so much
- Jan
- Phoca Hero
- Posts: 48550
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact: