Dear fellow developers
I have a content management system, but it does need a system, pretty much like what we have here.
So the font, styling, colours can be changed.
I have found various methods to do this: fckeditor, rte, kevin roth....
So are easy to setup than others (kevin roth was the easiest), however none demonstrate effectively how to pass data from one page to another, so the content of the 'field' can be INSERT into a mysql database.
The Kevin Roth method allowed data to pass, but it all went via the URL, and when that URL is very long, it's impossible to manage.
Surely there's a way to pass the data into a variable and pass that thru - like with a normal Form Textbox way.
Anyone got any brilliant methods that are foolproof?
Regards
Simon
RTE, Rich Text CMS editing - how the heck do you do it?
Moderator: General Moderators
-
simonmlewis
- DevNet Master
- Posts: 4435
- Joined: Wed Oct 08, 2008 3:39 pm
- Location: United Kingdom
- Contact:
RTE, Rich Text CMS editing - how the heck do you do it?
Love PHP. Love CSS. Love learning new tricks too.
All the best from the United Kingdom.
All the best from the United Kingdom.
Re: RTE, Rich Text CMS editing - how the heck do you do it?
i'm using TinyMCE rich text editor and easy to setup too.. You just include the javascript needed and it will convert all textarea tags of the page into a rich text editor. Then you create a <textarea name='mytextarea'></textarea> tag... using the $_POST["mytextarea"] method, you can get the value of the text area just like a normal textbox.. that is if you know how to program in PHP then it's easy.
-
simonmlewis
- DevNet Master
- Posts: 4435
- Joined: Wed Oct 08, 2008 3:39 pm
- Location: United Kingdom
- Contact:
Re: RTE, Rich Text CMS editing - how the heck do you do it?
Hello
Thank is an outstanding result. Next task is to see if I can pass it - with the boldness etc - to a database. And then even moreso, put the content from the db back into it for editing.
But this is a brilliant step forward. Thank you.
Simon
Thank is an outstanding result. Next task is to see if I can pass it - with the boldness etc - to a database. And then even moreso, put the content from the db back into it for editing.
But this is a brilliant step forward. Thank you.
Simon
Love PHP. Love CSS. Love learning new tricks too.
All the best from the United Kingdom.
All the best from the United Kingdom.
-
Paul Arnold
- Forum Contributor
- Posts: 141
- Joined: Fri Jun 13, 2008 10:09 am
- Location: Newcastle Upon Tyne
-
simonmlewis
- DevNet Master
- Posts: 4435
- Joined: Wed Oct 08, 2008 3:39 pm
- Location: United Kingdom
- Contact:
Re: RTE, Rich Text CMS editing - how the heck do you do it?
And I have passed the data to a db, and extracted it from - all exactly how I wanted it to be.
Awesome result. Could not have asked for better.
Cheers from a very happy developer.
Simon
Awesome result. Could not have asked for better.
Cheers from a very happy developer.
Simon
Love PHP. Love CSS. Love learning new tricks too.
All the best from the United Kingdom.
All the best from the United Kingdom.