Closed (fixed)
Project:
Link to content
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
12 Sep 2007 at 02:23 UTC
Updated:
4 Oct 2007 at 21:40 UTC
Jump to comment: Most recent file
Comments
Comment #1
sunAdded missing check for empty variable
linktocontent_menu_menus.Comment #2
stborchertHi.
Thanks for the patch, the linktomenu-part looks good. I will resume my work on linktocontent within the next weeks so hopefully all issues will be fixed and a new (bug fix) version will be released.
The part I don't really agree with (or partly understand :-)) is you're modification to INSTALL.txt.
Why this is affected to *nix users?
is an example for all available sub-modules (there will be some other sub-modules in version 6.x). And I don't want to have them all listet in INSTALL.txt.
And if the installer works fine, you don't even need to edit tinymce's plugin_reg.php.
But again: thanks for the patch. I will integrate it a.s.a.p.
greetings,
Stefan
Comment #3
sunWhile you might have write permissions in /sites/all/modules on Windows, you usually won't find write permissions there on *nix. This means that users need to insert the code manually into tinymce's plugin_reg.php. With the current example code, users need to distinguish what they actually need to insert there, without knowing exactly what needs to be duplicated and what else needs to be altered. Supplying the actual code that just needs to be copied and pasted is much more user-friendly and much less error-prone.
If there will be more plugins, be it. Simply supply the necessary code to get the modules working without making headaches for users that are not familiar with module development.
If you think that the code snippet is getting too large, commit the attached patch alternatively. I've additionally fixed line length and wording.
Comment #4
stborchertHi.
I've checked in the changes (5.x-1.7).
Menus and menu items are now limited to the ones selected in settings. Furthermore I added an INSTALL.txt to each tinymce plugin which contains the string to add to plugin_reg.php.
greetings,
Stefan
Comment #5
sunThanks!
FYI: It would be cool if you would vote on this one: http://drupal.org/node/152046
Comment #6
stborchertWhoa, this is awesome. It would solve a lot of my problems :-)
Thanks!