Welcome, Guest. Please login or register.
Did you miss your activation email?


Login with username, password and session length

Search

 
Advanced search

8043 Posts in 1856 Topics- by 2099 Members - Latest Member: roi
Pages: 1 [2] 3   Go Down
Print
Author Topic: WYSIWYG input area  (Read 2472 times)
0 Members and 1 Guest are viewing this topic.
edat
Guest
« Reply #15 on: January 29, 2003, 05:27:00 AM »

Anyone know what code to edit to make the WYSIWYG text area only use single spaces rather than double spaces when using enter?  I know to use shift-enter, but my visitors arent that smart.

Thanks.

Logged
Dave Anderson
New Member
*

Karma: 0
Offline Offline

Posts: 0


WWW
« Reply #16 on: January 30, 2003, 08:40:00 AM »

>>Dave,
have you remembered to set a field type to WYSIWYG in the 'Customize event fields' screen?<<

Ben,

Do you mean "input type"? The only options I have are: 'text', 'password', 'textarea', and 'selectbox'. Where else can I look?

Thanks

Dave

------------------

Logged
Dallas
New Member
*

Karma: 0
Offline Offline

Posts: 0

Pastor


WWW
« Reply #17 on: January 31, 2003, 09:10:00 AM »

I have the same problem as Dave I have copied the files and enabled WYSIWYG but nothing has changed in add event it is the same as it always was.
Logged
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 230

Please don't PM me. Post in the open forum.


WWW
« Reply #18 on: January 31, 2003, 01:37:00 PM »

** I have copied the files and enabled WYSIWYG [plug-in] but nothing has changed in add event **

It sounds like your CalendarScript is not finding the new templates (included with the WYSIWYG plug-in) in the plug-in's directory. You could try uploading them directly to the admin template directory (aftering making a backup of the originals of course).

What CalendarScript version are you running? I know pre-version 3.2 did have some problems with plug-in files. I don't know if that might be a cause or not.

Dan O.

------------------

Logged
Dallas
New Member
*

Karma: 0
Offline Offline

Posts: 0

Pastor


WWW
« Reply #19 on: January 31, 2003, 06:19:00 PM »

**It sounds like your CalendarScript is not finding the new templates (included with the WYSIWYG plug-in) in the plug-in's directory. You could try uploading them directly to the admin template directory (aftering making a backup of the originals of course).

What CalendarScript version are you running? I know pre-version 3.2 did have some problems with plug-in files. I don't know if that might be a cause or not*

I am running ver 3.2. I uploaded them directly to the admin/english template directory and still no change. I have the option to enable WYSIWYG in customize events field, which I did and html is enabled but it is still not working.

Logged
ben
New Member
*

Karma: 0
Offline Offline

Posts: 0


WWW
« Reply #20 on: February 03, 2003, 11:06:00 AM »

Dallas,

Are you using IE 5.5 or above?
Does the HTMLArea demo on the Interactive tools website work for you?

Ben

------------------

Logged
Dallas
New Member
*

Karma: 0
Offline Offline

Posts: 0

Pastor


WWW
« Reply #21 on: February 03, 2003, 05:57:00 PM »

I am running IE 6.2 HTMLArea demo on the Interactive tools website works. The only thing I can think of is that I might have done something wrong or need to modify some scripts to represent where my files are e.g. root directory.
Logged
Vandoc
Guest
« Reply #22 on: February 27, 2003, 10:46:00 AM »

Is there a way of using WYSIWYG with the one click add event
cheers
Vandoc
Logged
OperaDivaMommy
New Member
*

Karma: 0
Offline Offline

Posts: 0

mommy, opera singer, violinist, website designer


WWW
« Reply #23 on: May 03, 2003, 11:42:00 PM »

Works GREAT!!!

Thanks, Ben, for this excellent addition!

Laura

------------------
Laura Ruiz
http://www.increDesign.com

==========
This will be our reply to violence:
 To make music more intensely,
 more beautifully,
 more devotedly than ever before.
    -Leonard Bernstein
==========

Logged

Laura Ruiz
http://www.increDesign.com

==========
This will be our reply to violence:
 To make music more intensely,
 more beautifully,
 more devotedly than ever before.
    -Leonard Bernstein
==========

Stacey
Guest
« Reply #24 on: June 14, 2003, 06:43:00 AM »

I GOT IT TO WORK!!!

All the information I needed was in this thread. Grateful thanks to Ben, TubaDave and DanO.

