john pfeiffer
  • Home
  • Categories
  • Tags
  • Archives

drupal 07 wysiwyg users insert images in text

content manager made easy = WYSIWYG (what you see is what you get)

Administer -> Site building -> Modules (download and install by pasting the link from WYSIWYG module and WYSIWYG Bridge)

Administer -> Site configuration -> Wysiwyg (lists which editor modules you can use and a helpful download link) e.g. TinyMCE (Download) Not installed.

Extract the archive and copy its contents into a new folder in the following location: sites/all/libraries/tinymce

Administer -> Site configuration -> Wysiwyg

Input Format = Full HTML = TinyMCE 3.8.8 (NOTE: Enabling tags in FILTER SETTINGS -> LIMIT ALLOWED HTML TAGS does not seem to help Filtered HTML)

Edit the profile of your WYSIWYG editor to decide which buttons/functions are displayed.

Up until now you only get bold and inserting images that are already uploaded... (ENSURE IMCE IS ENABLED AT THE END)

Administer -> Site configuration -> Text formats (Input formats) Ensure that the "Content Manager Role" (or authenticated user?) has access to Full HTML

Also you can set the default format to Full HTML

(alternatively you can create a more limited input type role that matches your paranoia)


IMCE (image manager) (with the WYSIWYG bridge module)

download and install (upload to /sites/all/modules) and enable module Administer -> Site building -> Modules

Administer -> Site configuration -> IMCE -> User-1 Configure any specific settings, then give a role (e.g. Content Manager) permission

Administer -> Site configuration -> IMCE

  • Enable the Image button (as IMCE is accessed from the Image plugin).

  • Enable the IMCE plugin in the plugins/buttons configuration of the wysiwyg profiles of your choice.

(checkbox)

Edit the profile of your WYSIWYG editor to decide which buttons/functions are displayed. You MUST include the checkbox IMCE...


Ensure the future "content manager" role has create content permissions Administer -> User management -> Roles = Add Role Administer -> User management ->Permissions

Then assign that role to the user


Finally a user with the appropriate role (e.g. "content manager" above) can insert bold/underline/etc. and insert images (and upload photos using IMCE).


  • « Mysql create delete stop service
  • Password not needed login shadow passwords »

Published

Jul 22, 2012

Category

drupal

~329 words

Tags

  • 07 2
  • drupal 43
  • images 1
  • in 17
  • insert 3
  • text 16
  • users 6
  • wysiwyg 2