WYSIWYG stands for 'What You See Is What You Get' and is basicly an interface for content that looks like Microsoft Word with bold, left align, Centre, etc, etc. This is great for formatting pages but can be a nightmare for security. Read on for how to set it up securely.
First install these modules (Click here for instructions on installing the module)
Next, you need to download a library for TinyMCE (our editor of choice) which you can download here (You will need version 3)
Now put the editor on your server.
If you've done this right you WON'T have example.co.uk/sites/all/libraries/tinymce/tinymce. If you do end up with this then move the files down a folder. Once your done you will have:
example.co.uk/sites/all/libraries/tinymce/jscripts
You'll need to add the Spell checker so download it here.
Setup IMCE first as that will be incorporated into the WYSIWYG
We have set this up for admin only at the moment as we don't want users uploading images just yet, but we can go back later and add more profiles if we need to. By the way, the file browser doesn't just upload images, you can upload pdfs, zips, video whatever.
Now if you click 'My account' on the left you have a new option for 'File Browser' where you can upload, delete, edit and resize images. These can then be added through you WYSIWYG editor which we'll set up next.
There are a lot of settings in here and they can cause problems if set up wrong. For instance we will set this up for a basic user and if you allow them to 'disable rich text' it is possible they could write some CSS that could break the page. So:
Now we will do the same for Full HTML. Click 'Edit' next to it
Now you have WYSIWYG all installed but how to use it? Well, every time you create or edit new content you will find the WYSIWYG editor. If you see the buttons of the editor you will notice not all of them are there, but under the editor you will see 'Input format' and if you change to Full HTML you'll get all buttons and if you change to Filtered HTML you'll get some of the buttons.
We'll use the Filtered for users and the Full for Admin. To do this:
When creating cintent on the Full HTML Input format there is an image of a tree, this is for images. If you click this a small window will open. If you look next to Image URL there is a small button click this and another window will open, this is IMCE and if you click on the folder on the left of your username you can start to upload images and files and do all sorts of things.
Spend some time with it, there are a few options and things to play with.
That's WYSIWYG, once you've installed it once you can install it again in about 5-10 mins (including uploading everything, it just takes a while the first time.
Contact me here or catch me on one of
the social networks below
Try this on your mobile
You should be able to use this right from the screen
M | T | W | T | F | S | S |
---|---|---|---|---|---|---|
|
|
|
|
|
|
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
|
|
|
|
|
Copyright David Slack - Web developer