Webmastersite.net
Register Log In

WYSIWYG editor is not works

Comments on WYSIWYG editor is not works

befeleme
Experienced

Usergroup: Customer
Joined: Aug 27, 2005
Location: Czech Republic

Total Topics: 48
Total Comments: 82
Posted Jan 21, 2006 - 2:23 PM:

Hallo Paul,

I install version 3.3.4 and I check in admin/switches/WYSIWYG for link and category descriptions to ON. When I go to page suggest link textarea by link description is normal there - No WYSIWYG.

I dont know, where is problem. Javascript in my IE 6 is ON.

Thank for help.


befeleme
Experienced

Usergroup: Customer
Joined: Aug 27, 2005
Location: Czech Republic

Total Topics: 48
Total Comments: 82
Posted Jan 22, 2006 - 3:12 AM:

I try replace in suggestlink.tpl <IF {THISMEMBERWYSIWYGDESCRIP}> with <IF {SWITCH_WYSIDESCRIP}> and then WYSIWYG show me, but I fill in textarea and submit form, linkdescription not display on the page displaylinks.tpl. :-(


Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Jan 22, 2006 - 5:50 PM:

You've probably selected the plain editor in your member profile.
befeleme
Experienced

Usergroup: Customer
Joined: Aug 27, 2005
Location: Czech Republic

Total Topics: 48
Total Comments: 82
Posted Jan 23, 2006 - 2:29 AM:

Thank you, now is wysiwyg display ok, but I fill text to link textarea in editor and I colored this for red and submit, so linkdecsription display this:

text is not red
Category wysiwyg description works fine!

It is ok or I do mistake anywhere?

Thanks.

Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Jan 25, 2006 - 8:04 PM:

In classes/onelink.php change
if ($linkloop[$x]) $linkloop = explode(',', $settings->parsecodelinks);
to
  $linkloop = explode(',', $settings->parsecodelinks);
befeleme
Experienced

Usergroup: Customer
Joined: Aug 27, 2005
Location: Czech Republic

Total Topics: 48
Total Comments: 82
Posted Jan 28, 2006 - 3:35 AM:

Thank you Paul,

I have more questions and problems.

1 . When I show Preview suggest link there is the same problem. In Preview displays code instead colored text.
2. Is any simply way for limit characters in "WYSIWYG textarea" ?
3. Is possible use Preview links in edit.tpl too ?
4. When I use WYSIWYG editor for links and when I use this conditional syntax in displaylinks.tpl:
<IF {LINKDESCRIPTION>{LINKDESCRIPTION}></IF> 
so linkdescription show twice on the page. It is mystery for me. When I use for example
<IF {LINKURL>{LINKURL}></IF>
is all ok.

Thanks for help.
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Jan 29, 2006 - 3:46 AM:

1. Fixed for 3.3.5
2. I don't know of any javascript which can do that, but it's probably possible.
3. I thought there was a preview changes button, but I guess that's only for comments. Will add to suggested features.
4. You're missing closing }s on both of those. Long fields can anyhow cause problems within conditionals. Have you checked if there's a simple template var that says whether there's a description or not? Or just pass the parameter to limit the length to 1 character and that'll do the same thing.
befeleme
Experienced

Usergroup: Customer
Joined: Aug 27, 2005
Location: Czech Republic

Total Topics: 48
Total Comments: 82
Posted Feb 02, 2006 - 1:15 AM:



Thank Paul,

closing }s missing only in forum :-)


Paul, please, write mi example for this my conditional with parametr to limit the length to 1 character. I don't find any variables for length linkdescription in manual.

Thank you.
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Feb 03, 2006 - 9:58 AM:

Please read scripts.webmastersite.net/w...inks/wsnmanual/articles/10

{LINKDESCRIPTION} - Description of the link.
-- Optional paramater: {LINKDESCRIPTION[x]} will trim the description to x characters.


Replace x with 1.
befeleme
Experienced

Usergroup: Customer
Joined: Aug 27, 2005
Location: Czech Republic

Total Topics: 48
Total Comments: 82
#10 - Quote - Permalink
Posted Feb 21, 2006 - 8:11 AM:

Problem with conditional by 4) is ony with use textarea.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



This thread is closed, so you cannot post a reply.