Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

[Contribution] HTML WYSIWYG Editor for Product Desc, MS1 2.2


Guest

Recommended Posts

  • Replies 557
  • Created
  • Last Reply

Top Posters In This Topic

This from my localhost site.

 

phpmyadmin/config.inc.php

 

Around line 39,

 

$cfg['PmaAbsoluteUri'] = 'http://localhost/phpMyAdmin/';

 

so you would change localhost to your website url www.myweb.com

 

if you upload to your webhosting you will also nee to put in your MySQL database password and user name in this file.

bout line 74-75

 

 

$cfg['Servers'][$i]['host'] = 'localhost'; <--this one should be localhost

$cfg['Servers'][$i]['user'] = 'its_a secret'; // MySQL user

$cfg['Servers'][$i]['password'] = 'not_telling'; // MySQL password (only needed on production servers)

 

 

Cheers Lee

Link to comment
Share on other sites

oliverm

 

Did you replace the OLD HTMLAREA Folder with the new one?,

 

if you still have troubles send me a copy of your categories.php.

 

Cheers Lee

Link to comment
Share on other sites

Hi,

 

very nice work :-)

 

I have a small mistake, I can't maximize the editor window.

 

The new window pops blank up

 

Zeile 94

Zeichen 3

Fehler Objekt erwartet

Code 0

 

site ..... fulscreen.html?products_description(2)

 

Any hint??

 

- I also use the internal CSS tags of OSC like

 

<P class=smallText align=left>Grundpreis pro Liter 2 EUR</P>

 

Could you add a support for that, or is it impossible??? Just a question :-).

 

- Any hints for a very very slow page loading in advanced modus ( 3 languages )

 

Thanks for your help

 

Stefan Fritsche

Link to comment
Share on other sites

Hi kooyan,

 

Your right about the fullscreen editor I will have alook at fixing it tommorow.

 

<P class=smallText align=left>Grundpreis pro Liter 2 EUR</P>
I'll see whats available - could be possible,

 

Any hints for a very very slow page loading in advanced modus ( 3 languages )
sorry not me :-)
Link to comment
Share on other sites

http://www.oscommerce.com/community/contributions,1279

 

I have just fixed the Inlarge Editor Pop-up, Thanks Kooyan

 

 

YES:

I think it takes such a long time because of the three languages right?

 

But its also quite slow on one language, it seems to download all the buttons each time.

 

a suggestion with OsC CSS, how about adding this:

<link rel="stylesheet" type="text/css" href="stylesheet.css">

into admin/htmlarea/popups/fullscreen_basic.html

into admin/htmlarea/popups/fullscreen_advanced.html

 

is seems like a viable idea, I will allow you to use and view the css tags.

you would need to copy stylesheet.ccs into the /popups..

 

its just a suggestion :lol: haven't tested in theaory either.. but I would only work on the enlarged editor...

 

Cheers Lee

Link to comment
Share on other sites

Hi I am still battling on with this contiribution!

I just installed the fx for the full screen editor but the bug for entering tables has reappeared!

I've uploaded it unto a 'real' server now so i'll keep you updated as to the image uploader problem :)

Link to comment
Share on other sites

Thank the Lord!

Ok i was dumb (again - forgive me im new to php :oops: )

Forgot quotes in the file definitions!!!

Ok 99% working still got the problem with the table insertion in basic mode though it's fine in advanced mode.

Other than that all i can say is

WOW

Great job on this contribution!!

Link to comment
Share on other sites

Thanks a lot :-)

a suggestion with OsC CSS, how about adding this:

<link rel="stylesheet" type="text/css" href="stylesheet.css">

into admin/htmlarea/popups/fullscreen_basic.html

into admin/htmlarea/popups/fullscreen_advanced.html

 

is seems like a viable idea, I will allow you to use and view the css tags.

you would need to copy stylesheet.ccs into the /popups..

 

