I got this but it does not say which file.

"The file is not writable. Please read INSTALL.txt (section "How to install manually") for instructions, how to install the module manually."

Then going to link to content give this notice:

"There seems to be an error with the installation of linktocontent_menu. Please check you copied all files from linktocontent/tinymce_plugins/linktomenu to the TinyMCE plugin directory."

CommentFileSizeAuthor
#4 Picture 13.png11.64 KBgiggler

Comments

stborchert’s picture

Ups.
It should be the file "plugin_reg.php" in your tinymce directory. You should be able to add the required text to it manually as described in readme.txt (or make it writable and try to reinstall linktocontent_menu again).

hth,

Stefan

giggler’s picture

I actually just tried the dev version and moved the two folders. No errors now. But I don't see any icons in TinyMCE...where and what should it look like. I've already went in the link content configuration page and checked everything.

stborchert’s picture

Err, could you please check the file [modules/tinymce/plugin_reg.php].
There should be something like at the end of the file

// 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');
}

(similar for linktonode)

giggler’s picture

StatusFileSize
new11.64 KB

Just did the reinstall with no errors and this is in plugin_reg.php file, however I don't see any icons (see attachment) - where should the icon be?:

// 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');
}
stborchert’s picture

Hm, did you enable the plugin-button on your tinymce settings page?

giggler’s picture

doh...I didn't and it's visible now. Thanks!

Is there no way to make linking to content update automatically if you change the alias. Currently if you have /alias1 and you change pathauto alias to /alias2. The link will still link to /alias1.

stborchert’s picture

Status: Active » Fixed

Is there no way to make linking to content update automatically if you change the alias.

:-)
see #221165

giggler’s picture

Status: Fixed » Closed (fixed)

Awesome...thank you SOOOO much for your help!!!