Hi, i'm using this editor for a short while now, and I must say I'm thrilled!
Here is my question: I would like to add a button to the editor. It doesn't have to be something special, just effective. This is the story: I am making a site for an institute, which will be maintained by it's 60 year old secretary who would love to use a typing machine instead of a computer, but has adapted and learned the basics (e-mail, office...). So I implemented the editor into the site, and connected it to a database, and made each html-page on the site an entry in this data-base. She has a nice back-end where she can open every single page of the site in the editor and edit them like she does in MS-Word. Well, now that every page is an entry in my SQL-table, the link to each one is something like this: http://www.mysite.com/../readDB.php?id=1 (2,3,4,5...etc.). When she tries to link a new page she's added she would have to add the link i just wrote, and she is incapable of doing that.
So i want to add a button to the editor or edit the existing link-button which reads the DB and links the selected text to a specific(-coded) URL which includes the ID from the database. Is it possible?
Wed, 01/14/2009 - 18:56
#1
Re: Add special button
Vlad
Re: Add special button
It seems useless.
Can nobody tell me how to insert this very easy option to the link button? I just want to know which files I have to modify to get the required function. I need to add an option to the select in the fckeditor_link.html, then the specific html content for this selection (which is a simple select box) and the function to this new option which is adding <a href="mypage.php?id='selected value' target="main"> before my text-selection in the editarea and </a> after it. Please, some advice.
Re: Edit a button's function
Greets, Vlad.
Re: Edit a button's function
Re: Edit a button's function
thanks