how to list drupal nodes at a custom plugin?

carvalhar - August 13, 2009 - 22:36
Project:FCKeditor - WYSIWYG HTML editor
Version:6.x-1.4-rc1
Component:Code
Category:support request
Priority:critical
Assigned:Unassigned
Status:closed
Description

Hi there,

I need to create a FCK plugin for a project, but how can i list some nodes inside with a custom fck plugin?

For example, i need to list into a FCK modal dialog window a list of nodes than the user choose one of them and i use FCK Js commands to add specific html.

I know the plugin "link to node", but i couldn't find where it does the magic of listing drupal nodes in its code...also i'm avoiding to use a direct sql to load the nodes that i want, i'd prefer to do this using Drupal's way.

So...how can i achive this goal?

Any tip is welcome.

PS: can FCK load the results of a view? how?

thanks,
Carlos

#1

carvalhar - August 14, 2009 - 11:27
Priority:normal» critical

so....i do need this...any clue?

#2

Jorrit - August 15, 2009 - 20:22
Status:active» closed

You will need some server-side plugin to provide you with this list. Look in the README.txt for an url to the server side linktonode module that does this for the linktonode plugin. I can't help you more.

 
 

Drupal is a registered trademark of Dries Buytaert.