Problem with buttons folder
sambtaylor - October 29, 2007 - 03:36
| Project: | Whizzywig |
| Version: | 5.x-1.1 |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
Should the downloaded buttons folder be placed inside the buttons folder or should it replace it (and thus be in the whizzywig directory. Either way, I am not having the buttons appear.

#1
buttons go into the buttons folder.
structure should be the following
whizzywig/buttons/ALL gif images.
do not make the mistake of whizzywig/buttons/buttons/ALL gif images.
#2
These instructions, which are inside the empty buttons folder of the module, are unclear:
The contents of the zip package could be construed to be the Buttons folder it unzips too. It should say that the individual buttons themselves should be placed directly into the already existent buttons folder.
#3
They still are not showing up to me. If they were added after the module was enabled, will that cuase problems? Is there somewhere I need to go to turn them on. They don't display in the whizzygig tool settings. There are just question marks.
#4
A) it says place the "CONTENTS" in this folder. it does not say place the folder in this folder. I think thats clarity enough. I also did not have problems following the directions.
B) the buttons showed up immediatly for me in adminsiter -> whizzywig -> toolbar settings
From there I told whizzy what buttons to show in the editor and they showed. as seen on my sandbox.
#5
I disabled the module, deleted it, and reloaded it again with the buttons inside
modules:whizzywig:whizzywig:buttons
It still only shows question marks under the tool settings and it only shows plain text buttons beside the input box. This is a day later, so the cache should be cleared. Is there somewhere where Drupal might have stored those buttons as being missing or stored the default text ones as the ones to go to? How can I make the buttons appear?
#6
if you right click on the ? and view properties what path is given ?
#7
The path would seem to be right:
modules/whizzywig/whizzywig/buttons/bold.gif
I am also seeing the additional problem that I cannot select a style and then type in it (in fact it removes the cursor entirely, and even after I click back in place the style is not changed). I can only change styles or use the editor in any fashion by highlighting it after it is written and then selecting the style.
#8
To make matters stranger, it appears that it is now allowing single line returns although I have not changed any setting to enable it. Perhaps the editor not working is correlated to the return of Drupal's single line returns???
#9
not that it should mattter much, but where are you installing contrib modules ? in the modules directory? or inside sites/all/modules ?
#10
sites/all/modules
#11
The buttons are located in the exact path that they should be, yet if you type in that path or open it in a new window by right clicking on the question mark, indeed nothing appears, and it says file not found. I tried it again with a fresh install and found the same thing. Again, this is with the individual buttons inside
sites/all/modules/whizzywig/whizzywig/buttons
???
Why would Drupal say file not found when there is in fact a file there? Does Drupal need a special add-on to handle gif files? WHat could this be?
#12
no drupal does not need a special add on to handle gifs. I can't replicate your problem.
I suggest testing the module on a clean installation on your local machine or a subdomain of your server to verify that you can replicate the problem on a fresh installation.
#13
I already have replicated it on a fresh install.
#14
Did you upload the whizzywig.js file ? from the whizzywig site ? to your module folder ? as instructed by README.txt ?
If you have are you sure the file is uncorrupted ?
#15
I have, but I should do it again if that could be the problem (if it is corrupted). I redownloaded the buttons themselves in case that was the problem, but I did not think to redo the js file. I'll try it.
#16
#17
I had exactly the issue the sambtaylor had -- virtually identical process of experimentation & discovery. At the end, though, I remembered that sometimes OS X will not permit Apache to display images unless it has WRITE permission. When I gave the Group READ & WRITE permission, all images could be displayed.
Can't say whether it will work this way on a production Linux server. My experiences to date suggest that this will only be a problem on OS X. Sambtaylor, can you confirm/negate whether you're seeing this on OS X?
#18
#19
I had the identical problem using a windows computer and a linux server, but since you mentioned OS X I thought I'd try deleting the buttons folder, making a new buttons folder, and pasting the images into it and uploading (making a point to delete the buttons folder on the server as well). The images started working right away.
I'm guessing whatever permissions were set to the pre-existing buttons folder must have kept it from working. Hope that helps somebody!
#20
Giving this issue a more clear title.
Anyone experiencing these problems, could you test the solution proposed by pandabounce?
#21
Dear all, with all respects please try Whizzywig 6.x-1.0-ALPHA1 version for Drupal 6.
Many changing I have done to this module and js.
Please try and post new issue if any.