Heya,
So I installed FCK Editor (both the module and the editor itself). FCK Editor installed beautifully, but the module won't seem to display it into drupal content areas.
It says I have to enable or create a user role, which I *think* I created a role, but that didn't do squat, can someone help?

Thanks!

Comments

vm’s picture

after you creates a role did you give it permissions to use the editor in administer -> access control ?

_____________________________________________________________________
My posts & comments are usually dripping with sarcasm.
If you ask nicely I'll give you a towel : )

n6g9zty6’s picture

I don't think so. Let me ask this though...

To create a role I got to Admin -> User Management -> Roles (admin/user/roles)

And then I don't really know what to do from there.

Thanks!

Spence
http://www.spencerhill.us

vm’s picture

you create new roles by clicking on the add roles tab, which gives you other roles beyond authenticated and anonymous.

typically you would create a role called, "editors" or "contributors" that people can apply for or what have you , and give this user role permissions above that of the authenticated user role, which is basically a simple registered user.

however, you can give registerd (authenticated) users permission to the editor if you want all users to be able to access it. This depends on what you want to allow someone who simply, registers to your site.

_____________________________________________________________________
My posts & comments are usually dripping with sarcasm.
If you ask nicely I'll give you a towel : )

n6g9zty6’s picture

Well I didn't find any "roles" tab... I select "Roles" link beneath the "User Management" title (admin/user/roles) and then I see an input for the role name and the "Add Role" button. But no tab... :(

For now... I would like to give all "authenticated users" access to the editor.

Thanks!

Spence
http://www.spencerhill.us

n6g9zty6’s picture

I don't know if this helps... but when I select the "FCK Editor" link from beneath the "Site Configuration" title it brings me to the settings page (admin/settings/fckeditor) and shows only this text:

The FCKeditor module allows Drupal to replace textarea fields with a rich text or WYSIWYG editor. This editor brings many of the powerful functionalities of known desktop editors like Word to the web. It's relatively lightweight and doesn't require any kind of installation on the client computer.

More information about the editor is located at the FCKeditor homepage. A small user guide is located at FCKeditor userguide.

Profiles can be defined based on user roles. A FCKeditor profile can define which pages receive this FCKeditor capability, what buttons or themes are enabled for the editor, how the editor is displayed, and a few other editor functions. It is possible also to define the Global Profile that will hold values that will be appended to all other profiles.

Lastly, only users with the access fckeditor permission will be able to use FCKeditor.

Thanks!

Spence
http://www.spencerhill.us

vm’s picture

you're right its a form with a button.

either way , the problem you are having is related to the last line in that text

Lastly, only users with the access fckeditor permission will be able to use FCKeditor.

whcih means to goto administer -> access control
find the fckeditor permissions and set them for the roles you want to be able to use the editor.

_____________________________________________________________________
My posts & comments are usually dripping with sarcasm.
If you ask nicely I'll give you a towel : )

n6g9zty6’s picture

Hm... well I did that, I set them but still no success...

BUT I tried installing and configuring TinyMCE WITHOUT the Drupal module and it works beautifully.

Thanks you guys you rock!

For others who might be interested in what I did:

Downloaded latest version of tinymce.

Dropped the unzipped folder into my site root.

Inserted the following code into the head of page.tpl.php:

<script language="javascript" type="text/javascript" src="/tinymce/jscripts/tiny_mce/tiny_mce.js"></script>
<script language="javascript" type="text/javascript">
tinyMCE.init({
	// General options
	mode : "textareas",
	theme : "advanced",
	plugins : "safari,pagebreak,style,layer,table,save,advhr,advimage,advlink,emotions,iespell,inlinepopups,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template",

	// Theme options
	theme_advanced_buttons1 : "save,newdocument,|,bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,|,styleselect,formatselect,fontselect,fontsizeselect",
	theme_advanced_buttons2 : "cut,copy,paste,pastetext,pasteword,|,search,replace,|,bullist,numlist,|,outdent,indent,blockquote,|,undo,redo,|,link,unlink,anchor,image,cleanup,help,code,|,insertdate,inserttime,preview,|,forecolor,backcolor",
	theme_advanced_buttons3 : "tablecontrols,|,hr,removeformat,visualaid,|,sub,sup,|,charmap,emotions,iespell,media,advhr,|,print,|,ltr,rtl,|,fullscreen",
	theme_advanced_buttons4 : "insertlayer,moveforward,movebackward,absolute,|,styleprops,|,cite,abbr,acronym,del,ins,attribs,|,visualchars,nonbreaking,template,pagebreak",
	theme_advanced_toolbar_location : "top",
	theme_advanced_toolbar_align : "left",
	theme_advanced_statusbar_location : "bottom",
	theme_advanced_resizing : true,

	// Example content CSS (should be your site CSS)
	content_css : "css/content.css",

	// Drop lists for link/image/media/template dialogs
	template_external_list_url : "lists/template_list.js",
	external_link_list_url : "lists/link_list.js",
	external_image_list_url : "lists/image_list.js",
	media_external_list_url : "lists/media_list.js",

	// Replace values for the template plugin
	template_replace_values : {
		username : "Some User",
		staffid : "991234"
	}
});
</script>

Thanks!

Spence
http://www.spencerhill.us