Tiny_mce + QC 1.4 works....But....

sundayman

No avatar

2006-10-20 19:26

When i want to upload an image thru the tiny_mce in admin i click on browse and the error shows:

filebrowser callback field_name: src, url: , type: image

I dont know what that is.

I did follow the install instructions, but when coming to:

Step 4. In templates/admin/products_form.tpl, around line 150 you have to delete the following code :
<script type="text/javascript">
<!--
window.onload = function(){
editInit( '$aHtmlConfig[sName]' );
}
//AddOnload( 'checkType' );
//-->
</script>

I dont have that line in my file, i did search 15 times.

Anybody know what to do?

SLawek

No avatar

2006-10-22 22:12

use search it's very good tool ;-)

look what I found :

~znacznik - sorry for that, I forgot to enable JS error reporting when I made my tests, so the js initialization code for old editor remained.
Two steps:
- in templates/admin/products_form.tpl, around line 150 you have to delete the following code :
<script type="text/javascript">
<!--
window.onload = function(){
editInit( '$aHtmlConfig[sName]' );
}
//AddOnload( 'checkType' );
//-->
</script>
- in templates/admin/products_form.tpl, around line 125 you have to delete the following code :
editInit( );

SLawek

No avatar

2006-10-22 23:02

I can tell you that it works try that, I just add it to my shop ;-)

HowTo Install
------------------------------

Step 1. Unzip archive on a folder on your hard disc.
Step 2. Start your FTP program, Login Your shell account, set transfer on server to 'binary' and upload files from HDD as follows:
- 'tiny_mce' folder to 'js/' folder on QC installation
- overwrite file 'htmleditor.php' from 'plugins/edit/' folder with the one provided in release
Step 3. Edit page.tpl from 'templates/admin/'folder on QC installation and somewhere before '</head>' add
the following two lines:
<script language="javascript" type="text/javascript" src="$config[dir_js]tiny_mce/tiny_mce_gzip.php"></script>
<script language="javascript" type="text/javascript" src="$config[dir_js]tiny_mce/tiny_mce_init.js"></script>
Step 4. In templates/admin/products_form.tpl, around line 150 you have to delete the following code :
<script type="text/javascript">
<!--
window.onload = function(){
editInit( '$aHtmlConfig[sName]' );
}
//AddOnload( 'checkType' );
//-->
</script>
Step 5. in templates/admin/categories_form.tpl, around line 125 you have to delete the following code :
editInit( );

Step 6. That's it.







-----------------------------------------------------------
Robert Kubica --> The Next Champ of The World

SLawek

No avatar

2006-10-23 21:41

do you still have prob?







-----------------------------------------------------------
Robert Kubica --> The Next Champ of The World

haha123_0

No avatar

2008-02-11 11:08

not need Step 5.
&#19981;&#38656;&#35201;&#27493;&#39588;5&#30340;&#12290;

Back to top
about us | contact