Re: Adding the FCKeditor HTML Editor
The config.php file should definitely be there, maybe get the latest version.
Re. webmaster mode.. no, it'd cause more problems than it's worth, always use a decent text editor to modify your template files. |
Re: Adding the FCKeditor HTML Editor
Phil I have the latest version still can't find the config.php anyway dont worry. Thanks for your help Phil
|
Re: Adding the FCKeditor HTML Editor
how would you use this after install?
|
Re: Adding the FCKeditor HTML Editor
This rocks ... X-Cart might want to think about adding this within their 4.2 release.
Shafiq :sK |
Re: Adding the FCKeditor HTML Editor
Just an FYI for language variables:
You can change all language variables to have the FCKeditor by inserting this: <script type="text/javascript"> var oFCKeditor = new FCKeditor('var_{$lbl.name}'); oFCKeditor.BasePath = "../fckeditor/"; oFCKeditor.Height="200"; oFCKeditor.ToolbarSet="Default"; oFCKeditor.ReplaceTextarea() ; </script> Right before: {/foreach} <tr> <td colspan="2" class="SubmitBox"> in skin1/admin/languages.tpl. You can also get any new language variables to have the editor by inserting this: <script type="text/javascript"> var oFCKeditor = new FCKeditor('new_var_value'); oFCKeditor.BasePath = "../fckeditor/"; oFCKeditor.Height="200"; oFCKeditor.ToolbarSet="Default"; oFCKeditor.ReplaceTextarea() ; </script> Right before: </form> {/capture} {include file="dialog.tpl" content=$smarty.capture.dialog title=$lng.lbl_add_new_language extra='width="100%"'} at the bottom of the same .tpl. *HOWEVER* Adding FCKeditor to all language variables can drastically slow down a page's load time. I recommend only adding it for the language variables that really need it, like txt_welcome. Here's the initial info I inserted at the end of the form called languagespostform (around line 200, right before </form>): <script type="text/javascript"> var oFCKeditor = new FCKeditor('var_txt_welcome'); var oFCKeditor = new FCKeditor('var_txt_conditions_customer'); var oFCKeditor = new FCKeditor('var_txt_privacy_statement'); oFCKeditor.BasePath = "../fckeditor/"; oFCKeditor.Height="200"; oFCKeditor.ToolbarSet="Default"; oFCKeditor.ReplaceTextarea() ; </script> I hope this helps someone else. |
Re: Adding the FCKeditor HTML Editor
Hi everyone,
I have installed Phil's FAQ Manager (with the FCK editor included) but have troubles changing the FCK editor to the right path. Right now it's not working because I have it installed in my teststore (in a subfolder of my store). The default install of FAQ manager directs everything to the root. This is the error I am having: The requested URL /fckeditor/editor/fckeditor.html was not found on this server. I found several files with the path to /fckeditor but not the right one. Can anyone help out here? Nico |
Re: Adding the FCKeditor HTML Editor
1 Attachment(s)
Can't seem to get this work, uploaded fckeditor (version 2.6.3) to the root, and modified all the files in post 1 as per Phils instructions. Unfortunately there is nothing showing up when i try to add a product or do anything else. there is only the html editing box, and the fckeditor is not there. Any thoughts, or anything else i can try or check? I'm inserting the code like such in between table and form of each file mentioned
</table> <script type="text/javascript"> var oFCKeditor = new FCKeditor('message[body]'); oFCKeditor.BasePath = "../fckeditor/"; oFCKeditor.Height="200"; oFCKeditor.ToolbarSet="Default"; oFCKeditor.ReplaceTextarea() ; </script> </Form> |
Re: Adding the FCKeditor HTML Editor
X-Cart Development Team should think about and offer it by default editor inside all future versions. This is the best WYSIWYG editor I've ever used. Nice post!
|
Re: Adding the FCKeditor HTML Editor
Quote:
Thanks but this does not work for me in 4.1.8 I get ERROR: Textarea with this id number var_txt_welcome not found in skin1/admin/main/languages.tpl. Cheers |
Re: Adding the FCKeditor HTML Editor
A general problem I have just noticed with this is that how does a client delete unwanted files and images that are loaded up to the userfiles folder - the standard fck file manager does not have that capacity - without purchasing their image manager CKFinder.
Cheers |
All times are GMT -8. The time now is 09:10 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.