Does Not Appear In tinymce

rocky79 - March 6, 2008 - 18:08
Project:Link to content
Version:5.x-1.7
Component:Miscellaneous
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed
Description

Installed per directions. Appears in Admin/Building/Modules and enabled Linktocentent, Linktocontentmenu & Linktocontentnode. Appears in Admin/Site config. Enabled Link to Node & Link to Menu. Did edit settings for both and enabled all sub choices.

When in Admin/Site config/TinyMCE/Buttons & Plugins, no options for any Linkto... are there. A check of /modules/tinymce/plugin_reg.php shows no entry for linkto.

Did a removal and re-install, still not functional.

Any help appreciated.

#1

stBorchert - March 6, 2008 - 21:42

Hi.
Did you copy the plugin folders (linktocontent and linktoment) to [tinymce/tinymce/jscripts/tiny_mce/plugins]?

#2

rocky79 - March 7, 2008 - 00:15

Yes they where copied to /tinymce/tinymce/jscripts/tinymce/plugins

[root@jpfc8 ~]# ls -l /usr/share/drupal/modules/tinymce/tinymce/jscripts/tiny_mce/plugins/
total 164
drwxr-xr-x 6 root root 4096 2008-03-05 16:53 advhr
drwxr-xr-x 6 root root 4096 2008-03-05 16:53 advimage
drwxr-xr-x 5 root root 4096 2008-03-05 16:53 advlink
drwxr-xr-x 3 root root 4096 2008-03-05 16:53 autosave
drwxr-xr-x 2 root root 4096 2008-03-05 16:53 bbcode
drwxr-xr-x 2 root root 4096 2008-03-05 16:53 cleanup
drwxr-xr-x 2 root root 4096 2008-03-06 10:00 comp
drwxr-xr-x 4 root root 4096 2008-03-05 16:53 contextmenu
drwxr-xr-x 6 root root 4096 2008-03-05 16:53 devkit
drwxr-xr-x 4 root root 4096 2008-03-05 16:53 directionality
drwxr-xr-x 3 root root 4096 2008-03-06 10:00 drupal
drwxr-xr-x 5 root root 4096 2008-03-05 16:53 emotions
drwxr-xr-x 6 root root 4096 2008-03-05 16:53 flash
drwxr-xr-x 6 root root 4096 2008-03-05 16:53 fullpage
drwxr-xr-x 5 root root 4096 2008-03-05 16:53 fullscreen
drwxr-xr-x 4 root root 4096 2008-03-05 16:53 iespell
drwxr-xr-x 5 root root 4096 2008-03-05 16:53 inlinepopups
drwxr-xr-x 4 root root 4096 2008-03-05 16:53 insertdatetime
drwxr-xr-x 4 root root 4096 2008-03-05 16:53 layer
drwxr-sr-x 6 1080 1080 4096 2007-10-04 12:10 linktomenu
drwxr-sr-x 6 1080 1080 4096 2007-10-04 12:10 linktonode
drwxr-xr-x 6 root root 4096 2008-03-05 16:53 media
drwxr-xr-x 4 root root 4096 2008-03-05 16:53 nonbreaking
drwxr-xr-x 3 root root 4096 2008-03-05 16:53 noneditable
drwxr-xr-x 6 root root 4096 2008-03-05 16:53 paste
drwxr-xr-x 5 root root 4096 2008-03-05 16:53 preview
drwxr-xr-x 4 root root 4096 2008-03-05 16:53 print
-rw-r--r-- 1 root root 49 2008-03-05 16:53 readme.txt
drwxr-xr-x 4 root root 4096 2008-03-05 16:53 save
drwxr-xr-x 6 root root 4096 2008-03-05 16:53 searchreplace
drwxr-xr-x 6 root root 4096 2008-03-06 10:05 spellchecker
drwxr-xr-x 6 root root 4096 2008-03-05 16:53 style
drwxr-xr-x 6 root root 4096 2008-03-05 16:53 table
drwxr-xr-x 6 root root 4096 2008-03-05 16:53 template
drwxr-xr-x 4 root root 4096 2008-03-05 16:53 _template
drwxr-xr-x 4 root root 4096 2008-03-06 10:00 tinymce
drwxr-xr-x 2 root root 4096 2008-03-06 10:00 tinymce_compressor_php
drwxr-xr-x 4 root root 4096 2008-03-05 16:53 visualchars
drwxr-xr-x 2 root root 4096 2008-03-06 10:00 webmin
drwxr-xr-x 6 root root 4096 2008-03-05 16:53 xhtmlxtras
drwxr-xr-x 2 root root 4096 2008-03-05 16:53 zoom
[root@jpfc8 ~]#

More info... I read again the various issue, and checked /usr/share/drupal/modules/tinymce/plugin_reg.php for the presence of an entry, none found.

I added manually the following to /usr/share/drupal/modules/tinymce/plugin_reg.php

// linktocontent.module: linktomenu
if (is_dir(drupal_get_path('module', 'tinymce') . '/tinymce/jscripts/tiny_mce/plugins/linktomenu/')) {
$plugins['linktomenu'] = array();
$plugins['linktomenu']['theme_advanced_buttons3'] = array('linktomenu');
}

// linktocontent.module: linktonode
if (is_dir(drupal_get_path('module', 'tinymce') . '/tinymce/jscripts/tiny_mce/plugins/linktonode/')) {
$plugins['linktonode'] = array();
$plugins['linktonode']['theme_advanced_buttons3'] = array('linktonode');
}

This fixes the problem.

#3

stBorchert - March 7, 2008 - 06:15
Status:active» fixed

Ah, this would have been my next suggestion :-)
Btw.: If you had forgotton to copy the files there would have been an error message on settings/linktocontent.

greetings,

Stefan

#4

Anonymous (not verified) - March 21, 2008 - 06:24
Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.

#5

renaud.richardet - August 8, 2008 - 07:16

thanks rocky79, fixed the problem for me too

 
 

Drupal is a registered trademark of Dries Buytaert.