X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Dev Questions (https://forum.x-cart.com/forumdisplay.php?f=20)
-   -   Want a WYSIWYG detailed description text area? (https://forum.x-cart.com/showthread.php?t=7407)

electric 06-10-2004 06:21 PM

Quote:

Originally Posted by PhilJ
It seems to work fine initially, then when I try and edit the same product again, it goes back to the normal textarea box, and I get a javascript error.

Quote:

Error: 'document.all[...]' is null or not an object

Anyone else experiencing the same?


We are experiencing this exact same error. Is there a solution? We are using X-Cart version 3.5.8.

Any help would be greatly appreciated.

Emerson 06-10-2004 06:25 PM

Quote:

Originally Posted by electric
We are experiencing this exact same error. Is there a solution? We are using X-Cart version 3.5.8.

Any help would be greatly appreciated.


Phil had posted that refreshing the page a few times helped the problem! ;)

electric 06-11-2004 01:58 PM

Has anyone tried to get HTMLAREA to work with the "webmaster mode" for updating language variables in the little popup boxes?

This would be great if it works... but I have no idea how to do this.

Anyone?

mlannen@tecconvt.net 07-08-2004 11:50 AM

GREAT MOD THANKS!
 
This is a great Mod. Thanks so much. Took like 5 minutes to implement.

Rob 08-19-2004 09:46 AM

Has anyone figured out why sometimes you have to refresh the screen several times before htmlarea works? This was pointed out by several people, but a solution was never offered. The subject seems to have died out. Too bad, this was a great mod I wish I could get it to work consistantly. I've had to refresh the screen up to 6 times before it showed up.

version 3.4.8

mream 10-05-2004 02:56 PM

I have that same inconsistency problem. Any ideas?

Also, is there any way to put the HTMLAREA on the "page content" field when I create a static (embedded) page?

thanks,

PhilJ 10-05-2004 03:03 PM

yes Matt, read the previous page on this thread, half way down

mream 10-05-2004 08:33 PM

Thanks, Phil. Musta missed that!

PhilJ 10-06-2004 07:02 AM

np, also if you want to use it to update your welcome message

in skin1/admin/main/languages.tpl

at the top of the page add

Code:

<script language="JavaScript1.2" defer>
editor_generate('var_value[txt_welcome]');
</script>


Then add a link to skin1/admin/menu.tpl

Code:

Edit Welcome

to edit the text directly.

it's advisable to only use this after you have set all your other language variables, as it will cause a javascript error when editing other variables, although it's harmless.

CenturyPerf 10-07-2004 04:36 PM

Does anyone have this working in 4.0.4?

I set it up and I get no change (no errors either).

The HTMLAREA folder is in my main X-Cart directory and I added the scripts to the two pages listed in this thread. I've tried a variety of paths (../htmlarea /htmlarea/ /htmlarea) and no difference.


All times are GMT -8. The time now is 11:00 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.