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
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

VM - October 29, 2007 - 03:59

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

sambtaylor - October 29, 2007 - 04:03

These instructions, which are inside the empty buttons folder of the module, are unclear:

IMPORTANT:
It is recommended to download the buttons.zip package from the Whizzywig download site, and place the contents in this folder. Alternatively, you could provide your own images with the same filenames as the ones from buttons.zip. If no images are provided, the buttons will have a text label instead.

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

sambtaylor - October 29, 2007 - 04:10

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

VM - October 29, 2007 - 04:13

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

sambtaylor - October 29, 2007 - 21:18

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

VM - October 29, 2007 - 21:26

if you right click on the ? and view properties what path is given ?

#7

sambtaylor - October 30, 2007 - 00:25

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

sambtaylor - October 30, 2007 - 00:28

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

VM - October 30, 2007 - 00:34

not that it should mattter much, but where are you installing contrib modules ? in the modules directory? or inside sites/all/modules ?

#10

sambtaylor - October 30, 2007 - 01:22

sites/all/modules

#11

sambtaylor - October 30, 2007 - 16:22

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

VM - November 3, 2007 - 18:56

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

sambtaylor - November 3, 2007 - 22:44

I already have replicated it on a fresh install.

#14

VM - November 3, 2007 - 22:54

Did you upload the whizzywig.js file ? from the whizzywig site ? to your module folder ? as instructed by README.txt ?

2) Download the file whizzywig.js from the Whizzywig download page (see Resources below) and put it in the folder 'whizzywig' within the module folder.
This means the file will most likely be at /sites/all/modules/whizzywig/whizzywig/whizzywig.js

If you have are you sure the file is uncorrupted ?

#15

sambtaylor - November 4, 2007 - 05:01

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

VM - November 5, 2007 - 12:31
Assigned to:Anonymous» VM
Status:active» postponed (maintainer needs more info)

#17

escoles - February 27, 2008 - 19:33
Title:Loosen up these buttons» Seems to be a permissions issue

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

VM - February 27, 2008 - 20:43
Assigned to:VM» Anonymous

#19

pandabounce - February 29, 2008 - 05:05

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

sdecabooter - March 5, 2008 - 11:06
Title:Seems to be a permissions issue» Problem with buttons folder

Giving this issue a more clear title.
Anyone experiencing these problems, could you test the solution proposed by pandabounce?

#21

drupal-id.com - October 2, 2009 - 10:20
Status:postponed (maintainer needs more info)» closed

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.

 
 

Drupal is a registered trademark of Dries Buytaert.