I did like you said. Sorry to tell but for me it is not working :( .

 

I added it to the first lines:

 

<html>

<head><title>Fullscreen Editor</title>

<style type="text/css"> body {	margin: 0px; border: 0px; background-color: buttonface; } </style>

<link rel="stylesheet" type="text/css" href="stylesheet.css"> 

<script>

 

Was this right?

 

Stefan Fritsche

Link to comment
Share on other sites

Ok 99% working still got the problem with the table insertion in basic mode though it's fine in advanced mode.

 

Yes same here, although I think it was solved in the version before.

 

Stefan Fritsche

Link to comment
Share on other sites

Hope you like my bug support :-). Sorry that is the only way I can help you :-).

 

In the fullscreen advanced mode of the enlarged editor I got this message.

 

Zeile 119

Zeichen 3

Fehler Das Objekt unterst?tzt diese Eigenschaft oder diese Methode nicht

Code 0

 

site ..... fulscreen.html?products_description(2)

 

Stefan Fritsche

Link to comment
Share on other sites

nostrodamned and Allwoops:

I just installed the fix for the full screen editor but the bug for entering tables has reappeared!

 

I'll fix this now, new upload will be there soon - wll you need to do is replace the entire HTMLAREA Box, and if you get a confimation to overwrite everything do-it... make a back! LOL.

 

oliverm Got your file.. ok - its all fine, but there is this code from another contribution could be causing problems: line 494

 

<?php if(!$pInfo->products_id){

echo tep_draw_textarea_field('products_description[' . $languages[$i]['id'] . ']', 'soft', '70', '15');

}else{

echo tep_draw_textarea_field('products_description[' . $languages[$i]['id'] . ']', 'soft', '70', '15', tep_get_products_description($pInfo->products_id, $languages[$i]['id']));

}

?>

 

did you have this HTMLAREA working before? you seem to have two referances to products_description in your categories.php could be causing confusion.

 

try the new update replace the whole folder as above.

 

kooyan

I tryed a number of combinations with the classes, but it seems to erase them by itself before the prievew can be done.

 

I will put this on my todo list and try for something later on...

 

Inlarge editor in advanced mode seems to be working for me, try it on the new fix when I get around to fixing it.

 

and this:

The link feature is gone in the 1.6.3 Version .

Link to comment
Share on other sites

OK you had a new solution so I had to test it :-)

 

Looks very good now :D

There is only one tiny problem:

 

The file feature loads the file in the right directory, but if I want to link the file by clicking on the file it generates a link with one slash to much. Where is my failure and how can I fix it?

 

<P><A 

href="http://www.mydomain.com/catalog/download//32.%20html_wysiwyg_v1.6.3.zip" 

target=_blank>32. html_wysiwyg_v1.6.3.zip (180.75 Kb)</A><BR></P>

 

You see after download the //.

 

Stefan Fritsche

 

Thanks a lot

Link to comment
Share on other sites

kooyan

 

I noticed this happens, I tried to changed this but its just gets worse, I found that all my uploaded files still download with double slashed // link,

 

anyway after playing with it, I noticed if you create a new folder, and place the new file or download inside the new folder, it does not have a problem with double slashe's // - so create a new folder with the filemanager program and call it zipfiles for example. It seems rather than have your downloads in the /catalog/download/ folder --> put them in a new subfolder /catalog/download/zipfiles/ just to be on the safe side of the double //'s until I find a REAL Solution... but it works like below:

 

<P><A 

href="http://www.mydomain.com/catalog/download/zipfiles/32.%20html_wysiwyg_v1.6.3.zip" 

target=_blank>32. html_wysiwyg_v1.6.3.zip (180.75 Kb)</A><BR></P>

 

Cheers Lee

Link to comment
Share on other sites

I am having troubles AFTER installation. I can see the HTML area but I can't use any of the features. Any help would be great. If any sections of code need to be posted let me know and I will follow up.

 

Thank you in advance

Mike Snow

Link to comment
Share on other sites

OK heres a quick follow up. I can use the editor in full screen and it work fine, after closing full screen it transfers the code to the window. I can preview and update and things look right. If I go back into edit the decription nothing is in the HTML area box.

 

Thanks

 

Mike Snow

Link to comment
Share on other sites

Hi candlenbath

 

When you hit Back, are you hitting back in your web browser, Internet Explorer or Netscape or are you hitting the osCommerce BACK Button?

 

You should be using the osCommerce BACK Button at the bottom of the preview page.

 

Cheers Lee

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...