Hello!
TinyMCE is working well in my drupal installation, but I have a little problem:
it is possible to let TinyMCE show the list of nodes on my site when i click the "link" button?
In other words, what's the best practice to link another node with TinyMCE?

Thanks!!

Paolo

Comments

Alex Regenbogen’s picture

I've looked into this a little while back, and got stranded somewhere...

I deceided to use the node-reference field from CCK....
It does the trick for me, but does not let you link to other articles from within your node body...

If you're not afraid to use a little inline PHP however, there's another way...
You could use the <?php print l('Link Name Here', url('node/*')); ?> to insert a link which will be updated if you're using URL aliases... (Not recommended for end-users though.... Not that you'd want to give them rights to use the PHP-filter anyway ;))

Hope this helps you a little bit...

messenger’s picture

It adds a link icon to your tinymce toolbar. You define a View to show the nodes that you want to make available for linking. When you click on the link it brings up a window with the View you created. You can select an item from there.
Anyone else have any suggestions?