This topic is locked

inserting pictures using wysiwyg editor

10/20/2009 10:39:45 PM
PHPRunner General questions
W
wfcentral author

My client wanted me to make a database for them to create a listing of local attractions. I even have it so they can upload a photo, add a phone number, etc.
Now they want me to make it so the description paragraph is wysiwyg so they can make it look however they want (to include inserting images as they wish).
I tried fckeditor and it has an image button on the toolbar, but when you try to upload an image it just goes into wait mode. I looked on their site and there are a lot of cryptic fixes people have tried to make it work.
NEXT...
I tried Innovaeditor... it used to have the ability to insert images... now they took it away and you have to buy their version for $70.
Has anyone else found a way to get a wysiwyg on the phprunner text boxes that allows image uploads?

J
Jane 10/21/2009

Hi,
Both Innova and FCKEditor support images upload however you need to configure it manually.

Also I recommend you to have a look at this article:

http://www.xlinesoft.com/phprunner/docs/rich_text_editor_plugins.htm

W
wfcentral author 10/21/2009

I did read the help file before posting here...
for FCKEditor - as I mentioned... it does not upload... you click on the image button and it pops up a "standby" type window that just sits there for hours... no error, no browser for file window. I went all through fckeditor site and did a search on google... dozens of people have dealt with this since 2006 and there are 20 different ways to try and fix it by digging through many fckeditor files and with people reporting both success and failure.
for Innovaeditor - the version I downloaded from your site does not have the "FOLDER ICON" like it used too... as such, there is no way to upload the image... I will have to search for more info to see if they removed that feature in their free version OR if I just need to enable it somewhere.
You also might look into CKeditor since it is the new FCKeditor and it looks better.



Hi,
Both Innova and FCKEditor support images upload however you need to configure it manually.

Also I recommend you to have a look at this article:

http://www.xlinesoft.com/phprunner/docs/rich_text_editor_plugins.htm

C
chaintm 10/21/2009

http://chicagofuncoupons.com/clmain_list.php (client never paid in full so site not done, but they are using what they did pay for , excample is there)
is a site I built for a client using phprunner, as you can see they can upload the images fine. What I found out with it is the following...
you can...
A: use a speration in your columns and just allow one part to upload a pic with a unique field value... or....

B: If you must use the text enhanced editor for picture purposes, definitly use FCKEditor, make sure you have the following configured correctly...
default location output/plugins/fckeditor/editor/filemanager/connector/php/config.php
should contain...

=================================================================

<?php

/*

  • FCKeditor - The text editor for Internet - http://www.fckeditor.net
  • Copyright (C) 2003-2008 Frederico Caldeira Knabben

    *
  • == BEGIN LICENSE ==

    *
  • Licensed under the terms of any of the following licenses at your
  • choice:

    *
    • GNU General Public License Version 2 or later (the "GPL")


  • http://www.gnu.org/licenses/gpl.html

    *
    • GNU Lesser General Public License Version 2.1 or later (the "LGPL")


  • http://www.gnu.org/licenses/lgpl.html

    *
    • Mozilla Public License Version 1.1 or later (the "MPL")


  • http://www.mozilla.org/MPL/MPL-1.1.html

    *
  • == END LICENSE ==

    *
  • Configuration file for the File Manager Connector for PHP.

    */
    global $Config ;
    // SECURITY: You must explicitly enable this "connector". (Set it to "true").

    // WARNING: don't just set "$Config['Enabled'] = true ;", you must be sure that only

    // authenticated users can access this file or use some kind of session checking.

    $Config['Enabled'] = true ;
    // Path to user files relative to the document root.

    $Config['UserFilesPath'] = '/chicagofuncoupons/output/customtemplates/' ;
    CHANGE THIS LINE THIS IS MY LOC OF TEMPLATES
    I use this location for my images as well, so my folder , customtemplates, holds templates and images.
    --------------------------------------------
    You must upload this everytime you save your project same with templetes, and also you MUST have a folder allready located to accept these files indicated in your path above as I have shown. Now once I exported my project, I changed all that ofcourse, but you get the idea. Hope this solves your issues for image uploading.
    PS> ALSO NOTE: if you are not getting any errors, it is most likly server side permissions for the folder you assigned, as you are allowing users to read/write to a folder. Makes sure those permissions are set correctly, not only the permissions within the project but server side as well.

W
wfcentral author 10/21/2009

thanks for the response... I might try Innovaeditor again since I found on their website that I need to enable it for uploads. I am not ready to try fckEditor again because in firefox the fckEditor toolbars are all messed up... looks like each toolbar button has a border around it and a small white box dead center on every toolbar button... makes it very hard to see what they are.
Thanks again for the support!
Robert