Closed (fixed)
Project:
FCKeditor - WYSIWYG HTML editor
Version:
5.x-1.1
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
23 Apr 2007 at 14:37 UTC
Updated:
28 Nov 2008 at 15:12 UTC
Is there a way to make a link to another node? I would need a link to a view, and I haven't found a way besides writing the complete url as a link, which I think isn't a good way of doing so...
thanks
Comments
Comment #1
ontwerpwerk commentedat the moment there is no other way to make links from within FCKeditor... CCK has ways to reference nodes, but not views etc. and that will not work in a textarea either
I don't know of a good way to do it either, so I'm open to suggestions, maybe a combination of drupal filters and a FCKeditor plugin
Comment #2
enboig commentedI think fckeditor+filter is a good way; maybe something like:
fckeditor:
popup with a list of nodes, sorteable, etc....
filter:
[text:"link to article",node:20]
Comment #3
zostay commentedYou can do the fckeditor with a filter solution already. I've done it with interwiki, but there are several others to choose from.
However, I would like to see something like nodereference incorporated into the link popup. We're currently migrating away from a CMS called Magnolia that uses FCKeditor. One of Magnolia's nifty features is that they provide a nice browser for linking to other pages within the FCK link dialog.
My vision would be that the drop-down containing http:// could contain a couple new options:
Then, fckeditor could be combined with a filter (possibly one already exists that could do this) that would convert those links into Drupal URLs using the
url()function.Comment #4
ray007 commentedMaybe integration with Easylink is what we would like?
I have already written in issue over there some time ago, and the maintainer seems amenable: http://drupal.org/node/146998
Comment #5
ontwerpwerk commentedat the moment there is no plan to implement this in the module
Comment #6
glass.dimly commentedHey all,
A "link to node" button would make transferring content from a non-Drupal site to a Drupal one a lot easier. I wanted to flag it active just because its still a good idea if anyone has time.
Also, because I think TinyMCE has too many bugs to use, it would be nice if FCKeditor had some of the handy-dandy Drupal integration stuff like Tiny, which would make it easier for newbies and would increase Drupal's appeal generally.
Thanks,
Jeremy
Comment #7
clauded commentedI did something similar for a personal cms project in asp. Here the code I used to generate a list of pages available in my cms. We could convert it to php and adjust the sql code for Drupal nodes :
Comment #8
wwalc commentedActually it is already possible to use linktocontent and linktonode features, use the 5.x-2.x-dev version of FCKeditor module and follow the instructions from README.txt.
Comment #9
open-keywords commentedgreat input, thanks !
Comment #10
RWWood commentedI finally got it to work after figuring out that I also had to enable the two linktonode plugins. DUH
Comment #11
adpo commentedre: #10
linktocontent with FCeditor sounds fine, but not for Drupal 6. Any Drupal 6 solution?
Comment #12
wwalc commentedMarking this issue as fixed for 5.x.
Let's track Drupal 6 integration here: #331329: LinkToContent integration progress. I suppose it will be available relatively soon.