Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Want a WYSIWYG detailed description text area?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #111  
Old 11-11-2005, 10:48 PM
 
micromedia micromedia is offline
 

Member
  
Join Date: Feb 2005
Posts: 27
 

Default anybody help me...

I add FCKeditor 2.1.1 on my admin site. it is working but filemanager doesn't work. I try to change

FCKeditor/editor/filemanager/browser/default/connectors/phpconfig.php

and e.t.c but I guess path problem.

anybody help me...
thanks
__________________
X Cart Gold Ver. 4.1.6
Reply With Quote
  #112  
Old 01-03-2006, 06:02 AM
 
wiggywag wiggywag is offline
 

Member
  
Join Date: Apr 2005
Posts: 13
 

Default How to make the image browser uploader to work

How can I make the image browser/image uploader to work in FCKeditor, nothing happens when I try to upload a picture from my computer! Im not sure which folder it tries to upload it. I can't get the "Create new Folder" to work either!

The reason I want it to work, is for the admin to be able to easy upload and use images in the static pages dialog and in the news description dialog!

I've implemented it as descried in this thread!

Thanks!

stig
__________________
wiggywag
X-Cart 4.1.8
Reply With Quote
  #113  
Old 03-20-2006, 02:54 PM
 
Lucent88 Lucent88 is offline
 

Senior Member
  
Join Date: Aug 2005
Posts: 147
 

Default

I just installed the FCKeditor. I can see that the sample page is work fine, but I don't see anything in my product_modify.php page. I suppose to see the editor tool bar above the detail/short description? How come I don't see anything on that page? Am I missing something?

I followed the instruction posted by Marian on page 7

1. upload to my xcart directory
2. Rename the directory on your server / test server / and local to fckeditor (I don't really get this part, is it xcart/fckeditor/)?
3. test sample page - it works great
4. edit skin1/meta.tpl
5. edit /skin1/main/product_details.tpl
6. fckeditor/fckeditor.js
__________________
X-Cart Gold 4.0.17
Reply With Quote
  #114  
Old 03-21-2006, 10:18 AM
 
Lucent88 Lucent88 is offline
 

Senior Member
  
Join Date: Aug 2005
Posts: 147
 

Default

Actually, I found out where the problem, where is says rename the folder, it meant the original folder name is probably "FCKeditor" rename it to "fckeditor". Basically, just change it to all lowercase, after I change it, everything works great. I also on the newest version of FCKeditor, and I'm on v4.0.17.
__________________
X-Cart Gold 4.0.17
Reply With Quote
  #115  
Old 03-30-2006, 04:29 PM
 
Lucent88 Lucent88 is offline
 

Senior Member
  
Join Date: Aug 2005
Posts: 147
 

Default

I'm using FCKeditor.. how can I make the text area longer?
__________________
X-Cart Gold 4.0.17
Reply With Quote
  #116  
Old 04-03-2006, 05:41 AM
 
mffowler mffowler is offline
 

X-Adept
  
Join Date: Mar 2003
Location: Melbourne, Australia
Posts: 811
 

Default

Dynamic Drive just released an opensource (cross browser) WYSIWYG editor and it's excellent!

To get this to work without modifying any of the code of the WYSIWYG files, unzip the folder into your admin (not skin1/admin) directory.

It took me five minutes to implement on both the short and full descriptuions. Follow the instructions in the wysiwyg_beta.zip folder and implement the following:
Code:
<script language="JavaScript" type="text/javascript" src="wysiwyg.js"></script>
Right before the closing </HEAD> tag in skin1/admin/home.tpl

Then, open up /main/product_details.tpl and then just add:
Code:
<script language="JavaScript"> generate_wysiwyg('wysiwyg1'); </script>
directly after the </TEXTAREA> tag of the text area that you want to have WYSIWYG.

Add the id="wysiwyg1" to the TEXTAREA to correspond. Change the ID for multiple instances. This functionality is in X-Cart 4.1.x, but an easy (and free) implementation for earlier versions...

- Mike
__________________
4.1.9
Reply With Quote
  #117  
Old 04-03-2006, 07:02 AM
  groovico's Avatar 
groovico groovico is offline
 

X-Man
  
Join Date: Apr 2003
Location: Firetanksoftware.com
Posts: 2,326
 

Default

A word of caution for anyone using HTML in product descriptions

1. X-cart will truncate short descriptions breaking HTML mid way through a tag. This can kill your customers shop display at checkout and shopping cart screens as the tags aren't closed properly.

2. HTML descriptions will cause havoc if you have to export and re-import your data for whatever reason.

I hope x-cart have this sort of problem sorted in x-cart 4.1, the product import needs extra delimiters such as double pipe || added, commas and semi colons don't cut it.
__________________
Groovico

Used by X-carters the world over:
Marketing Manager Pro Bundle For X-cart
Featured Product Manager for X-cart
Feed manager pro for X-cart

http://www.firetanksoftware.com

Celebrating 7 Years of providing quality X-cart Add ons and X-cart Mods for x-cart 3.X to X-cart 4.4.X
Reply With Quote
  #118  
Old 04-03-2006, 01:01 PM
 
mffowler mffowler is offline
 

X-Adept
  
Join Date: Mar 2003
Location: Melbourne, Australia
Posts: 811
 

Default

I haven't had either of these issues for over a year. I use the short description as full most often and the full for other product specific (tracks, charts, specs...) and use the semicolon delimiter.

Though there is potential fo havoc- haven't seen it in any of my worked products.

- Mike
__________________
4.1.9
Reply With Quote
  #119  
Old 04-13-2006, 07:17 AM
 
gallica gallica is offline
 

Member
  
Join Date: Aug 2005
Posts: 26
 

Default WYSIWYG beta editor from dynamicdrive

Hi,

Anyone else tried WYSIWYG editor from dynamicdrive ?

Unzipped content of archive in /admin/

Basicaly modified single/home.tpl with
Code:
<script language="JavaScript" type="text/javascript" src="wysiwyg.js"></script>

Modified main/product as followed :
Code:
<TEXTAREA name="fulldescr" cols="45" rows="12" class="InputWidth" id="wysiwyg1">{$product.fulldescr|escape:"html"}</TEXTAREA> <script language="JavaScript"> generate_wysiwyg('wysiwyg1'); </script>

But no Html editor display.

Any help is wellcome.
__________________
Xcart 4.018
Heavily moded
http://www.france-modelisme.com
Reply With Quote
  #120  
Old 04-13-2006, 12:56 PM
 
mffowler mffowler is offline
 

X-Adept
  
Join Date: Mar 2003
Location: Melbourne, Australia
Posts: 811
 

Default

I got it to work, but you might tight a closer look at the files you need to modify. The file you mention isn't mentioned in my post above.

- Mike
__________________
4.1.9
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 10:48 PM.

   

 
X-Cart forums © 2001-2020