I feel like I've done something like this before on another site of mine but I can't seem to get it working on my current project.
I have a PHP page that collects content into a variable then passes it to a template PHP page. In the collected content is a form that I would like to use the Editor. But the Editor's create() function echos the HTML so it is not stored in the variable.
Is there a way around this? I had to go into the PHP config files and change the create() function to store the HTML into my variable there and return the variable but I don't like this work around. I'd prefer not to have to edit the functions like that.
Didn't I see something like a function that would replace an input or textarea with the Editor?
Sorry if this is posted some where obvious - I didn't find it.
Thanks for any help!
I have a PHP page that collects content into a variable then passes it to a template PHP page. In the collected content is a form that I would like to use the Editor. But the Editor's create() function echos the HTML so it is not stored in the variable.
Is there a way around this? I had to go into the PHP config files and change the create() function to store the HTML into my variable there and return the variable but I don't like this work around. I'd prefer not to have to edit the functions like that.
Didn't I see something like a function that would replace an input or textarea with the Editor?
Sorry if this is posted some where obvious - I didn't find it.
Thanks for any help!