Active
Project:
nicEdit WYSIWIG Editor
Version:
6.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
13 Jan 2008 at 05:43 UTC
Updated:
29 Jul 2008 at 15:50 UTC
Hi
I like the look of this but have a bit of a dumb question, exactly how do you activate it?
I have installed and enabled the module, also downloaded and installed nicedit and unzipped into relevant directory as per instructions and given permissions to authenticated user. Problem being not sure where to add the function (using Garland theme on Drupal 1.6 RC2) so that it actually shows up in text fields.
I'd appreciate a pointer, my apologies for what is no doubt a dumb question!
regards
H
Comments
Comment #1
douggreen commentedIn my experience, it just shows up. That's one of the advantages of this module. If you visit node/add/page, does it show up?
Comment #2
no_idea_yet commentedSadly not, it's close but no cigar.
I do see the "show html | admin configure editor | admin remove editor" links but the actual formatting buttons don't show. Have tried configuring it to show all and just a subset of the buttons but no joy. Clicking "show html" does nothing.
I've a sneaking suspicion it's something to do with the function mentioned on the project page:
which I added at the bottom of the Garland template.php file.
On a bit of a steep learning curve here and not too sure how to track down what I did wrong.
Comment #3
douggreen commentedThere shouldn't be any learning curve with this one. You probably configured too much. As I said above, if you just install nicedit on a fresh install, and do nothing else, it's worked for everyone else. So please try to remove the extra configuration you've done. You don't need to add the hook_nicedit function to your theme unless you plan on controlling the editor from the theme. So first, I'd remove that. You also don't need to download nicedit and install locally, at least just to test. So second, I'd remove that.
Comment #4
no_idea_yet commentedDoug, spot on there, deleted the function and the nicedit directory and the formatting buttons now show up. Trying to run before I can walk there I guess!
Taking the time to point me in the right direction is very much appreciated :)
Time to have a play with it and see if it will meet our requirements!
Thanks again
H
Comment #5
martony commentedI have installed nicEdit in a drupal 5.x as a module and configured the permissions in a working setup site with existing pages. As you mentioned I haven't inserted the function line in the theme template.inc. Submitted and saved the installation. Logged out and in again. Nevertheless I only get in the edit view of every page installed only:
show html | admin configure editor | admin remove editor
What do I do wrong? I am new in the working of drupal with a basic knowledge of html and php.
For the 5.x version do I need to insert the function line and if so in which program and where in the program ?
Many thanks in advance for your help
Comment #6
denny_eapen commentedMy drupal installation is 6.1. I tried to install nicedit-6.x-1.x-dev and it is not working. I have the same problem as Martony.
Comment #7
jaimerodMartony and denny_eapen:
Remove the NicEditor directory as this seems to be causing problems. I had the same problem and this fixed it for me. Give it a try!
or see My Fix
Comment #8
vogelor commentedif you have your "own" template, be sure, you add
print $closureat the end of your template, before the end of the body.
after this change, everything works fine for me!
Olli