Here is my situation, I have a database that lists documents that have been uploaded, and I need to have fck show a list of files in a pop up and when clicking on one it creates a pre-formatted link to that document. Alternatively I can have the list outside of the fck editor and just insert the link into the textarea, either way will work.
So does anybody know a fairly simple and painless way to do this?
So does anybody know a fairly simple and painless way to do this?
Re: Custom input types
Re: Custom input types
I'll even make it easier, can I make a simple link on my page (the one that displays the editor) that when clicked adds certain html code to the textarea? How would I do this?
Please help me, I only have a few days left until this project is due!
Re: Custom input types
Re: Custom input types
i couldn't find the templates you were talking about, but I found some functions that should work but I can't figure it out.

Referencing this page: http://docs.fckeditor.net/FCKeditor_2.x ... ge_Samples
Here is the code I am trying but it isn't working
Re: Custom input types
The alert is just to confirm that the function is called and the html is being sent, which it does.
any ideas?
Please help, my time on this project is almost up!
Thanks
Re: Custom input types
Re: Custom input types
Yeah, I did check the samples directory, sample 8 just like you said. I tried doing the exact same thing that I saw in the sample but it still will not work, I don't know what I am doing wrong.
Code from the Sample
Re: Custom input types
your code:
you should get an error at that line
Re: Custom input types
DUDE, IT WORKED!

Thanks so much for pointing out that oversight
Re: Custom input types
But, when i add the html, it all gets messed up since I'm adding html within html kind of thing. So how do I put the html in the InsertHtml function without it messing up the html on my page?
I'm trying to insert <object> code to display a video on the page.
Where {$v.doc_file} is the file location, this works, but how do I integrate it with this code:
Anybody?