A copy/paste of your code resulted in the same thing... page not found for both text areas.
I am at my wits end, so for now, I will just wait until someone fixes it. And the samples DO work, as can be seen here: https://www.sarversystems.com/FCKeditor/_samples/php/sample01.php |
Hi g0t0pless
Here is my meta.tpl Code:
{* $Id: meta.tpl,v 1.18.2.4 2004/12/23 12:50:34 svowl Exp $ *} All in lowercase: Here is my product_details.tpl Code:
{if $active_modules.Extra_Fields ne ""} The fckeditor in the above code starts in caps, and is ok. You can replace the "Default" with "Basic" as in Vulcan-works code above. I also uploaded fckeditor to my root into a directory called "fckeditor" in lowercase, and all seems to work well. Hope this help you and thanks to vulcan-work for his help. |
well, after scratching my head for a while... :-k
assuming your fckeditor directory is in the root... in fckeditor.js change Code:
this.BasePath = '/fckeditor/' ; to Code:
this.BasePath = '../fckeditor/' ; ...worked for me anyway. Thanks! |
Thank you. I will try that as soon as I get a chance.
I just upgraded to 4.0.13 last night, and bought the X-Compare module, so got a little work to do before I jump back into this. |
great mod, thanks!
|
Quote:
mpj, Try this to remove the </P> tags. In editor.js, replace: Code:
// fix placeholder URLS - remove absolute paths that IE adds With: Code:
// fix placeholder URLS - remove absolute paths that IE adds That *should* remove the </P>tags. :) |
in the fckeditor.js
this.BasePath = '/FCKeditor/' ; make sure /FCK/ matches the folder name you created on your server FCKeditor and fckeditor wont match up. |
Thanks to all that helped me to get this working... It works!!!!
Now, how do I add/remove toolbar buttons? I am messing around in fckconfig.js and I see where they buttons are called up under "basic" and "default", but adding/removing anything in there has no results. I even tried creating a new toolbar set called custom, and then changing my toolbar settings in main/product_modify.tpl to request the custom toolbar. Doing so results in an error saying the toolbar doesn't exist. |
Quote:
Add this line Code:
oFCKeditor.ToolbarSet = "Basic(or whatever u have)" ; Code:
var oFCKeditor = new FCKeditor( 'fulldescr' ) ; Code:
oFCKeditor.ReplaceTextarea() ; so.. Code:
<script type="text/javascript"> |
That's exactly what I did. No matter what I do, it won't make any changes to the toolbars.
|
All times are GMT -8. The time now is 01:36 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.