Hi,

I'm brand new to Drupal and have been trying to get some editing buttons to work. First tried tinyMCE 3, now switched to 2, but still RARELY get line breaks.

One time I thought I fixed it, only to lose the line breaks again when I changed some buttons.

Also, got this error when I created the last profile:

warning: Invalid argument supplied for foreach() in /home/trado/public_html/modules/wysiwyg/wysiwyg.admin.inc on line 363.
warning: array_filter() [function.array-filter]: The first argument should be an array in /home/trado/public_html/modules/wysiwyg/wysiwyg.admin.inc on line 368.

I don't have a clue what to do. Am willing to pay a few bucks for someone to look at my site and fix this.

Thanks,

Christine

Comments

ChristineBaker’s picture

I decided to donate $20 and thought I'd let you know that the PayPal instructions are in GERMAN. Germans use a "," instead of a "." in 20.00 and Americans who don't read German are very unlikely to figure out why they're getting an error and can't send you $$$.

Drupal is practically not usable by "normal" people who don't type in HTML and I want to see this much needed module continued to be developed. Much appreciate your work!

-- I just tried the PayPal thing again and this time it worked without error -- all in English --, not sure what to think of this. I recently paid someone in Euros, but didn't get GERMAN then.

sun’s picture

Title: losing line breaks and error messages when creating new profile » Losing line breaks
Status: Active » Postponed (maintainer needs more info)

Thanks! I have contacted PayPal about this language issue.

Regarding the PHP warnings: this is already fixed in the latest development snapshot, which is safe to use. A new 0.5 release is on the way.

I am not entirely sure what you mean with "but still RARELY get line breaks. One time I thought I fixed it, only to lose the line breaks again when I changed some buttons." - what do you mean with "get line breaks"? Could you please elaborate on this a bit more?

ChristineBaker’s picture

By line breaks, I mean starting a new line and having a space between paragraphs. Like this:

There is a long confusing history of what I was doing over the last few days at http://trado.info/forum/5

I also used the tinyMCE module, had the same problem. Nobody seems to have that problem and I just installed Drupal, so I don't have a clue what I did.

I've activated quite a few modules trying to get some functionality, but didn't mess with any code.

sun’s picture

Status: Postponed (maintainer needs more info) » Active

Christine, I looked into this thread: http://trado.info/node/23

From the posts over there it looks like you did not properly configure your input formats. This has nothing to do with Wysiwyg - your contents are filtered by the enabled input filters of the selected input format. Please have a look at your input format and filter configuration on http://trado.info/admin/settings/filters

I don't get it.I can even SEE the HTML, the </p>. So why isn't it THERE?

Tells me that the "HTML filter" is enabled and configured in a way that it strips/removes all P tags.

I checked "Remove linebreaks" If enabled, the editor will remove most linebreaks from contents.

This option just removes linefeeds from the content, which would not be displayed anyway.

I suppose I can delete the Tinymce module files

Yes. If you want to to be sure that it has been removed completely, check whether there still are tinymce_* tables in your database, and if there are, delete them.

But I'm running out of space, what's happening to my replies?

You enabled comment threading for your comments. Go to the content-type configuration form for your Forum topic content-type and change it to "flat" display there.

Please also note that Wysiwyg 0.5 has been released today.

ChristineBaker’s picture

You rock! Thank you, sun.

The new release looks GREAT. Everything seems to be working now except:

1) the popup windows are blank (link, image upload, etc)

2) I can't get the blockquote button to show up.

Greatly appreciate your help, it takes a while to get used to the many options in Drupal.

sun’s picture

1) the popup windows are blank (link, image upload, etc)

Is it possible that you have JS aggregation enabled? If you have, please try whether disabling it fixes this problem.

2) I can't get the blockquote button to show up.

You are using TinyMCE 3, correct? Were you able to enable the button in the profile?

ChristineBaker’s picture

I don't have JS aggregation installed. And, I was using tinyMCE 2, had switched to it when I still had the missing line breaks. Had enabled the quotes button (checked several times), but the button wouldn't show up.

So, now I went back to tinyMCE 3, and the quotes work, windows work and line breaks work.

The only problem is that the editing buttons are all in ONE LONG row. In tinyMCE 2, I got 2 rows.

It's not that big a deal, I'll just strip some buttons. But having 2 rows would be nice.

sun’s picture

Status: Active » Fixed

The buttons should wrap automatically. But anyway, this is treated in #277954: Allow to sort editor buttons.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.