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)

Chris B 02-21-2007 01:19 PM

Re: Want a WYSIWYG detailed description text area?
 
Using 4.0.19 I've got the editor working except I get a non-secure item error.

I though there may have been an absolute path within the javascript causing the error, but I have not yet been able to find one.

Also, is it possible to have the editors body font display as "arial" when loaded. Currently it appears as "Times New Roman".

Thanks,

Chris

Chris B 02-21-2007 01:40 PM

Re: Want a WYSIWYG detailed description text area?
 
OK I found what was creating the security error...

Open the file wysiwyg.js and find:

<code>
+ '<iframe frameborder="0" id="wysiwyg' + n + '"></iframe>\n'
</code>

add the editor directory path in iframe:

<code>
+ '<iframe src="/editior_directory/" frameborder="0" id="wysiwyg' + n + '"></iframe>\n'
</code>

Warwick 02-27-2007 08:09 AM

Re: Want a WYSIWYG detailed description text area?
 
Is there some better WYSIWYG available for 4.1.3 i.e. one that functions with Safari and/or Firefox as well?

I can't be alone with this problem not being able to use the WYSIWYG editor on a Mac? Or am I?

candleshopcreations 02-27-2007 08:23 AM

Re: Want a WYSIWYG detailed description text area?
 
Quote:

Originally Posted by Warwick
Is there some better WYSIWYG available for 4.1.3 i.e. one that functions with Safari and/or Firefox as well?

I can't be alone with this problem not being able to use the WYSIWYG editor on a Mac? Or am I?


nope, i installed this on 4.0.18 and it works on my mac/firefox, but not safari. some day...

Warwick 02-27-2007 08:30 AM

Re: Want a WYSIWYG detailed description text area?
 
Looks like we Mac users are left holding the short end of the stick .... again :(

carpeperdiem 02-27-2007 09:14 AM

Re: Want a WYSIWYG detailed description text area?
 
Quote:

Looks like we Mac users are left holding the short end of the stick .... again

Not anymore!

I recently upgraded to a MacBook Pro 2.33 dual core INTEL -- and there is a spectacular piece of software (Parallels) that allows you to make a Windows partition that is NOT emulation... it is full-out direct access to the processor... and it is like, no, it is not "like" it IS running macOS and Win on the same machine at the same time.

Totally changed how I work.

Best $66 I ever spent.

I have the best off all worlds. ALSO -- since it is a virtual machine partition, I can let Windows do whatever it does, and if I don't like it, I simply restore to an older partition. You can also clone a partition, and have one partition be your testing platform, and one for production.

Use Windows for what it is, but work on the Mac.

Doesn't help with so-called "marginialization" -- bad developers will continue to ignore the mac os -- and it still puts some $ to microsoft... BUT it gives me a competitive advantage over others that must buy new hardware to run windows. And it's lightning fast.

Warwick 02-27-2007 09:25 AM

Re: Want a WYSIWYG detailed description text area?
 
Quote:

I recently upgraded to a MacBook Pro 2.33 dual core INTEL -- and there is a spectacular piece of software (Parallels) that allows you to make a Windows partition that is NOT emulation... it is full-out direct access to the processor... and it is like, no, it is not "like" it IS running macOS and Win on the same machine at the same time.


I've seen this; sounds promising, now only if I had an dual Core Intel ... :)
I do have Virtual PC; this is one of those emulation PC's, but it is slower then, well a PC and MAC; what are your experiences with the dual core running parallels Windows?

carpeperdiem 02-27-2007 09:43 AM

Re: Want a WYSIWYG detailed description text area?
 
Quote:

Originally Posted by Warwick
I'what are your experiences with the dual core running parallels Windows?


It's a rocketship. It runs essentially native. VERY different than emulation... not in the same league. It ACTUALLy accesses the processor... so there is no perceived latency.

I also have an AMD X2 4600+ and winxp runs faster on my mac than it does on the AMD dualcore -- partly because so much of the OS is in ram.

I can't say enough good things about parallels. it is truly a "killer app"

Warwick 02-27-2007 09:47 AM

Re: Want a WYSIWYG detailed description text area?
 
Hmmm, looks like I should be starting to save for a dual core Mac then :)

Chris B 03-02-2007 12:27 PM

Re: Want a WYSIWYG detailed description text area?
 
OK here is a strange problem.

With the WYSIWIG installed on 4.0.19...

When I have the <script language="JavaScript" type="text/javascript" src="wysiwyg.js">

included within single/home.tpl, right after the </HEAD>, we get script errors for the "Advance Search Options" java on the "Modify Product" page.

Any Ideas?

Thanks,

Chris


All times are GMT -8. The time now is 12:52 PM.

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