For the benefit of someone who is reading this for the first time, I'll post a summary of what worked for me...

STEP ONE: Install "HTML Area" Program

- Download "htmlarea" from http://www.interactivetools.com/products/htmlarea/

- Upload the whole folder to the root of your site (or change references Ben's modified files).

- Confirm that it works by navigating to the example file they included (www.yoursite.com/htmlarea/example.html). Note that the current version only works in IE 5.5+ PC.

STEP TWO: UPLOAD MODIFIED CS FILES

- Ben has already made the neccessary code modifications (thanks!). Download the files at http://www.willcoxonline.com/cs-htmlarea/cs-htmlarea.zip

- There's one fix that still needs to be done to the modified files (for the "search" function to work). See DanO's message (to Ryan) on what line of code needs to be adjusted. This fix did work for me by the way (I was getting the error messages and they went away after I changed this line of code).

- Backup your copies of the modified files then upload Ben's replacement files.

STEP THREE: CUSTOMIZE EVENT FIELDS
I totally missed this step when I first installed the program. I went to "Add Events" and nothing was different. You need to do this last step for it to work.

- Select "Customize Event Fields" (upper menu).
- Click "Edit" Button next to "Title"
- Next to Input Type you'll see a popup menu. Change this to "WYSIWYG".
- Click "Save"
- Select "Customize Event Fields" (again)
- Click "Edit" Button next to "Description"
- Change the input type on this one to "WYSIWYG" too.

STEP FOUR: TEST

- NOW try going to "Add Event". You should see have the ability to add bold, color, etc.

- If no luck go to "Calendar Settings" and make sure "Allow HTML" is selected. If still trouble... um, ask Ben, TubaDave, or DanO (I'm just summarizing their brilliant work).

STEP FIVE: COSMETICS (optional)
I tweaked the cosmetics of the "Add Event" page slightly. Here's what I did...

- Select "Customize Event Fields" (upper menu)
- Click "Edit" button next to Title
- I set Size & Maxlength to "50", Rows to "1" & Cols to "50" (this made the title input area a little wider and only one row).

- Select "Customize Event Fields" (upper menu)
- Click "Edit" button next to Description
- I set Size & Rows to "12" (to make the description input box taller).


HOPE THAT HELPS SOMEONE!
It's a great addition and easy to install (once you understand what all the steps are).

Logged
Stacey
Guest
« Reply #25 on: June 14, 2003, 06:48:00 AM »

Oops, that last paragraph should read...

- Select "Customize Event Fields" (upper menu)
- Click "Edit" button next to Description
- I set Rows to "12"  and Cols to "50" (to make the description input box taller).

* if you're a list monitor feel free to correct this in my post.

Good Luck!

Logged
Stacey
Guest
« Reply #26 on: June 14, 2003, 08:10:00 AM »

Boy, I must have an over-active "helper" gene today.

I found the answer to Ryan's question about how to make the description field "single space" upon return (right now it double-spaces each time you press the return key.

The solution is to add a snippet of code to the "htmlarea" program's "editor.js" file. See...
http://www.interactivetools.com/forum/gforum.cgi?post=3313#3313

Worked for me!

Logged
jamiers
New Member
*

Karma: 0
Offline Offline

Posts: 0


« Reply #27 on: July 13, 2003, 07:56:00 AM »

I got it to work.  I am having a problem though.  When I click the "Insert Picture" button, it pops open the insert picture dialog box, but then an error immediately pops over the top of it:

"An error occurred in this dialog.
Error: 166
Object expected"

Any clues?

Jamie

------------------

Logged
Kathy Maney
Guest
« Reply #28 on: July 30, 2003, 08:52:00 PM »

The editor works great!  I downloaded htmlArea Version 3.0 and could not get it to work.  Was looking for the editor.js file which was not in the 3.0 download.  When I downloaded Version 2.03 and put it in the root of my site, everything worked perfectly.  Thanks for all the info.  I’m using this on a large church web site.  www.biltmorebaptist.org
Logged
Connection
Guest
« Reply #29 on: November 11, 2003, 08:59:00 PM »

OK, did all that and it works (sorta) but what I'd really like to do is list my events as links using the <a href=http command. I'm just going to assume that's not possible since the code has already grabbed that function for a link to it's descriptions. At least for this mod anyway, so the next question would be is there a mod available that patches the code to allow for links in titles?
Logged
Pages: 1 [2] 3   Go Up
Print
Jump to: